diff --git a/HISTORY.rst b/HISTORY.rst index 3d9e1f8..7e3a5ec 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,11 +3,11 @@ History ------- -?.?.? (????-??-??) +0.8.0 (????-??-??) ++++++++++++++++++ * Dropped support for Python 2.7, 3.5, 3.6 and 3.7. -* Added support for Python 3.9 and 3.10. +* Added support for Python 3.9, 3.10, 3.11 and 3.12. 0.7.3 (2020-06-27) ++++++++++++++++++ diff --git a/setup.py b/setup.py index d236e6c..822ff5b 100644 --- a/setup.py +++ b/setup.py @@ -129,6 +129,8 @@ def run_setup(with_binary=True): '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', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules', diff --git a/tox.ini b/tox.ini index 099582d..38848c4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {py38,py39,py310,pypy39,pypy310}-{with,without}_coverage +envlist = {py38,py39,py310,py311,py312,pypy39,pypy310}-{with,without}_coverage [testenv] install_command = @@ -13,7 +13,7 @@ install_command = deps = ; use specific versions of testing tools with which this is known to work with_coverage: coverage>=5,<6 - {py38,py39,py310,py311,pypy39,pypy310}: biopython + {py38,py39,py310,py311,py312,pypy39,pypy310}: biopython allowlist_externals = mv commands = @@ -22,11 +22,11 @@ commands = ; * if running with coverage, merge the coverage run results from both runs ; * for Python 2.6 use the unit2 script since -m unittest2 doesn't work ; (but when running with coverage, coverage run -m unittest2 works) - {py38,py39,py310,pypy39,pypy310}-without_coverage: {envpython} -m unittest discover -v tests - {py38,py39,py310,pypy39,pypy310}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests + {py38,py39,py310,py311,py312,pypy39,pypy310}-without_coverage: {envpython} -m unittest discover -v tests + {py38,py39,py310,py311,py312,pypy39,pypy310}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests with_coverage: mv .coverage .coverage.with_extensions {envpython} -c 'import os; [os.remove(os.path.join(d, fn)) for (d, dns, fns) in os.walk(os.path.join(r"{envsitepackagesdir}", "fuzzysearch")) for fn in fns if fn.endswith((".so", ".pyd"))]' - {py38,py39,py310,pypy39,pypy310}-without_coverage: {envpython} -m unittest discover -v tests - {py38,py39,py310,pypy39,pypy310}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests + {py38,py39,py310,py311,py312,pypy39,pypy310}-without_coverage: {envpython} -m unittest discover -v tests + {py38,py39,py310,py311,py312,pypy39,pypy310}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests with_coverage: mv .coverage .coverage.no_extensions with_coverage: {envbindir}/coverage combine