From 1a5d06998dfdda92b43ec1ba52488732ff1aa115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Vu=C4=8Dica?= Date: Tue, 17 Sep 2024 16:19:33 +0200 Subject: [PATCH] setup.py, workflows: Require at least Python 3.9. * Typing issues have been long-standing due to divergence between Python version used in different environments and are unlikely to be addressed enough to bring Capirca back to 3.6 compatibility. Even 3.8 is failing right now. * Currenly, Python 3.6 and 3.7 are EOL, and 3.8-3.11 are receiving security fixes. At least dropping 3.6 and 3.7 makes sense at this point. --- .github/workflows/main.yml | 4 ++-- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0cb9ab3..5bcbcc44 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,10 @@ jobs: strategy: fail-fast: true matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.9] include: - os-version: ubuntu-latest - - python-version: 3.6 + - python-version: 3.9 os-version: ubuntu-20.04 runs-on: ${{ matrix.os-version }} diff --git a/setup.py b/setup.py index fbccd88c..3d6548d7 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.9', 'Topic :: Security', 'Topic :: System :: Networking :: Firewalls', ], @@ -56,5 +56,5 @@ 'six', 'PyYAML', ], - python_requires='>=3.6', + python_requires='>=3.9', )