Browse Source

⬆️ Upgrade Starlette supported version range to >=0.40.0, <0.52.0

This bump is necessary to allow using `allow_private_network` in `CORSMiddleware`, which was introduced in Starlette 0.51.0.
pull/14858/head
Guilherme Lacerda 5 months ago
parent
commit
77d51280ff
  1. 2
      pyproject.toml

2
pyproject.toml

@ -43,7 +43,7 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
] ]
dependencies = [ dependencies = [
"starlette>=0.40.0,<0.51.0", "starlette>=0.40.0,<0.52.0",
"pydantic>=2.7.0", "pydantic>=2.7.0",
"typing-extensions>=4.8.0", "typing-extensions>=4.8.0",
"typing-inspection>=0.4.2", "typing-inspection>=0.4.2",

Loading…
Cancel
Save