From 4ad8c3f3ee516984474e74c4b7e5999d057193a7 Mon Sep 17 00:00:00 2001 From: ale-rt Date: Sun, 17 Dec 2023 22:57:23 +0100 Subject: [PATCH] Declare support for Python 3.12 --- .github/workflows/tests.yml | 1 + HISTORY.md | 3 +- requirements.d/requirements-dev.txt | 70 +++++++++++++---------------- setup.py | 1 + tox.ini | 4 +- 5 files changed, 39 insertions(+), 40 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bdc3a1c..01035ec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/HISTORY.md b/HISTORY.md index b2782cf..c3a6a0f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,7 +3,8 @@ ## 3.1.1 (unreleased) -- Nothing changed yet. +- Declare support for Python 3.12 + [ale-rt] ## 3.1.0 (2023-06-30) diff --git a/requirements.d/requirements-dev.txt b/requirements.d/requirements-dev.txt index b3c7090..aab8738 100644 --- a/requirements.d/requirements-dev.txt +++ b/requirements.d/requirements-dev.txt @@ -1,60 +1,54 @@ -attrs==22.2.0 -beautifulsoup4==4.11.2 +beautifulsoup4==4.12.2 bleach==6.0.0 build==0.10.0 -certifi==2023.7.22 +certifi==2023.5.7 cffi==1.15.1 -cfgv==3.3.1 -charset-normalizer==3.0.1 +cfgv==3.4.0 +charset-normalizer==3.1.0 check-manifest==0.49 colorama==0.4.6 -coverage==7.1.0 -cryptography==41.0.6 -distlib==0.3.6 +coverage==7.3.3 +cryptography==40.0.2 +distlib==0.3.8 docutils==0.19 -fancycompleter==0.9.1 -filelock==3.9.0 -identify==2.5.17 +filelock==3.13.1 +identify==2.5.33 idna==3.4 -importlib-metadata==6.0.0 +importlib-metadata==6.6.0 iniconfig==2.0.0 jaraco.classes==3.2.3 jeepney==0.8.0 keyring==23.13.1 -lxml==4.9.2 +lxml==4.9.3 markdown-it-py==2.2.0 mdurl==0.1.2 -more-itertools==9.0.0 -nodeenv==1.7.0 -packaging==23.0 -pdbpp==0.10.3 -pep517==0.13.0 +more-itertools==9.1.0 +nodeenv==1.8.0 +packaging==23.2 pkginfo==1.9.6 -platformdirs==2.6.2 -pluggy==1.0.0 -pre-commit==3.0.4 +platformdirs==4.1.0 +pluggy==1.3.0 +pre-commit==3.5.0; python_version <= "3.8" +pre-commit==3.6.0; python_version > "3.8" pycparser==2.21 -Pygments==2.15.0 +Pygments==2.15.1 pyproject_hooks==1.0.0 -pyrepl==0.9.0 -pyroma==4.1 -pytest==7.2.1 -pytest-cov==4.0.0 -PyYAML==6.0 +pyroma==4.2 +pytest==7.4.3 +pytest-cov==4.1.0 +PyYAML==6.0.1 readme-renderer==37.3 -requests==2.31.0 -requests-toolbelt==0.10.1 +requests==2.30.0 +requests-toolbelt==1.0.0 rfc3986==2.0.0 -rich==13.3.1 +rich==13.3.5 SecretStorage==3.3.3 -setuptools==67.2.0 six==1.16.0 -soupsieve==2.3.2.post1 -trove-classifiers==2023.1.20 +soupsieve==2.5 +trove-classifiers==2023.5.2 twine==4.0.2 -urllib3==1.26.18 -virtualenv==20.18.0 +urllib3==2.0.2 +virtualenv==20.25.0 webencodings==0.5.1 -wmctrl==0.4 -zest.releaser==7.2.0 -zipp==3.12.1 +zest.releaser==8.0.0 +zipp==3.15.0 diff --git a/setup.py b/setup.py index baddbcd..265bc5a 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ def read(*rnames): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", ], author="Alessandro Pisa", diff --git a/tox.ini b/tox.ini index e8ba66d..a470179 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,7 @@ envlist = py39, py310, py311, + py312, lint, [testenv] @@ -24,7 +25,7 @@ deps = -r requirements.d/requirements-dev-37.txt deps = -r requirements.d/requirements-dev-37.txt [testenv:lint] -basepython = python3.10 +basepython = python3.12 skip_install = true deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure @@ -39,3 +40,4 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312