mirror of https://github.com/tiangolo/fastapi.git
⬆️ Add support for Python 3.13 (#13274)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
eab0653a34
commit
bd106fc750
|
|
@ -48,6 +48,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
|
- "3.13"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
||||||
"Topic :: Internet :: WWW/HTTP",
|
"Topic :: Internet :: WWW/HTTP",
|
||||||
]
|
]
|
||||||
|
|
@ -162,6 +163,8 @@ filterwarnings = [
|
||||||
# Ref: https://github.com/python-trio/trio/pull/3054
|
# Ref: https://github.com/python-trio/trio/pull/3054
|
||||||
# Remove once there's a new version of Trio
|
# Remove once there's a new version of Trio
|
||||||
'ignore:The `hash` argument is deprecated*:DeprecationWarning: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]
|
[tool.coverage.run]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue