You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumping the version means that from the moment one user updates the lockfile to the newest version, all other users need to update the version of Pixi itself to use the new lockfile. This includes CI.
Bumping a lockfile version always comes with friction for our users, so we don't take these lightly. We have a set of changes lined up that require a lockfile update to avoid unexpected behavior for the users.
Removing editable from the lockfile.
This has been implemented in: #5106 This allows users to mix editable false and true in one solve-group
Removing input hashes from the lockfile.
The conda version is implemented in: #5011 The PyPI version is being implemented in: #5174 This will avoid lockfile updates when the source code changes, while it doesn't need changes of the dependencies in the environment. e.g. Pixi would previously need a lockfile update when you add a comment to your pyproject.toml.
Supporting relative paths to pypi source dependencies.
This has been implemented in rattler_lock: conda/rattler#1760 This solves the problem that there would be absolute paths in the lockfile which are not protable to other machines.
Disambiguate based on variants instead of name, version, subdir
Moving forward we want to disambiguate source packages through their variants. In this bump, we should at the very least ensure that we can disambiguate based on variants but maybe not yet remove the "old" fields.
We could achieve that by adding a seperate platforms table, listing all the platforms and their virtual packages, or by replacing the environment dictionaries with arrays of objects.
We also ran into another issue, where we are not able to disambiguate two packages properly (see: #5256). We want to change the way we disambiguate packages in the lock-file. Instead of disambiguating based on the fields of a record, we compute a "lockfilehash" which is a short hash which is then use to disambiguate.
We also want to remove the buildstring, and version from the lock-file for conda source packages. During build and solve, we can compute this information from a combination of the source-code, the build-backend, the package name, and the variants. So there is no need to explicitly store this in the lock file.
We should also add a field to the lock-file that indicates when the host and build environments were solved so we can relatively reliably recreate these environments later. This is required for better reproducibility.
Hi! Are there any updates on how this is going? I was especially looking forward to #5174 which seems to be blocked on this? My team is suffering quite a lot of lockfile churn and IIUC this would help quite a lot. It's not really urgent, but would be quite a good change :)
Yes, it's a big refactor with lots of changes in different places. The main pr you can follow to see the progression in Pixi as of right now is #5483 managed by @hunger
Reacted by uwu-420, Dave Hirschfeld and Tim de Jager
Activity
baszalmstra commentedon Jan 13, 2026
While we are at it, it would also be nice if we refactor the platforms in such a way that we could support this:
platformsto include their virtual packages. #4458We could achieve that by adding a seperate platforms table, listing all the platforms and their virtual packages, or by replacing the
environmentdictionaries with arrays of objects.baszalmstra commentedon Jan 13, 2026
We also ran into another issue, where we are not able to disambiguate two packages properly (see: #5256). We want to change the way we disambiguate packages in the lock-file. Instead of disambiguating based on the fields of a record, we compute a "lockfilehash" which is a short hash which is then use to disambiguate.
We also want to remove the
buildstring, andversionfrom the lock-file for conda source packages. During build and solve, we can compute this information from a combination of the source-code, the build-backend, the package name, and the variants. So there is no need to explicitly store this in the lock file.baszalmstra commentedon Jan 13, 2026
We should also add a field to the lock-file that indicates when the host and build environments were solved so we can relatively reliably recreate these environments later. This is required for better reproducibility.
uwu-420 commentedon Feb 11, 2026
Hi! Are there any updates on how this is going? I was especially looking forward to #5174 which seems to be blocked on this? My team is suffering quite a lot of lockfile churn and IIUC this would help quite a lot. It's not really urgent, but would be quite a good change :)
ruben-arts commentedon Feb 11, 2026
Yes, it's a big refactor with lots of changes in different places. The main pr you can follow to see the progression in Pixi as of right now is #5483 managed by @hunger
hunger commentedon Apr 13, 2026
conda/rattler#2026is the PR for the rattler side of things. I'd love to land this very soon now.