Skip to content

Conversation

@nichmor
Copy link
Contributor

@nichmor nichmor commented Feb 3, 2026

Description

One of the fixes for: prefix-dev/pixi#5422 and fixes #2015

hunger and others added 8 commits January 14, 2026 11:06
Make rattler handle relative paths to pypi dependencies in the LockFile. This helps when checking in pixi.lock files that reference local python packages. Instead of ending up with a machine specific path in the lock file we have a relative path that should work for all developers.

This is the rattler part of prefix-dev/pixi#4680

The PR consists of several changes:
 * Bump the LockFile version: The relative paths will break when somebody goes back to a pixi version not supporting this
 * Enable non-pep508_extensions in the pep508_rs? crate. This is needed for it to parse relative URLs in the lock file correctly
 *Add an API to pass in the base directory used -- needed by pep508_rs to parse a relative path.
 * Keep the raw input for (some) path and urls as read from the lock file around. pep508_rs does turn everything into absolute paths right away, we need to keep that info somewhere.

Closes: conda#1977
@nichmor nichmor changed the base branch from main to feature/lockfile-v7 February 3, 2026 09:59
@hunger hunger force-pushed the feature/lockfile-v7 branch 2 times, most recently from 5dc615d to 8c97847 Compare February 9, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants