Drop support for Python 3.9

This commit is contained in:
grossmj 2026-03-06 19:03:53 +08:00
parent 5755a48fa3
commit 679c690903
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7
3 changed files with 9 additions and 14 deletions

View File

@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4

View File

@ -10,7 +10,7 @@ authors = [
{ name = "Jeremy Grossmann", email = "developers@gns3.com" }
]
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
@ -21,7 +21,6 @@ classifiers = [
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",

View File

@ -1,26 +1,22 @@
uvicorn==0.39.0; python_version == '3.9' # version 0.39.0 is the last version supporting Python 3.9
uvicorn==0.41.0; python_version >= '3.10'
uvicorn==0.41.0
pydantic==2.12.5
fastapi==0.128.8; python_version == '3.9' # version 0.128.8 is the last version supporting Python 3.9
fastapi==0.133.0; python_version >= '3.10'
python-multipart==0.0.20; python_version == '3.9' # version 0.0.20 is the last to support Python 3.9
python-multipart==0.0.22; python_version >= '3.10'
websockets==15.0.1; python_version == '3.9' # version 15.0.1 is the last to support Python 3.9
websockets==16.0; python_version >= '3.10'
fastapi==0.135.1
python-multipart==0.0.22
websockets==16.0
aiohttp>=3.13.3,<3.14
aiofiles>=25.1.0,<26.0
Jinja2>=3.1.6,<3.2
sentry-sdk>=2.53.0,<3 # optional dependency
sentry-sdk>=2.54.0,<3 # optional dependency
psutil>=7.2.2
async-timeout>=5.0.1,<5.1; python_version < '3.11' # this library has effectively been upstreamed into Python 3.11+
distro>=1.9.0
py-cpuinfo>=9.0.0,<10.0
greenlet==3.3.2; python_version >= '3.13' # necessary to run sqlalchemy on Python >= 3.13
sqlalchemy==2.0.46
sqlalchemy==2.0.48
aiosqlite==0.22.1
alembic==1.15.2
bcrypt==5.0.0
joserfc==1.6.2
joserfc==1.6.3
email-validator==2.3.0
watchdog==6.0.0
zstandard==0.25.0