From 95a4c284bcf7026dd3271cb73e650a155ba6cea6 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 22 Jul 2024 19:07:17 +0200 Subject: [PATCH 1/3] Update IOU base configs to use "no ip domain lookup". Fixes #2404 --- gns3server/configs/iou_l2_base_startup-config.txt | 2 +- gns3server/configs/iou_l3_base_startup-config.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/configs/iou_l2_base_startup-config.txt b/gns3server/configs/iou_l2_base_startup-config.txt index 4a09db82..0ce9f365 100644 --- a/gns3server/configs/iou_l2_base_startup-config.txt +++ b/gns3server/configs/iou_l2_base_startup-config.txt @@ -15,7 +15,7 @@ no ip icmp rate-limit unreachable ! ! due to some bugs with IOU, try to change the following line to 'ip cef' if your routing does not work no ip cef -no ip domain-lookup +no ip domain lookup ! ! ! diff --git a/gns3server/configs/iou_l3_base_startup-config.txt b/gns3server/configs/iou_l3_base_startup-config.txt index 67628f77..2706875d 100644 --- a/gns3server/configs/iou_l3_base_startup-config.txt +++ b/gns3server/configs/iou_l3_base_startup-config.txt @@ -14,7 +14,7 @@ no ip icmp rate-limit unreachable ! ! due to some bugs with IOU, try to change the following line to 'ip cef' if your routing does not work no ip cef -no ip domain-lookup +no ip domain lookup ! ! ip tcp synwait-time 5 From 8889eaa439ef393aaa604a0fdf9ad0ae5a360d6a Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 3 Aug 2024 12:32:06 +0200 Subject: [PATCH 2/3] Upgrade jsonschema and sentry-sdk packages --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 47ff9e8c..829a7733 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -jsonschema>=4.22.0,<4.23 +jsonschema>=4.23,<4.24 aiohttp>=3.9.5,<3.10 aiohttp-cors>=0.7.0,<0.8 aiofiles>=24.1.0,<25.0 Jinja2>=3.1.4,<3.2 -sentry-sdk==2.7.1,<2.8 +sentry-sdk==2.12,<2.13 psutil==6.0.0 async-timeout>=4.0.3,<4.1 distro>=1.9.0 From 6746ef39be65c1878b6b4c9167a0daef0fc542dc Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 3 Aug 2024 12:32:43 +0200 Subject: [PATCH 3/3] Upgrade development packages --- dev-requirements.txt | 8 ++++---- setup.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 58b361a2..c4046899 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,6 +1,6 @@ -rrequirements.txt -pytest==7.2.0 -flake8==5.0.4 -pytest-timeout==2.1.0 -pytest-aiohttp==1.0.4 +pytest==8.3.2 +flake8==7.1.0 +pytest-timeout==2.3.1 +pytest-aiohttp==1.0.5 diff --git a/setup.py b/setup.py index b35ad99e..034335d8 100644 --- a/setup.py +++ b/setup.py @@ -23,9 +23,9 @@ import subprocess 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): @@ -67,7 +67,7 @@ setup( include_package_data=True, zip_safe=False, platforms="any", - python_requires='>=3.7', + python_requires='>=3.8', setup_requires=["setuptools>=17.1"], classifiers=[ "Development Status :: 5 - Production/Stable",