@@ -13,12 +13,12 @@ readme = "README.md"
1313keywords = [" React" , " ReactJS" , " ReactPy" , " components" ]
1414license = " MIT"
1515authors = [{ name = " Mark Bakhit" , email = " archiethemonger@gmail.com" }]
16- requires-python = " >=3.9 "
16+ requires-python = " >=3.11 "
1717classifiers = [
18- " Programming Language :: Python :: 3.9" ,
19- " Programming Language :: Python :: 3.10" ,
2018 " Programming Language :: Python :: 3.11" ,
2119 " Programming Language :: Python :: 3.12" ,
20+ " Programming Language :: Python :: 3.13" ,
21+ " Programming Language :: Python :: 3.14" ,
2222 " Operating System :: OS Independent" ,
2323 " Intended Audience :: Developers" ,
2424 " Intended Audience :: Science/Research" ,
@@ -29,7 +29,7 @@ classifiers = [
2929 " Typing :: Typed" ,
3030]
3131dependencies = [
32- " reactpy[asgi]>=2.0.0b10, <3.0.0" ,
32+ " reactpy[asgi]>=2.0.0b10, <3.0.0" ,
3333 " typing_extensions" ,
3434 " jsonpointer==3.*" ,
3535]
@@ -50,6 +50,7 @@ artifacts = ["/src/reactpy_router/static/"]
5050
5151[tool .hatch .metadata ]
5252license-files = { paths = [" LICENSE.md" ] }
53+ allow-direct-references = true
5354
5455[tool .hatch .envs .default ]
5556installer = " uv"
@@ -77,16 +78,16 @@ extra-dependencies = [
7778 " orjson" ,
7879]
7980randomize = true
80- matrix-name-format = " {variable}-{value}"
8181
8282[[tool .hatch .envs .hatch-test .matrix ]]
83- python = [" 3.9 " , " 3.10 " , " 3.11 " , " 3.12 " ]
83+ python = [" 3.11 " , " 3.12 " , " 3.13 " , " 3.14 " ]
8484
8585[tool .pytest .ini_options ]
86- addopts = """ \
87- --strict-config
88- --strict-markers
89- """
86+ addopts = [" --strict-config" , " --strict-markers" ]
87+ filterwarnings = """
88+ ignore::DeprecationWarning:uvicorn.*
89+ ignore::DeprecationWarning:websockets.*
90+ """
9091
9192# ######################################
9293# >>> Hatch Documentation Scripts <<< #
@@ -137,6 +138,10 @@ type_check = ["pyright src"]
137138detached = true
138139
139140[tool .hatch .envs .javascript .scripts ]
141+ build = [
142+ ' bun install --cwd "src/js"' ,
143+ ' bun build "src/js/src/index.ts" --outfile "src/reactpy_router/static/bundle.js" --minify' ,
144+ ]
140145check = [' bun install --cwd "src/js"' , ' bun run --cwd "src/js" check' ]
141146fix = [' bun install --cwd "src/js"' , ' bun run --cwd "src/js" format' ]
142147
0 commit comments