Bump pixi-build-cmake cap to 0.4.2 for pixi 0.71 (#96)#97
Merged
Conversation
pixi 0.71 negotiates build-API v5; the old `<=0.3.8` cap only allowed v4 backends, so the dependency solve failed before any compile. Raise the bounded cap to the tested 0.4.2 (api v5). The range now spans the v4 and v5 backends, so the resolver auto-selects per pixi version (verified locally: 0.70 -> 0.3.14/v4, 0.71 -> 0.4.2/v5). Floor and requires-pixi unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #96.
Problem
pixi 0.71 negotiates build-API version 5. The pinned
pixi-build-cmake = ">=0.3.6,<=0.3.8"only allows backends requiring API v4 (0.3.7/0.3.8) or v2 (0.3.6), so the dependency solve fails before any compile:Fix
Raise the bounded cap to the tested
0.4.2(API v5). We deliberately keep an upper cap — backend updates have broken builds before (#50, #71/ZEST#64) — this just moves it to a known-good version rather than removing it.The new range
>=0.3.6,<=0.4.2spans both v4 and v5 backends, andpixi-build-api-versionis itself a solver dependency, so each pixi version auto-selects a compatible backend in range.Verification (local, Perlmutter)
Clean
pixi installof this repo:Instantiated backend pixi-build-cmake@0.4.2, negotiated API version 5✅ (was the failing case; now resolves and compiles)Instantiated backend pixi-build-cmake@0.3.14, negotiated API version 4✅ (floor still works)(Both then hit a pre-existing, unrelated
cublas_v2.h-not-found compile error specific to the login-node CUDA env — identical under both pixi versions, so not introduced by this change.)requires-pixi = ">=0.60.0"unchanged; the widened range only adds backward compatibility.Coordinated change & CI
use-latest-pixischedule (added in Support multiple pixi versions via build backend version range #71) is the intended early-warning. It hasn't flagged 0.71 yet only because 0.71 released 2026-06-24 and the last scheduled run was 2026-06-19; the next run (2026-07-01) would have caught it. Merging this before then turns that run into a validation instead of a failure.