From f7b898f5c82745beaaf85e1ccf2a35eaad15dd0d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 18 Oct 2023 19:32:17 +0300 Subject: [PATCH] Tests,CI: Python 3.12 --- .github/workflows/run-tests.yaml | 2 +- ANNOUNCE | 4 ++++ ChangeLog | 4 ++++ devscripts/requirements/requirements_tests.txt | 1 + setup.py | 1 + tox.ini | 2 +- 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 8b35f64..4ef1f82 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.7"] name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest diff --git a/ANNOUNCE b/ANNOUNCE index ae8f3b0..2545d3e 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -30,6 +30,10 @@ everything else. This is how it could be done: mimedecode -t application/pdf -t application/postscript -t text/plain -b text/html -B 'image/*' -i '*/*' +Version 3.1.0.post7: + + GHActions: Test with Python 3.12. + Version 3.1.0.post6 (2023-09-17) GHActions: Ensure ``pip`` only if needed diff --git a/ChangeLog b/ChangeLog index 2d7ff1b..6a48f01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Version 3.1.0.post7: + + GHActions: Test with Python 3.12. + Version 3.1.0.post5 (2023-07-07) Install all Python and PyPy versions from ``conda-forge``. diff --git a/devscripts/requirements/requirements_tests.txt b/devscripts/requirements/requirements_tests.txt index 05a28d8..edf1c1f 100644 --- a/devscripts/requirements/requirements_tests.txt +++ b/devscripts/requirements/requirements_tests.txt @@ -1 +1,2 @@ +setuptools m_lib.full>=1.0.1 diff --git a/setup.py b/setup.py index cd2eac8..a9d28cd 100755 --- a/setup.py +++ b/setup.py @@ -58,6 +58,7 @@ setup( 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], packages=['mimedecode'], entry_points={ diff --git a/tox.ini b/tox.ini index ba19edc..bd38e03 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py27,py3{4,5,6,7,8,9,10,11},pypy,pypy3 +envlist = py27,py3{4,5,6,7,8,9,10,11,12},pypy,pypy3 [testenv] deps = -- 2.39.2