Skip to content

Conversation

@baszalmstra
Copy link
Collaborator

Description

Make the package record data optional for source records.

  • Still need to update the python bindings
  • Still need to create a stable hash for source packages

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
@baszalmstra baszalmstra linked an issue Jan 20, 2026 that may be closed by this pull request
@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.

rattler-lock v7: remove build and version from conda packages

2 participants