From ee9f7d796f2861ba38fb8170a03a0d62d8c55a18 Mon Sep 17 00:00:00 2001 From: dreamer Date: Fri, 27 Oct 2023 14:52:46 +0200 Subject: [PATCH] deprecate py37; enable py312 --- .github/workflows/build.yml | 2 +- README.md | 2 +- setup.cfg | 4 ++-- tox.ini | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c046aeaa..c4cba931 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: 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@v3 diff --git a/README.md b/README.md index 481ecc09..f1063d12 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ It has since then been expanded to provide further support for many different pl ## Requirements -* python 3.7 or higher +* python 3.8 or higher * `jinja2` (for generator templating) * `importlib_resources` (for reading static resources) * `json2daisy` (for daisy integration) diff --git a/setup.cfg b/setup.cfg index 1d7d6106..8e002415 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,16 +11,16 @@ classifiers = Intended Audience :: Developers Topic :: Software Development :: Compilers License :: OSI Approved :: GNU General Public License v3 (GPLv3) - 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 [options] include_package_data = True packages = find: -python_requires = >= 3.7 +python_requires = >= 3.8 install_requires = Jinja2>=2.11 importlib_resources>=5.1 diff --git a/tox.ini b/tox.ini index 674d11fa..812a253b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,15 @@ ; Tox config [tox] -envlist = flake8, mypy, py37, py38, py39, py310, py311 +envlist = flake8, mypy, py38, py39, py310, py311, py312 skipsdist = true [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: flake8, mypy, py311 + 3.12: py312 ; Test config [testenv]