Test on Python 3.12 (#4454)

Only testing on Linux Python 3.11 instead of 3.12 as we
seem to hit some resource limit under Linux Python 3.12
(fine on macOS).

i.e. Exit Code 143: Graceful Termination (SIGTERM)
This commit is contained in:
Peter Cock
2023-10-11 11:23:46 +01:00
committed by GitHub
parent f5bb9db384
commit 1087dffd62
4 changed files with 12 additions and 8 deletions

View File

@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
@ -116,7 +116,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
@ -166,14 +166,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.10", "3.11"]
steps:
# Start MySQL server: required for some tests.
- run: |
sudo /etc/init.d/mysql start
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
@ -215,7 +215,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.8", "3.11"]
python-version: ["3.8", "3.12"]
steps:
- uses: actions/checkout@v2
@ -253,7 +253,7 @@ jobs:
matrix:
# TODO - Try Python 3.11 again, was Python 3.11.0 was
# failing when trying to delete SQlite databases.
python-version: ["3.8", "3.10"]
python-version: ["3.8", "3.10", "3.12"]
steps:
- uses: actions/checkout@v2
@ -366,7 +366,7 @@ jobs:
run: |
make -C Doc/api html
shell: bash
cleanup_wheels:
if: always()
needs: [build_wheels]

View File

@ -13,6 +13,9 @@ The latest news is at the top of this file.
(In progress, not yet released): Biopython 1.82
===============================================
This release of Biopython supports Python 3.8, 3.9, 3.10, 3.11 and 3.12. It
has also been tested on PyPy3.8 v7.8.16.
We now have basic type hint annotations in various modules including ``Seq``,
``SeqRecord``, and ``SeqIO``. This should help anyone using an editor or IDE
with type-aware autocomplete, or in conjunction with mypy as a pre-commit

View File

@ -88,7 +88,7 @@ We currently recommend using Python 3.11 from http://www.python.org
Biopython is currently supported and tested on the following Python
implementations:
- Python 3.8, 3.9, 3.10 and 3.11 -- see http://www.python.org
- Python 3.8, 3.9, 3.10, 3.11 and 3.12 -- see http://www.python.org
- PyPy3.8 v7.3.11 -- or later, see http://www.pypy.org

View File

@ -251,6 +251,7 @@ setup(
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Libraries :: Python Modules",