1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-16 05:18:56 +00:00

Merge branch '3.0' into fix/1468

This commit is contained in:
Jeremy Grossmann 2023-10-22 15:44:25 +10:00 committed by GitHub
commit 9c369a2597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 16 deletions

View File

@ -17,7 +17,7 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] python-version: ["3.8", "3.9", "3.10", "3.11"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -1,8 +1,7 @@
pytest==7.4.0 pytest==7.4.2
flake8==5.0.4 # v5.0.4 is the last to support Python 3.7 flake8==6.1.0
pytest-timeout==2.1.0 pytest-timeout==2.2.0
pytest-asyncio==0.21.1 pytest-asyncio==0.21.1
requests==2.31.0 requests==2.31.0
httpx==0.24.1 httpx==0.25.0
httpx-ws==0.3.1; python_version <= '3.7' httpx_ws==0.4.2
httpx_ws==0.4.2; python_version > '3.7'

View File

@ -267,9 +267,9 @@ class Server:
else: else:
log.info(f"Compute authentication is enabled with username '{config.Server.compute_username}'") log.info(f"Compute authentication is enabled with username '{config.Server.compute_username}'")
# we only support Python 3 version >= 3.7 # we only support Python 3 version >= 3.8
if sys.version_info < (3, 7, 0): if sys.version_info < (3, 8, 0):
raise SystemExit("Python 3.7 or higher is required") raise SystemExit("Python 3.8 or higher is required")
log.info( log.info(
"Running with Python {major}.{minor}.{micro} and has PID {pid}".format( "Running with Python {major}.{minor}.{micro} and has PID {pid}".format(

View File

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

View File

@ -1,7 +1,7 @@
uvicorn==0.22.0 # v0.22.0 is the last to support Python 3.7 uvicorn==0.23.2
fastapi==0.103.2 fastapi==0.104.0
python-multipart==0.0.6 python-multipart==0.0.6
websockets==11.0.3 websockets==12.0
aiohttp==3.8.6,<3.9 aiohttp==3.8.6,<3.9
async-timeout==4.0.3 async-timeout==4.0.3
aiofiles==23.2.1 aiofiles==23.2.1
@ -16,7 +16,7 @@ alembic==1.12.0
passlib[bcrypt]==1.7.4 passlib[bcrypt]==1.7.4
python-jose==3.3.0 python-jose==3.3.0
email-validator==2.0.0.post2 email-validator==2.0.0.post2
watchfiles==0.20.0 # v0.20.0 is the last to support Python 3.7 watchfiles==0.21.0
zstandard==0.21.0 zstandard==0.21.0
platformdirs==3.11.0 platformdirs==3.11.0
importlib-resources>=1.3; python_version <= '3.9' importlib-resources>=1.3; python_version <= '3.9'