Conversation
jezdez
marked this pull request as ready for review
June 3, 2026 21:16
Ship the new rattler-lock-v7 canonical name alongside rattler-lock-v6 following the documented bump policy. The unversioned `pixi` alias stays on v6 during this overlap release; `pixi-lock-v7` is available as a version-pinned alias. Key v7 changes modeled: - Top-level `platforms` list (replaces implicit per-environment platforms) - `conda_source` package type for source builds - Per-environment `options` (channel-priority, strategy) - Per-package `index` for PyPI custom indexes - Split PyPI distribution/source packages The v6 export tests are updated to pass `--format=rattler-lock-v6` explicitly, since both versions now register `pixi.lock` as a default filename and conda raises PluginError on the ambiguity.
Aligns the v6 test data directory naming with pixi-v7-metadata for consistency across format versions.
jezdez
force-pushed
the
rattler-lock-v7
branch
from
September 15, 2026 07:52
e9cbd3e to
13c0364
Compare
2 tasks
This branch has not been deployed
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
Add
rattler-lock-v7alongsiderattler-lock-v6for the overlap release. Keep the unversionedpixialias on v6 and emit aPendingDeprecationWarningexplaining the future alias change. Explicitrattler-lock-v6,pixi-lock-v6andpixi-lock-v7selections remain quiet.Represent v7 platform declarations, environment options, package references and PyPI metadata. Validate environment and platform selection, reject malformed or missing package references, reject unsupported
conda_sourceinstalls, and preserve PyPI references as external package metadata.Preserve explicit conda package
build_numbervalues, including zero, in the v7 model and exporter. Build numbers remain independent of build strings, and files that omit the optional field continue to use cached package metadata. This applies the same correction as #175 to v7's separate implementation. Use conda's current YAML API for the new exporter and comparison helper.Document the overlap aliases and maintainer warning policy. Filename-only export to
pixi.lockremains subject to conda/conda#15963 while both format versions register that filename.Closes #178. Related to #133 and #176.
Checklist - did you ...
newsdirectory for the next release's release notes?