Repository navigation
chore: update rattler and rattler-build crates - #7267
Merged
Merged
Conversation
This was referenced Oct 14, 2026
pavelzw
marked this pull request as draft
October 14, 2026 11:32
pavelzw
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
2 times, most recently
from
October 14, 2026 21:30
c6a559e to
37cacbc
Compare
pavelzw
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
from
October 15, 2026 09:51
37cacbc to
966511c
Compare
pavelzw
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
from
October 24, 2026 10:48
966511c to
f435d46
Compare
pavelzw
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
from
October 24, 2026 12:19
f435d46 to
f00025a
Compare
lucascolley
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
from
October 26, 2026 09:59
f00025a to
740a0de
Compare
3 of 8 tasks
lucascolley
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
from
October 26, 2026 14:27
740a0de to
dd892c6
Compare
Bump rattler_solve to 11.2.2 and rattler_conda_types to 0.57, together with the rattler and rattler-build crates released alongside them. `rattler_virtual_package_detectors` pins exact rattler versions, so it moves to 0.2.3 in lockstep. rattler_solve 11.2.2 applies exclude_newer to locked and pinned packages as well, so a locked record newer than the cutoff is no longer favored unless an exemption matches it. rattler_conda_types 0.57 wraps build strings in a `BuildString` newtype. Pixi keeps the unvalidated conversion so empty virtual-package build strings behave as before. `GenericVirtualPackage::Display` now always prints the build string, which would have changed the entries pixi writes to `pixi.lock` and made existing lock files outdated, so pixi formats those entries itself through `format_virtual_package`. `StringMatcher` gained `Any`, `Prefix` and `Suffix` variants, so `pixi upgrade` now keeps every build matcher except an exact one instead of only globs and regexes.
pavelzw
force-pushed
the
exclude-newer-exemptions-7-bump-rattler
branch
from
October 26, 2026 15:50
dd892c6 to
ad84a78
Compare
Virtual packages without a build identifier now carry the build string "0" throughout pixi, as rattler does, instead of an empty string. This makes environment markers written by older pixi (`__cuda=12`), which rattler reads back with build "0", match the manifest platform again. `pixi.lock` entries still omit the default build, and lock-file platform comparisons parse entries so `__unix=0` and `__unix=0=0` are equal. Platforms are displayed without a trailing `=`. Build strings declared in the manifest or on the CLI, and build strings returned by build backends, are now validated against CEP26.
lucascolley
reviewed
Oct 27, 2026
lucascolley
left a comment
Member
There was a problem hiding this comment.
just one comment @pavelzw
… around Backend replies now carry a BuildString in CondaOutputMetadata, archspec values from the manifest and CLI are parsed into a BuildString once, and pixi-generated hashes are built through the validating constructor, so internal code no longer needs BuildString::new_unchecked.
lucascolley
reviewed
Oct 27, 2026
pavelzw
marked this pull request as ready for review
October 27, 2026 11:08
lucascolley
enabled stacked auto-merge (squash)
October 27, 2026 11:15
tenzinplatter
added a commit
to greenroom-robotics/pixi
that referenced
this pull request
Nov 10, 2026
* feat(lock): honor exclude-newer exemptions in satisfiability (prefix-dev#7247) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * refactor(core): add `Cause` wrapper, type the lock-file load, write and prefix errors (prefix-dev#7314) * feat(manifest): deprecate the top-level `exclude-newer` tables (prefix-dev#7248) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * refactor(global): type the trampoline, install and completions errors (prefix-dev#7357) * feat(global): use match spec exemptions in `exclude-newer` (prefix-dev#7249) * docs: document exclude-newer exemptions (prefix-dev#7251) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * refactor(global): type the global directory and conda-meta errors (prefix-dev#7359) * chore(ci): Update cargo patches (prefix-dev#7361) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update GitHub Actions (prefix-dev#7362) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update Rust crate rstest to 0.28.0 (prefix-dev#7366) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update Rust crate lzma-rust2 to 0.23 (prefix-dev#7365) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * docs: add `release` scope to automated release commit messages (prefix-dev#7360) * chore: update rattler and rattler-build crates (prefix-dev#7267) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * chore(ci): Update rattler (prefix-dev#7317) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(cli): add exclude-newer commands for workspaces and pixi global (prefix-dev#7356) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * chore(ci): Update uv to 0.0.92 (prefix-dev#7318) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * chore(ci): Update Swatinem/rust-cache action to v2.9.3 (prefix-dev#7371) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: add Cargo.lock from pixi-build example (prefix-dev#7372) * feat: add cutoffs to exclude-newer exemptions (prefix-dev#7363) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * chore(ci): Update uv to 0.0.96 (prefix-dev#7376) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * test: cover cache-name collision for zero-component versions (prefix-dev#7373) * fix(publish): keep Artifactory context path when uploading (prefix-dev#7388) * chore(ci): Upgrade Pixi dependencies (prefix-dev#7331) Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> * fix: keep PyPI releases without an upload time for exempted packages (prefix-dev#7374) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * feat(pixi_api): Expose run and shell (prefix-dev#7354) * feat: per-index exclude-newer for PyPI extra indexes (prefix-dev#7382) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * chore: revamp contributor docs and PR template (prefix-dev#7323) Co-authored-by: Julian Hofer <julianhofer@gnome.org> Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * feat: add nanobind-dev and python3-typing-extensions as in rosdistro (prefix-dev#7379) * fix: reuse the build backend environment with a relative exclude-newer (prefix-dev#7384) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * feat(info): show effective TLS root certificates (prefix-dev#7336) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * refactor(global): type the global manifest errors (prefix-dev#7358) * fix(cli): honour colour settings in help and argument errors (prefix-dev#7396) * ci: enforce vouching for pull requests (prefix-dev#7390) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * refactor(global): type the project discovery and list errors (prefix-dev#7397) * refactor(global): type the install and sync errors (prefix-dev#7399) * feat(pixi-build-backend): let backends generate multi-output recipes (prefix-dev#7381) * docs: adapt vouch request (prefix-dev#7403) * docs: clarify how to ping us (prefix-dev#7404) * refactor(pixi_api): type the shell errors (prefix-dev#7407) * fix(cache): use xxh3 for all on-disk cache names (prefix-dev#7408) * feat: add sha256 to workspace explicit export (prefix-dev#7185) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * feat(publish): no `publish = true` required if explicit `--path` option is given (prefix-dev#7355) * fix: skip system CA store for pypi mapping middleware client (prefix-dev#6936) Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> * fix(config)!: make a config file that fails to parse a hard error (prefix-dev#7409) * refactor(api): type the init errors (prefix-dev#7410) * chore(pixi-build-ros): add tqdm (prefix-dev#7307) * fix(global): remove packages with custom exposed names (prefix-dev#7313) * fix(pixi-build-ros): support cross-compiling `ament_python` packages (prefix-dev#7345) * chore: fix missing `InitError::Config` (prefix-dev#7413) * chore: remove duplicate `InitError::Config` (prefix-dev#7415) * refactor(api): type the workspace setter errors (prefix-dev#7414) * docs(setup-pixi): Mention setup-pixi being pre-v1 (prefix-dev#7419) * docs(setup-pixi): Document configuration input and bump to v0.11.3 (prefix-dev#7421) * docs: Fix PowerShell custom shell example for GitHub Actions (prefix-dev#7423) * docs(setup-pixi): Fix instructions for enabling debug logging (prefix-dev#7422) * refactor(api): type the add errors (prefix-dev#7416) * ci: require approval before publishing releases (prefix-dev#6766) * refactor(api): type the task errors (prefix-dev#7426) * chore: add AGENTS.md (prefix-dev#7412) * fix(tasks): fix various bugs (prefix-dev#7434) * feat(pixi_api): add GlobalContext with pixi global list (prefix-dev#7387) * chore(lock): never install the conda prefix in the PyPI satisfiability check (prefix-dev#7427) * fix(exclude-newer): resolve relative cutoffs once per workspace load (prefix-dev#7435) * feat(config): add `exclude-newer` (prefix-dev#7385) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * feat(publish): build with the exclude-newer of the workspace (prefix-dev#7386) * chore(ci): Update GitHub Actions (prefix-dev#7440) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update cargo patches (prefix-dev#7439) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update Rust crate parking_lot to 0.13.0 (prefix-dev#7444) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(release): bump version to v0.84.0 (prefix-dev#7446) * feat: integrate conda-pypi wheels using released rattler (prefix-dev#7392) * chore(ci): Update Rust crate lzma-rust2 to 0.24 (prefix-dev#7443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update Rust crate tokio to v1.54.1 (prefix-dev#7445) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(cli): fix multiple reporters problems (prefix-dev#7429) * chore(ci): Update uv to 0.0.98 (prefix-dev#7442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * fix(export): honour `--ignore-source-errors` in conda explicit export (prefix-dev#7425) * feat(pixi-build-ros): rtklib (prefix-dev#7461) * chore(ci): Upgrade Pixi dependencies (prefix-dev#7468) Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> * chore: adapt to new `exclude-newer` design (prefix-dev#7470) * ci: publish dev release builds of main via octo-sts (prefix-dev#7193) * fix(run): detect only the installed environment's host (prefix-dev#7462) * fix(reporters): hide the repodata bar on clear with downloads in flight (prefix-dev#7459) Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> * refactor(pixi_api): type the run errors (prefix-dev#7463) * chore(release): bump version to v0.84.1 (prefix-dev#7472) * feat(pixi_api): add global install and uninstall to GlobalContext (prefix-dev#7447) * feat: derive PyPI purls for the conda-pypi channel (prefix-dev#7477) * feat(pixi-build-mojo): add explicit CPU and AMD GPU variants (prefix-dev#7431) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * docs: Add CPU and AMD GPU Mojo package tutorial (prefix-dev#7432) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * refactor: keep miette reports out of library crates (prefix-dev#7465) * docs: Added documentation for publishing to Artifactory (prefix-dev#7481) * ci: publish nightly releases from CI build artifacts (prefix-dev#7474) * ci: cross-compile the linux aarch64 build with cargo-zigbuild (prefix-dev#7482) * feat: add `pixi self-update --nightly` (prefix-dev#7473) * fix(cli): reject several exclude-newer exemption specs of one package (prefix-dev#7467) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * docs: add a virtual package detector example (prefix-dev#7428) * chore(ci): Update cargo patches (prefix-dev#7495) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --------- Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com> Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com> Co-authored-by: prefix-dev-pixi-upgrades[bot] <326415524+prefix-dev-pixi-upgrades[bot]@users.noreply.github.com> Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Co-authored-by: Felix Häcker <felix@prefix.dev> Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> Co-authored-by: Julian Hofer <julianhofer@gnome.org> Co-authored-by: Ezra Brooks <ezra@brooks.cx> Co-authored-by: Nicholas Bollweg <nick.bollweg@gmail.com> Co-authored-by: Tim Clephas <tim.clephas@nobleo.nl> Co-authored-by: Zhaoqi Xu <lzy00419@outlook.com> Co-authored-by: Yannik Tausch <dev@ytausch.de> Co-authored-by: NichMor <nmorkotilo@gmail.com> Co-authored-by: lldash <michiel.jacobs@vito.be>
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.
Description
Bump
rattler_solveto 11.2.2 andrattler_conda_typesto 0.57, togetherwith the rattler and rattler-build crates released alongside them. The
published rattler-build crates pin
rattler_conda_types0.57, so both movetogether to avoid two copies of the crate in the build. As in #7123, only
major/minor bumps are in
Cargo.toml; patch updates are inCargo.lockonly.
Relevant rattler changes:
rattler_solve11.2.2 appliesexclude_newerto locked and pinnedpackages as well (fix(rattler_solve): apply exclude_newer to locked and pinned packages conda/rattler#2940). A locked record newer than the
cutoff is no longer favored by the solver unless an exemption matches it.
rattler_conda_types0.57 wraps build strings in aBuildStringnewtype(refactor: Add
BuildStringto rattler_conda_types conda/rattler#2430).PackageRecord::build,IndexJson::buildandGenericVirtualPackage::build_stringchanged type. Pixi keeps theunvalidated conversion everywhere, so empty virtual-package build strings
and build strings coming from backends behave as before.
GenericVirtualPackage::Displaynow always prints the build string, so avirtual package with an empty build string renders as
__cuda=12.0=instead of
__cuda=12.0. Pixi stores those strings inpixi.lockandcompares them in the satisfiability check, so this would have made every
existing lock file with customised platforms outdated and would have
written the new shape into new ones. Pixi now formats lock-file entries
and diagnostics itself through
pixi_manifest::platform::format_virtual_package,which omits an empty build string and round-trips with
parse_locked_virtual_package.StringMatchergainedAny,PrefixandSuffixvariants for simpleglobs (perf: compile simple glob patterns into string matcher variants conda/rattler#2924).
pixi upgradeused to keep a build spec onlyif it was a
GloborRegex, which would now drop a wildcard likeh*.It now keeps every matcher except an exact build string.
astral_async_zipis now duplicated (0.0.21 through uv, 0.0.22 throughrattler_package_streaming) until uv is bumped.Stack (review and merge in order):
exclude-newerin[workspace]#7246exclude-newertables #7248exclude-newer#7249How Has This Been Tested?
cargo clippy --workspace --all-targets --all-features -- -D warningsandcargo fmt --check.cargo nextest run --workspacefor the unit tests (theconfig::tests::{append,prepend}_from_scratchsnapshots fail locally because of my user-level pixi config, unrelated to this PR),cargo nextest run -p pixi --test integration_rustfor theexclude_newer,upgrade,virtual_packageandsystem_requirementtests, andpytest tests/integration_python/test_upgrade.pywhich covers keeping anab*build wildcard on upgrade.AI Disclosure
Tools: Claude Code
Checklist:
schema/model.py.