]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal...
authorRafael Barbosa <106251929+nothielf@users.noreply.github.com>
Tue, 2 Apr 2024 02:28:39 +0000 (23:28 -0300)
committerGitHub <noreply@github.com>
Tue, 2 Apr 2024 02:28:39 +0000 (21:28 -0500)
pyproject.toml

index c3801600a16d470249d15a604183bf6e87395f11..6c3bebf2bc46a7e85982966be292b386d284bae6 100644 (file)
@@ -41,7 +41,7 @@ classifiers = [
     "Topic :: Internet :: WWW/HTTP",
 ]
 dependencies = [
-    "starlette>=0.36.3,<0.37.0",
+    "starlette>=0.37.2,<0.38.0",
     "pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0",
     "typing-extensions>=4.8.0",
 ]
@@ -121,9 +121,6 @@ filterwarnings = [
     #   - https://github.com/mpdavis/python-jose/issues/332
     #   - https://github.com/mpdavis/python-jose/issues/334
     'ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\..*:DeprecationWarning:jose',
-    # TODO: remove after upgrading Starlette to a version including https://github.com/encode/starlette/pull/2406
-    # Probably Starlette 0.36.0
-    "ignore: The 'method' parameter is not used, and it will be removed.:DeprecationWarning:starlette",
 ]
 
 [tool.coverage.run]