diff --git a/.github/workflows/conda-env-create.yml b/.github/workflows/conda-env-create.yml index 67d488704..4fc612dd0 100644 --- a/.github/workflows/conda-env-create.yml +++ b/.github/workflows/conda-env-create.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.12", "3.13", "3.14"] + python-version: ["3.12", "3.13", "3.14", "3.15"] include: - os: ubuntu-latest diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index dade0cd14..d61253e67 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -26,8 +26,12 @@ jobs: - dockerfile: ./docker/3.14/Debian/Dockerfile mtag: py3.14-debian - dockerfile: ./docker/3.14/Ubuntu/Dockerfile - mtag: py3.14-ubuntu - - dockerfile: ./docker/3.14/Ubuntu/Dockerfile + mtag: py3.15-ubuntu + - dockerfile: ./docker/3.15/Debian/Dockerfile + mtag: py3.15-debian + - dockerfile: ./docker/3.15/Ubuntu/Dockerfile + mtag: py3.15-ubuntu + - dockerfile: ./docker/3.15/Ubuntu/Dockerfile mtag: latest permissions: contents: read diff --git a/.github/workflows/mypy-type-check.yml b/.github/workflows/mypy-type-check.yml index 5e86724d4..0dbcbd431 100644 --- a/.github/workflows/mypy-type-check.yml +++ b/.github/workflows/mypy-type-check.yml @@ -20,7 +20,7 @@ jobs: # the type check target matches the matrix (overrides [tool.mypy].python_version). strategy: matrix: - python-version: ["3.12", "3.13", "3.14"] + python-version: ["3.12", "3.13", "3.14", "3.15"] steps: diff --git a/.github/workflows/pip-install.yml b/.github/workflows/pip-install.yml index 795fec5b7..988af4c23 100644 --- a/.github/workflows/pip-install.yml +++ b/.github/workflows/pip-install.yml @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12", "3.13", "3.14"] + python-version: ["3.12", "3.13", "3.14", "3.15"] os: [ubuntu-24.04, windows-latest, macos-latest] # Force UTF-8 everywhere (Windows is the one that really needs it) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e1f3f4ab0..5a1bf6384 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12", "3.13", "3.14"] + python-version: ["3.12", "3.13", "3.14", "3.15"] steps: - uses: actions/checkout@v4 diff --git a/HISTORY.md b/HISTORY.md index a03c3591a..33c46222c 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -67,7 +67,7 @@ ______________________________________________________________________ ### ⚠️ API Changes -- Python requirement updated → >=3.11, \<3.15 +- Python requirement updated → >=3.11, \<3.16 ### 🐞 Bug Fixes and Other Changes diff --git a/docs/installation.rst b/docs/installation.rst index 3b7828ad3..8cda8cb7e 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -59,7 +59,7 @@ MacPorts Installing Stable Release ========================= -Please note that TIAToolbox is tested for Python versions 3.12, 3.13 and 3.14. For the full range of supported Python versions, please refer to the package metadata (for example, the ``python_requires`` setting in ``setup.py`` or ``pyproject.toml``) +Please note that TIAToolbox is tested for Python versions 3.12, 3.13, 3.14 and 3.15. For the full range of supported Python versions, please refer to the package metadata (for example, the ``python_requires`` setting in ``setup.py`` or ``pyproject.toml``) Recommended ----------- diff --git a/requirements/generate_conda_env.py b/requirements/generate_conda_env.py index 763ca79d2..d794e3a75 100644 --- a/requirements/generate_conda_env.py +++ b/requirements/generate_conda_env.py @@ -19,7 +19,7 @@ PYPROJECT_FILE = "pyproject.toml" OUT_FILE = "requirements/requirements.conda.generated.yml" -PYTHON_VERSION = os.environ.get("PYTHON_VERSION", "3.14") +PYTHON_VERSION = os.environ.get("PYTHON_VERSION", "3.15") # pip → conda mapping PIP_TO_CONDA = { diff --git a/requirements/requirements.txt b/requirements/requirements.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/requirements/requirements_dev.txt b/requirements/requirements_dev.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/setup.py b/setup.py index 160942bbd..fcc35d141 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ setup( author="TIA Centre", author_email="TIA@warwick.ac.uk", - python_requires=">=3.12, <3.15", + python_requires=">=3.12, <3.16", classifiers=[ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", @@ -44,6 +44,7 @@ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ], description="Computational pathology toolbox developed by TIA Centre.", dependency_links=dependency_links,