Skip to content

Commit

Permalink
Support Python 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
taleinat committed Jun 24, 2024
1 parent 58b8dee commit 46790ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
++++++++++++++++++
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand All @@ -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 =
Expand All @@ -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

0 comments on commit 46790ff

Please sign in to comment.