From fa67076e2ffb1339f67f3892c96889045f111c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=20Pfl=C3=BCger?= Date: Mon, 13 Nov 2023 16:39:03 +0100 Subject: [PATCH] feat: python 3.12 support --- .github/workflows/ci.yml | 2 +- CONTRIBUTING.rst | 2 +- setup.cfg | 5 ++--- tox.ini | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d92730c..8ef83a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + python-version: [3.9, "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c2c27de..1ad0294 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -96,7 +96,7 @@ Before you submit a pull request, check that it meets these guidelines: 2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst. -3. The pull request should work for Python 3.7, 3.8, 3.9, 3.10, and 3.11. +3. The pull request should work for Python 3.9, 3.10, 3.11, and 3.12. Deploying diff --git a/setup.cfg b/setup.cfg index 2c8d10a..5cf89c6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,11 +16,10 @@ classifiers = License :: OSI Approved :: Apache Software License 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 license = Apache Software License 2.0 license_files = LICENSE @@ -28,7 +27,7 @@ license_files = LICENSE packages = unfccc_di_api unfccc_di_api.tests -python_requires = >=3.7 +python_requires = >=3.9 setup_requires = setuptools_scm install_requires = diff --git a/tox.ini b/tox.ini index f0dc540..17c57b6 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py37, py38, py39, py310, py311 +envlist = py39, py310, py311, py312 [testenv] deps =