pixi
pixi copied to clipboard
refactor: upgrade to rattler lock v7
Currently in progress of updating to rattler_lock v7 that includes the variants.
Rattler changes currently live at:
https://github.com/conda/rattler/pull/1775
Some notable changes:
- Using purls is slightly broken for source packages. This is currently not used but is something we should fix down the line.
- The python interpreter must be installed as a binary package atm.
Depends on
- https://github.com/prefix-dev/pixi-build-backends/pull/438
- https://github.com/prefix-dev/pixi-build-testsuite/pull/88
To function properly, this requires: https://github.com/prefix-dev/pixi-build-backends/pull/438. Without that PR not all used variants are returned which then causes an error during serialization of the lock-file. We are also currently still using the pixi-build-api-version 2 which makes it backwards compatible but introduces some inefficiencies. Im considering bumping the pixi-build-api-version, removing the inefficiencies and also ensuring that the backwards work properly with the above change in pixi-build-backends integrated.
WDYT @ruben-arts @tdejager ?
To function properly, this requires: prefix-dev/pixi-build-backends#438. Without that PR not all used variants are returned which then causes an error during serialization of the lock-file. We are also currently still using the
pixi-build-api-version 2which makes it backwards compatible but introduces some inefficiencies. Im considering bumping thepixi-build-api-version, removing the inefficiencies and also ensuring that the backwards work properly with the above change inpixi-build-backendsintegrated.WDYT @ruben-arts @tdejager ?
Yes!
@baszalmstra Bumping the version makes sense!
I've updated the PR with current main. We need to properly review and user test this and fix this bug before merging it: https://github.com/prefix-dev/pixi-build-testsuite/pull/88#issuecomment-3473416720
On this branch this example shows the same problem:
pixi run test-slow lock_file::satisfiability::tests::test_example_satisfiability::manifest_path_16__UP__UP_examples_pixi_build_cpp_git_source_pixi_toml