Repository navigation
COMP: Replace deprecated pixi system-requirements with rich platforms - #317
Merged
hjmjohnson merged 1 commit intoNov 26, 2026
Merged
Conversation
pixi 0.71.0 deprecated [system-requirements] in favor of virtual
packages on workspace platform entries, and every pixi command printed
the deprecation warning for manylinux228-build and macosx-build. Those
features now bind named platforms carrying the same virtual packages
(glibc 2.28 and linux 5.4; macos 14.0).
The default, dev, and publish environments are pinned to the four bare
platforms so they do not gain the build variants. pixi.lock changes
only in platform names: no package is added, removed, or re-solved.
The macOS deployment-target test reads the version from the platform
entry. pixi older than 0.71.0 cannot parse the new manifest
("expected a string, found table"); run pixi self-update.
pixi 0.84.2: lock --check up to date, no deprecation warning,
install --locked -e macosx-py311 succeeds; pytest tests/: 489 passed.
hjmjohnson
marked this pull request as ready for review
November 26, 2026 02:01
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.
Replace the deprecated
[system-requirements]tables inpixi.tomlwith named platform entries carrying the same virtual packages, which removes the deprecation warning printed by every pixi command.Merge danger: two-way door; blast radius: anyone running pixi older than 0.71.0, which cannot parse the new manifest (
pixi self-updatefixes it).Shape of the change
Pinning the default, dev, and publish environments keeps them off the build variants, so
pixi.lockchanges only in platform names and no package is re-solved.Evidence
Before, on every pixi command:
After, with pixi 0.84.2:
pixi lock --check: up to date; no deprecation warning.pixi install --locked -e macosx-py311: succeeds.tests/test_target_platform.pyreads the macOS deployment target from the platform entry;pytest tests/: 489 passed.pre-commit run --all-files: passed.The platform syntax arrived in pixi 0.71.0 ("Rich platforms"). Older pixi fails loudly:
expected a string, found table. The install scripts download the latest pixi but reuse a copy already present in their pixi directory, so a stale copy needspixi self-update.