Upgrade development packages

This commit is contained in:
grossmj
2024-08-03 12:32:43 +02:00
parent 42ea34ca6c
commit 47432568e6
3 changed files with 8 additions and 9 deletions

View File

@@ -1,5 +1,4 @@
-rrequirements.txt
pytest==7.2.0
flake8==5.0.4
pytest-timeout==2.1.0
pytest==8.3.2
pytest-timeout==2.3.1

View File

@@ -1,5 +1,5 @@
jsonschema>=4.23.0,<4.24
sentry-sdk==2.12.0,<2.13
jsonschema>=4.23,<4.24
sentry-sdk==2.12,<2.13
psutil==6.0.0
distro>=1.9.0
truststore>=0.9.1; python_version >= '3.10'

View File

@@ -19,9 +19,9 @@ import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
# we only support Python 3 version >= 3.7
if len(sys.argv) >= 2 and sys.argv[1] == "install" and sys.version_info < (3, 7):
raise SystemExit("Python 3.7 or higher is required")
# we only support Python 3 version >= 3.8
if len(sys.argv) >= 2 and sys.argv[1] == "install" and sys.version_info < (3, 8):
raise SystemExit("Python 3.8 or higher is required")
class PyTest(TestCommand):
@@ -79,7 +79,7 @@ setup(
include_package_data=True,
package_data={"gns3": ["configs/*.txt", "schemas/*.json"]},
platforms="any",
python_requires='>=3.7',
python_requires='>=3.8',
setup_requires=["setuptools>=17.1"],
classifiers=[
"Development Status :: 5 - Production/Stable",