@@ -11,9 +11,11 @@ license = { file = "LICENSE" }
1111authors = [
1212 { name = " Sean Wang" , email = " 126865849+WSH032@users.noreply.github.com" },
1313]
14- description = " HTTP/WebSocket asgi proxy."
14+ description = " HTTP/WebSocket proxy for starlette/FastAPI ."
1515keywords = [
1616 " proxy" ,
17+ " reverse-proxy" ,
18+ " forward-proxy" ,
1719 " http" ,
1820 " websocket" ,
1921 " asgi" ,
@@ -33,23 +35,28 @@ classifiers = [
3335 " Programming Language :: Python :: 3.11" ,
3436 " Programming Language :: Python :: 3.12" ,
3537 " Programming Language :: Python :: 3 :: Only" ,
38+ " Topic :: Internet :: WWW/HTTP :: HTTP Servers" ,
3639 " Topic :: Internet :: WWW/HTTP :: Session" ,
40+ " Environment :: Web Environment" ,
3741 " Framework :: AsyncIO" ,
42+ " Framework :: FastAPI" ,
43+ " Typing :: Typed" ,
3844]
3945
4046dynamic = [" version" ]
4147
48+ # NOTE: version constraints
49+ # https://iscinumpy.dev/post/bound-version-constraints/
50+
4251dependencies = [
43- " httpx < 1.0.0 " , # TODO: Once it releases version 1.0.0, we will remove this restriction.
44- " httpx-ws == 0.4.2" , # NOTE: We use private module of it, so we need to fix the version.
45- " starlette < 1.0.0 " , # TODO: Once it releases version 1.0.0, we will remove this restriction.
46- " typing_extensions >=4.5.0, <5.0.0 " ,
52+ " httpx" ,
53+ " httpx-ws >= 0.4.2" ,
54+ " starlette" ,
55+ " typing_extensions >=4.5.0" ,
4756]
4857
4958[project .optional-dependencies ]
50- standard = [
51- " fastapi < 1.0.0" , # TODO: Once it releases version 1.0.0, we will remove this restriction.
52- ]
59+ standard = [" fastapi" ]
5360all = [" fastapi-proxy-lib[standard]" ]
5461
5562[project .urls ]
@@ -71,7 +78,7 @@ tag_name = "v{new_version}"
7178
7279[tool .hatch .envs .default ]
7380path = " .venv" # for vscode auto selecting python interpreter
74- features = [" all " ]
81+ features = [" standard " ] # NOTE: Don't use Self-referential
7582dependencies = [
7683 # NOTE: 👇
7784 # The versions of `black`, `ruff`, `codespell`, must be consistent with the `.pre-commit-config.yaml`.
@@ -83,7 +90,7 @@ dependencies = [
8390 # NOTE: 👆
8491
8592 # lint-check
86- " pyright == 1.1.332 " , # pyright must be installed in the runtime environment
93+ " pyright == 1.1.338 " , # pyright must be installed in the runtime environment
8794 # test
8895 " pytest == 7.*" ,
8996 " pytest-cov == 4.*" ,
@@ -115,10 +122,10 @@ path = ".venv-docs"
115122detached = true
116123dependencies = [
117124 " mkdocs-material == 9.*" ,
118- " mkdocstrings[python] == 0.24.0 " ,
119- " mkdocs-gen-files == 0.5.0 " ,
120- " mkdocs-literate-nav == 0.6.1 " ,
121- " mkdocs-section-index == 0.3.8 " ,
125+ " mkdocstrings[python] == 0.24.* " ,
126+ " mkdocs-gen-files == 0.5.* " ,
127+ " mkdocs-literate-nav == 0.6.* " ,
128+ " mkdocs-section-index == 0.3.* " ,
122129 " mkdocs-git-revision-date-localized-plugin == 1.*" ,
123130 " mkdocs-git-committers-plugin-2 == 2.*" ,
124131]
0 commit comments