diff --git a/.github/workflows/gh-ci-cron.yaml b/.github/workflows/gh-ci-cron.yaml index 01fb8aa1bca..7b3bfbe1934 100644 --- a/.github/workflows/gh-ci-cron.yaml +++ b/.github/workflows/gh-ci-cron.yaml @@ -184,7 +184,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index bf8f9de42ca..fb6c1d68236 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -48,6 +48,11 @@ jobs: full-deps: true codecov: false extra-pip-deps: asv + - name: python_312 + os: ubuntu-latest + python-version: "3.12" + full-deps: false + codecov: true env: CYTHON_TRACE_NOGIL: 1 MPLBACKEND: agg diff --git a/package/pyproject.toml b/package/pyproject.toml index 83a7da80e82..1110c7e8372 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -14,6 +14,7 @@ requires = [ "numpy==1.22.3; python_version=='3.9' and platform_python_implementation != 'PyPy'", "numpy==1.22.3; python_version=='3.10' and platform_python_implementation != 'PyPy'", "numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'", + "numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'", # For unreleased versions of Python there is currently no known supported # NumPy version. In that case we just let it be a bare NumPy install "numpy<2.0; python_version>='3.12'", @@ -65,6 +66,7 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: C', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Bio-Informatics', diff --git a/package/setup.py b/package/setup.py index ff5c864b315..c48bbc56e85 100755 --- a/package/setup.py +++ b/package/setup.py @@ -582,6 +582,7 @@ def long_description(readme): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: C', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Bio-Informatics',