]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
⬆️ Add support for Python 3.13 (#13274)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 29 Jan 2025 18:02:27 +0000 (18:02 +0000)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2025 18:02:27 +0000 (18:02 +0000)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
.github/workflows/test.yml
pyproject.toml

index 793e789e21ecfa9c183c0a27d4483fb15813f4cd..5e8092641cc280b388b6b1e8445e13a790172d41 100644 (file)
@@ -48,6 +48,7 @@ jobs:
     strategy:
       matrix:
         python-version:
+          - "3.13"
           - "3.12"
           - "3.11"
           - "3.10"
index 381eb50bfbfee88c7c3c651df22fc5264ce4ea6c..51d63fd4481543fdd3e3982455c2a8c8518b4c75 100644 (file)
@@ -38,6 +38,7 @@ classifiers = [
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13",
     "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
     "Topic :: Internet :: WWW/HTTP",
 ]
@@ -162,6 +163,8 @@ filterwarnings = [
     # Ref: https://github.com/python-trio/trio/pull/3054
     # Remove once there's a new version of Trio
     'ignore:The `hash` argument is deprecated*:DeprecationWarning:trio',
+    # Ignore flaky coverage / pytest warning about SQLite connection, only applies to Python 3.13 and Pydantic v1
+    'ignore:Exception ignored in. <sqlite3\.Connection object.*:pytest.PytestUnraisableExceptionWarning',
 ]
 
 [tool.coverage.run]