From c4d716b7dc4a5aeb46ffa0fae5caeac29f123536 Mon Sep 17 00:00:00 2001 From: Midnighter Date: Sat, 26 Aug 2023 22:39:18 +0200 Subject: [PATCH 1/2] chore: drop suppport for Python 3.7 --- .github/workflows/main.yml | 2 +- .github/workflows/safety.yml | 2 +- setup.cfg | 1 - tox.ini | 6 ++---- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 622e1a6b7..6f97e4849 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] timeout-minutes: 360 steps: diff --git a/.github/workflows/safety.yml b/.github/workflows/safety.yml index 09877e684..e1135526e 100644 --- a/.github/workflows/safety.yml +++ b/.github/workflows/safety.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] timeout-minutes: 120 steps: diff --git a/setup.cfg b/setup.cfg index 514735c3b..35db26e53 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,6 @@ classifiers = License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) Natural Language :: English Operating System :: OS Independent - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 diff --git a/tox.ini b/tox.ini index 40e321e8f..98c42092e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,8 @@ [tox] -envlist = isort, black, flake8, safety, py3{7,8,9,10,11}, coverage +envlist = isort, black, flake8, safety, py3{8,9,10,11}, coverage [gh-actions] python = - 3.6: install, py36 - 3.7: install, py37 3.8: install, py38 3.9: install, py39 3.10: install, py310, coverage @@ -65,7 +63,7 @@ commands= deps= safety commands= - safety check --full-report --ignore 43453 --ignore 44715 --ignore 44716 --ignore 44717 + safety check --full-report [testenv:install] skip_install = True From d910a41c8d411e1c589d283ee679352ffd430f71 Mon Sep 17 00:00:00 2001 From: Midnighter Date: Sat, 26 Aug 2023 22:45:17 +0200 Subject: [PATCH 2/2] fix: enable safety on 3.8 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 98c42092e..a10197e30 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = isort, black, flake8, safety, py3{8,9,10,11}, coverage [gh-actions] python = - 3.8: install, py38 + 3.8: install, safety, py38 3.9: install, py39 3.10: install, py310, coverage 3.11: install, py311