From d3854afc03ee0e0831b22414d1fb6db719f4575b Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sun, 18 Aug 2024 17:02:33 +0200 Subject: [PATCH] Add suport for 3.12, drop support for 3.7 --- .github/workflows/tox.yml | 2 +- setup.py | 2 +- tox.ini | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 3e545f9..f920bc4 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -10,7 +10,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index de73558..3b7ea24 100644 --- a/setup.py +++ b/setup.py @@ -93,11 +93,11 @@ def get_var(var_name): 'Topic :: Software Development :: Testing', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], test_suite=TEST_DIR, tests_require=test_requirements diff --git a/tox.ini b/tox.ini index 68a3be0..9c6d4f5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,16 @@ # TODO: implement doc linting [tox] -envlist = py{37,38,39,310,311}-lint, py37-lintdocstrings, py37-lintreadme, py{37,38,39,310,311}-mypy, py{37,38,39,310,311}-unit +envlist = py{38,39,310,311,312}-lint, py38-lintdocstrings, py38-lintreadme, py{38,39,310,311,312}-mypy, py{38,39,310,311,312}-unit source_dir = gxformat2 test_dir = tests [gh-actions] python = - 3.7: py37-unit, py37-mypy, py37-lint, py37-lintdocs, py37-lintdocstrings - 3.8: py38-unit, py38-mypy + 3.8: py38-unit, py38-mypy, py38-lint, py38-lintdocs, py39-lintdocstrings 3.9: py39-unit, py39-mypy 3.10: py310-unit, py310-mypy - 3.11: py311-unit, py311-mypy, py311-lint, py311-lintdocs + 3.11: py311-unit, py311-mypy + 3.12: py312-unit, py312-mypy, py312-lint, py312-lintdocs [testenv] commands =