Skip to content

Commit 2e36351

Browse files
authored
Merge branch 'main' into wilcoxon-refactor
2 parents a0e9b0c + 11bcd1a commit 2e36351

19 files changed

Lines changed: 65 additions & 53 deletions

.github/workflows/docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
strategy:
7272
matrix:
7373
RAPIDS_VER:
74-
- "26.02"
74+
- "26.04"
7575
CUDA_SUFFIX:
7676
- { ver: "12.8.0", label: "cuda12", pkg: "cu12" }
7777
- { ver: "13.0.2", label: "cuda13", pkg: "cu13" }
@@ -143,6 +143,7 @@ jobs:
143143
labels: ${{ steps.meta-base.outputs.labels }}
144144
build-args: |
145145
CUDA_VER=${{ matrix.CUDA_SUFFIX.ver }}
146+
GIT_ID=${{ github.event.pull_request.head.sha || github.sha }}
146147
#cache-from: type=registry,ref=ghcr.io/${{ github.repository }}-deps
147148

148149
- name: Generate artifact attestation for base image
@@ -171,6 +172,7 @@ jobs:
171172
labels: ${{ steps.meta.outputs.labels }}
172173
build-args: |
173174
CUDA_ARCHS=${{ matrix.CUDA_SUFFIX.label == 'cuda12' && '75-real;80-real;86-real;89-real;90' || '75-real;80-real;86-real;89-real;90-real;100-real;120' }}
175+
GIT_ID=${{ github.event.pull_request.head.sha || github.sha }}
174176
#cache-from: type=registry,ref=ghcr.io/${{ github.repository }}
175177
build-contexts: |
176178
rapids-singlecell-deps=docker-image://${{ fromJSON(steps.meta-base.outputs.json).tags[0] }}

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
uses: pypa/cibuildwheel@v3.1.4
139139
env:
140140
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ steps.version.outputs.version }}
141+
CIBW_BUILD: 'cp312-*'
141142
CIBW_SKIP: '*-musllinux*'
142143
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.os == 'linux-intel' && matrix.cibw_image || '' }}
143144
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.os == 'linux-arm' && matrix.cibw_image || '' }}

