From 058f2dc7be1da80c05e0284e378230552cf70515 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Mon, 3 Mar 2025 22:54:47 +0100 Subject: [PATCH] Support Python 3.13 (#720) * Support Python 3.13 * Remove scikit-misc * Add scikit-misc * docs --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- .readthedocs.yml | 2 +- pyproject.toml | 3 ++- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aee8b45b..664c8b15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" cache: "pip" cache-dependency-path: "**/pyproject.toml" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acd37f72..ab72df59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.x" - name: Install hatch run: pip install hatch diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1132eb9f..fb94c90f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,13 +22,13 @@ jobs: matrix: include: - os: ubuntu-22.04 # ubuntu-latest is currently broken for joblib - python: "3.12" + python: "3.13" run_mode: "slow" - os: ubuntu-22.04 - python: "3.12" + python: "3.13" run_mode: "fast" # - os: ubuntu-latest - # python: "3.12" + # python: "3.13" # run_mode: slow # pip-flags: "--pre" diff --git a/.readthedocs.yml b/.readthedocs.yml index da4771c0..daacf252 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,7 +2,7 @@ version: 2 build: os: ubuntu-24.04 tools: - python: "3.12" + python: "3.12" # 3.13 breaks because scikit-misc cannot be installed commands: - asdf plugin add uv - asdf install uv latest diff --git a/pyproject.toml b/pyproject.toml index e7da1b7c..c04eb776 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pertpy" version = "0.10.0" description = "Perturbation Analysis in the scverse ecosystem." readme = "README.md" -requires-python = ">=3.10,<3.13" +requires-python = ">=3.10,<3.14" license = {file = "LICENSE"} authors = [ {name = "Lukas Heumos"}, @@ -44,6 +44,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Bio-Informatics", "Topic :: Scientific/Engineering :: Visualization", ]