Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ jobs:
sudo chmod +x /usr/local/bin/yq

- name: Extract max Python version from classifiers
id: max-python
run: |
classifiers=$(yq .project.classifiers pyproject.toml -oy | grep --only-matching --perl-regexp '(?<=Python :: )(\d\.\d+)')
max_version=$(echo "$classifiers" | sort -V | tail -1)
echo "max_python_version=$max_version" >> $GITHUB_ENV
echo "max_python_version=$max_version" >> $GITHUB_OUTPUT

- name: Install UV
uses: astral-sh/setup-uv@v6 # TODO: upgrade once cirun image supports node 24
with:
enable-cache: true
# Any Cuda 14+ will support Python 3.14: https://github.com/cupy/cupy/issues/9346
python-version: '3.13' # ${{ env.max_python_version }}
python-version: ${{ steps.max-python.outputs.max_python_version }}

- name: Install annbatch
run: |
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ authors = [
{ name = "Felix Fischer" },
{ name = "Ilan Gold" },
]
requires-python = ">=3.12,<3.14"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"anndata[lazy]>=0.12.9",
Expand Down Expand Up @@ -88,9 +89,9 @@ envs.docs.scripts.clean = "git clean -fdX -- {args:docs}"
envs.hatch-test.features = [ "test" ]
envs.hatch-test.matrix = [
# Test the lowest and highest supported Python versions with normal deps
{ deps = [ "minimal" ], python = [ "3.12", "3.13" ] },
{ deps = [ "minimal" ], python = [ "3.12", "3.14" ] },
# Test the newest supported Python version also with pre-release deps
{ deps = [ "pre", "torch" ], python = [ "3.13" ] },
{ deps = [ "pre", "torch" ], python = [ "3.14" ] },
]
# If the matrix variable `deps` is set to "pre",
# set the environment variable `UV_PRERELEASE` to "allow".
Expand Down
Loading