
* Revert "ruff formatting to unbreak `main` CI (#3964)" This reverts commitf9be184b86
. * Revert "bump python>=3.10 for 0.6.0 (#3956)" This reverts commitfe1833c5e1
. * drop python3.8 support * relock dependencies * Raise warning when < py310 is used * Move python version check to reflex version check function Avoid spammy deprecation warnings by only emitting warning once per project, per reflex version, per reinit. * Remove other references to python3.8
102 lines
2.7 KiB
TOML
102 lines
2.7 KiB
TOML
[tool.poetry]
|
|
name = "reflex"
|
|
version = "0.6.0a1"
|
|
description = "Web apps in pure Python."
|
|
license = "Apache-2.0"
|
|
authors = [
|
|
"Nikhil Rao <nikhil@reflex.dev>",
|
|
"Alek Petuskey <alek@reflex.dev>",
|
|
"Masen Furer <masen@reflex.dev>",
|
|
"Elijah Ahianyo <elijah@reflex.dev>",
|
|
"Thomas Brandého <thomas@reflex.dev>",
|
|
]
|
|
readme = "README.md"
|
|
homepage = "https://reflex.dev"
|
|
repository = "https://github.com/reflex-dev/reflex"
|
|
documentation = "https://reflex.dev/docs/getting-started/introduction"
|
|
keywords = [
|
|
"web",
|
|
"framework",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
]
|
|
packages = [
|
|
{include = "reflex"}
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9"
|
|
dill = ">=0.3.8,<0.4"
|
|
fastapi = ">=0.96.0,!=0.111.0,!=0.111.1"
|
|
gunicorn = ">=20.1.0,<24.0"
|
|
jinja2 = ">=3.1.2,<4.0"
|
|
psutil = ">=5.9.4,<7.0"
|
|
pydantic = ">=1.10.2,<3.0"
|
|
python-multipart = ">=0.0.5,<0.1"
|
|
python-socketio = ">=5.7.0,<6.0"
|
|
redis = ">=4.3.5,<6.0"
|
|
rich = ">=13.0.0,<14.0"
|
|
sqlmodel = ">=0.0.14,<0.1"
|
|
typer = ">=0.4.2,<1.0"
|
|
uvicorn = ">=0.20.0"
|
|
starlette-admin = ">=0.11.0,<1.0"
|
|
alembic = ">=1.11.1,<2.0"
|
|
platformdirs = ">=3.10.0,<5.0"
|
|
distro = {version = ">=1.8.0,<2.0", platform = "linux"}
|
|
python-engineio = "!=4.6.0"
|
|
wrapt = [
|
|
{version = ">=1.14.0,<2.0", python = ">=3.11"},
|
|
{version = ">=1.11.0,<2.0", python = "<3.11"},
|
|
]
|
|
packaging = ">=23.1,<25.0"
|
|
reflex-hosting-cli = ">=0.1.2,<2.0"
|
|
charset-normalizer = ">=3.3.2,<4.0"
|
|
wheel = ">=0.42.0,<1.0"
|
|
build = ">=1.0.3,<2.0"
|
|
setuptools = ">=69.1.1,<70.2"
|
|
httpx = ">=0.25.1,<1.0"
|
|
twine = ">=4.0.0,<6.0"
|
|
tomlkit = ">=0.12.4,<1.0"
|
|
lazy_loader = ">=0.4"
|
|
reflex-chakra = ">=0.6.0a6"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = ">=7.1.2,<8.0"
|
|
pytest-mock = ">=3.10.0,<4.0"
|
|
pyright = ">=1.1.229,<1.1.335"
|
|
darglint = ">=1.8.1,<2.0"
|
|
toml = ">=0.10.2,<1.0"
|
|
pytest-asyncio = ">=0.20.1,<0.22.0" # https://github.com/pytest-dev/pytest-asyncio/issues/706
|
|
pytest-cov = ">=4.0.0,<5.0"
|
|
ruff = "^0.4.9"
|
|
pandas = ">=2.1.1,<3.0"
|
|
pillow = ">=10.0.0,<11.0"
|
|
plotly = ">=5.13.0,<6.0"
|
|
asynctest = ">=0.13.0,<1.0"
|
|
pre-commit = ">=3.2.1"
|
|
selenium = ">=4.11.0,<5.0"
|
|
pytest-benchmark = ">=4.0.0,<5.0"
|
|
|
|
[tool.poetry.scripts]
|
|
reflex = "reflex.reflex:cli"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.5.1"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pyright]
|
|
|
|
[tool.ruff]
|
|
target-version = "py39"
|
|
lint.select = ["B", "D", "E", "F", "I", "SIM", "W"]
|
|
lint.ignore = ["B008", "D203", "D205", "D213", "D401", "D406", "D407", "E501", "F403", "F405", "F541"]
|
|
lint.pydocstyle.convention = "google"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|
|
"tests/*.py" = ["D100", "D103", "D104", "B018"]
|
|
"reflex/.templates/*.py" = ["D100", "D103", "D104"]
|
|
"*.pyi" = ["D301", "D415", "D417", "D418", "E742"]
|
|
"*/blank.py" = ["I001"]
|