Skip to content

Commit 76bac4e

Browse files
rparolinclaude
andauthored
ci: bump pixi to v0.73.0 to fix per-run Cython rebuild (#2138) (#2396)
Pixi <0.71.0 re-ran the editable source build on every `pixi run`, recompiling all ~29 Cython extensions in cuda_bindings (~27s) even when nothing changed, because setuptools' editable_wheel uses fresh temp build dirs so build_ext always sees the .so as older than its source. Pixi 0.71.0 fixed this upstream with a content-addressed source-build cache (prefix-dev/pixi#6285) plus separate Cython input tracking (prefix-dev/pixi#6123). Locally verified: under 0.66 the 2nd no-op run rebuilds 29 extensions with a fresh /tmp/*.build-temp; under 0.73 it rebuilds nothing and returns instantly. The fix also bumps the pixi.lock format from v6 to v7 (unreadable by pixi 0.66), so this requires all contributors to move to pixi >=0.71. Regenerated all six committed lock files to v7 accordingly. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent db347c9 commit 76bac4e

7 files changed

Lines changed: 36303 additions & 30359 deletions

File tree

.github/workflows/ci-pixi-source-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ defaults:
5252
shell: bash --noprofile --norc -xeuo pipefail {0}
5353

5454
env:
55-
PIXI_VERSION: "v0.66.0" # keep in sync with the version developers run locally
55+
# keep in sync with the version developers run locally. Must be >=0.71.0:
56+
# older pixi re-ran the editable source build on every `pixi run`, recompiling
57+
# all Cython extensions (#2138). The fix (content-addressed source-build cache,
58+
# prefix-dev/pixi#6285 + #6123) also bumps the pixi.lock format to v7.
59+
PIXI_VERSION: "v0.73.0"
5660

5761
jobs:
5862
# ── PR guard: CPU-only build + import + placement smoke ──

benchmarks/cuda_bindings/pixi.lock

Lines changed: 1286 additions & 621 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/cuda_core/pixi.lock

Lines changed: 1052 additions & 287 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cuda_bindings/pixi.lock

Lines changed: 13405 additions & 11417 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cuda_core/pixi.lock

Lines changed: 15667 additions & 13614 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cuda_pathfinder/pixi.lock

Lines changed: 4443 additions & 3590 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.lock

Lines changed: 445 additions & 829 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)