.github/workflows/test-gpu.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- id: get-envs
3939
run: |
4040
# Stable and dev environments
41-
STABLE_DEV_JSON=$(uvx --with "virtualenv<21" hatch env show --json | jq -c '
41+
STABLE_DEV_JSON=$(uvx --from "hatch==1.16.5" hatch env show --json | jq -c '
4242
to_entries
4343
| map(
4444
select(.key | startswith("hatch-test") and endswith("12") and (contains("prerelease") | not))
@@ -50,7 +50,7 @@ jobs:
5050
echo "stable-dev=${STABLE_DEV_JSON}" | tee -a $GITHUB_OUTPUT
5151
5252
# Prerelease environments
53-
PRERELEASE_JSON=$(uvx --with "virtualenv<21" hatch env show --json | jq -c '
53+
PRERELEASE_JSON=$(uvx --from "hatch==1.16.5" hatch env show --json | jq -c '
5454
to_entries
5555
| map(
5656
select(.key | startswith("hatch-test") and endswith("12") and contains("prerelease"))
@@ -89,18 +89,18 @@ jobs:
8989
echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
9090
9191
- name: Install dependencies
92-
run: uvx --with "virtualenv<21" hatch -v env create ${{ matrix.env.name }}
92+
run: uvx --from "hatch==1.16.5" hatch -v env create ${{ matrix.env.name }}
9393

9494
- name: Run tests
9595
run: |
9696
mkdir -p test-data
9797
if [[ "${{ matrix.env.name }}" == *"stable"* ]]; then
98-
uvx --with "virtualenv<21" hatch run ${{ matrix.env.name }}:run-cov -v --color=yes
99-
uvx --with "virtualenv<21" hatch run ${{ matrix.env.name }}:coverage xml
100-
uvx --with "virtualenv<21" hatch run ${{ matrix.env.name }}:cov-report
98+
uvx --from "hatch==1.16.5" hatch run ${{ matrix.env.name }}:run-cov -v --color=yes
99+
uvx --from "hatch==1.16.5" hatch run ${{ matrix.env.name }}:coverage xml
100+
uvx --from "hatch==1.16.5" hatch run ${{ matrix.env.name }}:cov-report
101101
102102
else
103-
uvx --with "virtualenv<21" hatch run ${{ matrix.env.name }}:run -v --color=yes
103+
uvx --from "hatch==1.16.5" hatch run ${{ matrix.env.name }}:run -v --color=yes
104104
fi
105105
106106
- name: Upload test results
@@ -157,10 +157,10 @@ jobs:
157157
run: nvidia-smi
158158

159159
- name: Install dependencies
160-
run: uvx --with "virtualenv<21" hatch -v env create ${{ matrix.env.name }}
160+
run: uvx --from "hatch==1.16.5" hatch -v env create ${{ matrix.env.name }}
161161

162162
- name: Run tests
163-
run: uvx --with "virtualenv<21" hatch run ${{ matrix.env.name }}:run -v --color=yes
163+
run: uvx --from "hatch==1.16.5" hatch run ${{ matrix.env.name }}:run -v --color=yes
164164

165165
remove-label:
166166
name: Remove 'run-gpu-ci' Label

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ __pycache__/
44
/*cache/
55
.ipynb_checkpoints/
66
/data/
7+
/benchmarks/
78
test-data/
89
.vscode/
910

@@ -46,6 +47,7 @@ coverage.xml
4647
.vscode/
4748
.cursor/
4849
.claude/
50+
.codex
4951
CLAUDE.md
5052
.codex
5153

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.11
3+
rev: v0.15.12
44
hooks:
55
- id: ruff-check
66
args: ["--fix"]
@@ -37,7 +37,7 @@ repos:
3737
docs/references.bib|
3838
)
3939
- repo: https://github.com/pre-commit/mirrors-clang-format
40-
rev: v22.1.3
40+
rev: v22.1.4
4141
hooks:
4242
- id: clang-format
4343
args: [--style=file, -i]

.readthedocs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ build:
1616
- asdf global uv latest
1717
build:
1818
html:
19-
# pin virtualenv<21 to work around https://github.com/pypa/hatch/issues/2193
20-
- CMAKE_ARGS="-DRSC_BUILD_EXTENSIONS=OFF" uvx --with "virtualenv<21" hatch run docs:build
19+
- CMAKE_ARGS="-DRSC_BUILD_EXTENSIONS=OFF" uvx --from "hatch==1.16.5" hatch run docs:build
2120
- mv docs/_build $READTHEDOCS_OUTPUT

ci/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- nvidia
55
- conda-forge
66
dependencies:
7-
- rapids=25.10
8-
- python=3.13
7+
- rapids=26.04
8+
- python=3.14
99
- cuda-version=12.9
1010
- cudnn

ci/environment_alpha.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ channels:
44
- nvidia
55
- conda-forge
66
dependencies:
7-
- rapids=25.12
8-
- python=3.13
7+
- rapids=26.04
8+
- python=3.14
99
- cuda-version=12.9
1010
- zarr=3.0.6
1111
- cudnn
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ channels:
55
- conda-forge
66
- bioconda
77
dependencies:
8-
- rapids=25.12
9-
- python=3.13
10-
- cuda-version=12.8
8+
- rapids=26.04
9+
- python=3.14
10+
- cuda-version=12.9
1111
- cudnn
1212
- cutensor
1313
- cusparselt
1414
- jupyterlab
1515
- pip
1616
- pip:
17-
- decoupler
18-
- omnipath
1917
- gdown
2018
- wget
19+
- scikit-misc
2120
- rapids-singlecell-cu12
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ channels:
55
- conda-forge
66
- bioconda
77
dependencies:
8-
- rapids=25.12
9-
- python=3.13
10-
- cuda-version=13.0
8+
- rapids=26.04
9+
- python=3.14
10+
- cuda-version=13.1
1111
- cudnn
1212
- cutensor
1313
- cusparselt
1414
- jupyterlab
1515
- pip
1616
- pip:
17-
- decoupler
18-
- omnipath
1917
- gdown
2018
- wget
19+
- scikit-misc
2120
- rapids-singlecell-cu13

0 commit comments

Comments
 (0)