From: Oleg Broytman Date: Wed, 26 Oct 2022 17:10:43 +0000 (+0300) Subject: Tests, CI: Run tests with Python 3.11 X-Git-Tag: 3.1.0.post2^0 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8a50fe99fcf1408204d0275bd96557b8a2eab234;p=mimedecode.git Tests, CI: Run tests with Python 3.11 Docs: Year 2022. --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 5854e6a..3addbae 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: - python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy-2.7"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-2.7"] name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest diff --git a/ANNOUNCE b/ANNOUNCE index 6cdf6f0..43b7ca9 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.post2 + + Python 3.11. + Version 3.1.0.post1 (2021-09-24) GitHub Actions. @@ -65,7 +69,7 @@ AUTHOR Oleg Broytman COPYRIGHT - Copyright (C) 2001-2021 PhiloSoft Design. + Copyright (C) 2001-2022 PhiloSoft Design. LICENSE GPL diff --git a/ChangeLog b/ChangeLog index cf213fa..e12e80e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Version 3.1.0.post2 (2022-10-26) + + Python 3.11. + Version 3.1.0.post1 (2021-09-24) GitHub Actions. diff --git a/docs/mimedecode.rst b/docs/mimedecode.rst index 1c7b18d..4f36158 100644 --- a/docs/mimedecode.rst +++ b/docs/mimedecode.rst @@ -334,7 +334,7 @@ Oleg Broytman COPYRIGHT --------- -Copyright (C) 2001-2021 PhiloSoft Design. +Copyright (C) 2001-2022 PhiloSoft Design. LICENSE ------- diff --git a/mimedecode/__version__.py b/mimedecode/__version__.py index 499e18c..34d3dca 100644 --- a/mimedecode/__version__.py +++ b/mimedecode/__version__.py @@ -1,4 +1,4 @@ -__version__ = "3.1.0.post1" +__version__ = "3.1.0.post2" __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2001-2021 PhiloSoft Design" +__copyright__ = "Copyright (C) 2001-2022 PhiloSoft Design" __license__ = "GNU GPL" diff --git a/setup.py b/setup.py index 9b8e2dd..cd2eac8 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ if sys.version_info[:2] == (2, 7): execfile(versionpath, mimedecode_version) # noqa: F821 'execfile' Py3 elif sys.version_info >= (3, 4): - exec(open(versionpath, 'rU').read(), mimedecode_version) + exec(open(versionpath, 'r').read(), mimedecode_version) else: raise ImportError("mimedecode requires Python 2.7 or 3.4+") @@ -57,6 +57,7 @@ setup( 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], packages=['mimedecode'], entry_points={ diff --git a/tox.ini b/tox.ini index 387d574..8673549 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},pypy +envlist = py27,py3{4,5,6,7,8,9,10,11},pypy [testenv] deps =