Skip to content

Commit aca6449

Browse files
committed
uv build fixes (#4968)
* uv build fixes * relax back pyright * get latest pyright
1 parent 19c2642 commit aca6449

File tree

2 files changed

+48
-38
lines changed

2 files changed

+48
-38
lines changed

pyproject.toml

Lines changed: 45 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,62 @@
22
name = "reflex"
33
version = "0.7.3a1"
44
description = "Web apps in pure Python."
5-
license = "Apache-2.0"
5+
license = { text = "Apache-2.0" }
66
authors = [
77
{ name = "Nikhil Rao", email = "[email protected]" },
88
{ name = "Alek Petuskey", email = "[email protected]" },
99
{ name = "Masen Furer", email = "[email protected]" },
10-
{ name = "Elijah Ahianyo" },
11-
{ name = "Thomas Brandého", email = "[email protected]" },
10+
{ name = "Elijah Ahianyo", email = "[email protected]" },
11+
{ name = "Thomas Brandeho", email = "[email protected]" },
1212
{ name = "Khaleel Al-Adhami", email = "[email protected]" },
1313
]
1414
maintainers = [
1515
{ name = "Masen Furer", email = "[email protected]" },
16-
{ name = "Thomas Brandého", email = "[email protected]" },
16+
{ name = "Thomas Brandeho", email = "[email protected]" },
1717
{ name = "Khaleel Al-Adhami", email = "[email protected]" },
1818
]
1919
readme = "README.md"
2020
keywords = ["web", "framework"]
21-
requires-python = "<4.0,>=3.10"
21+
requires-python = ">=3.10,<4.0"
2222
dependencies = [
23+
"alembic >=1.11.1,<2.0",
24+
"build >=1.0.3,<2.0",
25+
"charset-normalizer >=3.3.2,<4.0",
26+
"distro >=1.8.0,<2.0; platform_system == 'Linux'",
2327
"fastapi >=0.96.0,!=0.111.0,!=0.111.1",
2428
"gunicorn >=20.1.0,<24.0",
29+
"httpx >=0.25.1,<1.0",
2530
"jinja2 >=3.1.2,<4.0",
31+
"lazy_loader >=0.4",
32+
"packaging >=23.1,<25.0",
33+
"platformdirs >=3.10.0,<5.0",
2634
"psutil >=5.9.4,<8.0",
2735
"pydantic >=1.10.21,<3.0",
36+
"python-engineio !=4.6.0",
2837
"python-multipart >=0.0.5,<0.1",
2938
"python-socketio >=5.7.0,<6.0",
3039
"redis >=4.3.5,<6.0",
40+
"reflex-hosting-cli >=0.1.29",
3141
"rich >=13.0.0,<14.0",
42+
"setuptools >=75.0",
43+
"starlette-admin >=0.11.0,<1.0",
3244
"sqlmodel >=0.0.14,<0.1",
45+
"tomlkit >=0.12.4,<1.0",
46+
"twine >=4.0.0,<7.0",
3347
"typer >=0.15.1,<1.0",
48+
"typing_extensions >=4.6.0",
3449
"uvicorn >=0.20.0",
35-
"starlette-admin >=0.11.0,<1.0",
36-
"alembic >=1.11.1,<2.0",
37-
"platformdirs >=3.10.0,<5.0",
38-
"distro >=1.8.0,<2.0; platform_system == 'Linux'",
39-
"python-engineio !=4.6.0",
40-
"wrapt >=1.17.0,<2.0",
41-
"packaging >=23.1,<25.0",
42-
"reflex-hosting-cli >=0.1.29",
43-
"charset-normalizer >=3.3.2,<4.0",
4450
"wheel >=0.42.0,<1.0",
45-
"build >=1.0.3,<2.0",
46-
"setuptools >=75.0",
47-
"httpx >=0.25.1,<1.0",
48-
"twine >=4.0.0,<7.0",
49-
"tomlkit >=0.12.4,<1.0",
50-
"lazy_loader >=0.4",
51-
"typing_extensions >=4.6.0",
51+
"wrapt >=1.17.0,<2.0",
52+
]
53+
classifiers = [
54+
"Development Status :: 4 - Beta",
55+
"License :: OSI Approved :: Apache Software License",
56+
"Programming Language :: Python :: 3",
57+
"Programming Language :: Python :: 3.10",
58+
"Programming Language :: Python :: 3.11",
59+
"Programming Language :: Python :: 3.12",
60+
"Programming Language :: Python :: 3.13",
5261
]
5362

5463

@@ -60,12 +69,12 @@ documentation = "https://reflex.dev/docs/getting-started/introduction"
6069
[project.scripts]
6170
reflex = "reflex.reflex:cli"
6271

63-
64-
[tool.pdm.build]
65-
includes = []
6672
[build-system]
67-
requires = ["pdm-backend"]
68-
build-backend = "pdm.backend"
73+
requires = ["hatchling"]
74+
build-backend = "hatchling.build"
75+
76+
[tool.hatch.build]
77+
include = ["reflex"]
6978

7079
[tool.pyright]
7180
reportIncompatibleMethodOverride = false
@@ -131,25 +140,25 @@ dev = [
131140
"asynctest >=0.13.0,<1.0",
132141
"darglint >=1.8.1,<2.0",
133142
"dill >=0.3.8",
143+
"granian[reload] >= 2.0.0",
144+
"numpy >=2.2.3,<3.0",
134145
"pandas >=2.1.1,<3.0",
135146
"pillow >=10.0.0,<12.0",
136147
"playwright >=1.46.0",
137148
"plotly >=5.13.0,<6.0",
138-
"pre-commit >=3.2.1",
139-
"pyright >=1.1.394,<1.2",
149+
"pre-commit >=4.1.0,<5.0",
150+
"psycopg[binary] >=3.2.6,<4.0",
151+
"pyright >=1.1.396,<1.2",
140152
"pytest >=7.1.2,<9.0",
141153
"pytest-asyncio >=0.24.0",
142-
"pytest-mock >=3.10.0,<4.0",
143-
"pytest-cov >=4.0.0,<7.0",
144154
"pytest-benchmark >=4.0.0,<6.0",
145-
"pytest-playwright >=0.5.1",
146155
"pytest-codspeed >=3.1.2,<4.0.0",
156+
"pytest-cov >=4.0.0,<7.0",
157+
"pytest-mock >=3.10.0,<4.0",
158+
"pytest-playwright >=0.5.1",
159+
"pytest-retry >=1.7.0,<2.0",
160+
"pytest-split >=0.10.0,<1.0",
147161
"ruff ==0.9.10",
148162
"selenium >=4.11.0,<5.0",
149163
"toml >=0.10.2,<1.0",
150-
"granian[reload] >= 2.0.0",
151-
"psycopg[binary] >=3.2.6,<4.0",
152-
"pytest-split >=0.10.0,<1.0",
153-
"pytest-retry >=1.7.0,<2.0",
154-
"pre-commit >=4.1.0,<5.0",
155164
]

uv.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)