Repository navigation
refactor: lockfile-v7 - #5607
Merged
Merged
Conversation
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
4 times, most recently
from
March 5, 2026 14:20
6471a50 to
39e98b5
Compare
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
5 times, most recently
from
March 6, 2026 15:09
f352b94 to
63e87d8
Compare
5 tasks done
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
9 times, most recently
from
March 13, 2026 11:08
69f2c3e to
0fb3a83
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Just built pixi from this branch and checked again, the bug with relative paths for local PyPI dependencies not working still exists here, see #5483 (comment) If this is fixed, I can test on my monorepo and provide more feedback :) |
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
3 times, most recently
from
March 20, 2026 10:55
5aac6f9 to
86e0ad6
Compare
Contributor
|
@uwu-420: I think I fixed the relative pypi paths again in a PR I will push as soon as I have rebased it on top of the new lockfile-v7 branch rebase @baszalmstra is currently doing :-) |
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
from
March 20, 2026 13:42
86e0ad6 to
4555235
Compare
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
2 times, most recently
from
May 1, 2026 10:17
82297af to
3e01268
Compare
Co-authored-by: Ruben Arts <ruben.arts@hotmail.com>
baszalmstra
force-pushed
the
feature/lockfile-v7
branch
from
May 1, 2026 10:29
3e01268 to
b490d4a
Compare
baszalmstra
marked this pull request as ready for review
May 1, 2026 11:24
Now that the lockfile-v7 work is merged on conda/rattler and released, drop the git-branch [patch.crates-io] overrides and bump rattler crates to the new published versions (rattler 0.41, rattler_conda_types 0.46, rattler_lock 0.29, etc.). Switches the rattler-build patch to track main branch since rattler-build still hasn't cut a release that targets the new rattler crates.
baszalmstra
pushed a commit
to baszalmstra/pixi
that referenced
this pull request
May 1, 2026
The lockfile-v7 refactor (prefix-dev#5607) introduced `read_local_package_metadata` which fell back to `get_or_build_wheel_metadata` when uv's static `requires_dist` declined. That fallback needs the host conda prefix to have Python, but cross-platform satisfiability runs on platforms that may not be in the lock at all. The resulting `PythonMissingError` panicked out through `LazyBuildDispatch::interpreter` past this path's missing `catch_unwind`, aborting `pixi run` / `pixi reinstall` on hosts whose platform was missing from the lock (e.g. macOS arm64 against a linux-64-only lock). Restrict the function to uv's static path. `Ok(Some)` feeds drift detection; `Ok(None)` (uv's "static doesn't apply" classification) trusts the lock; `Err` surfaces as `PlatformUnsat::FailedToReadLocalMetadata` to force a re-solve. Verified for uv 0.9.5 that `database.requires_dist` itself does not invoke the interpreter. Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> https://claude.ai/code/session_018Wo78WYzQZBRWQQ3zNSsE4
baszalmstra
pushed a commit
to baszalmstra/pixi
that referenced
this pull request
May 1, 2026
The lockfile-v7 refactor (prefix-dev#5607) introduced `read_local_package_metadata` which fell back to `get_or_build_wheel_metadata` when uv's static `requires_dist` declined. That fallback needs the host conda prefix to have Python, but cross-platform satisfiability runs on platforms that may not be in the lock at all. The resulting `PythonMissingError` panicked out through `LazyBuildDispatch::interpreter` past this path's missing `catch_unwind`, aborting `pixi run` / `pixi reinstall` on hosts whose platform was missing from the lock (e.g. macOS arm64 against a linux-64-only lock). Restrict the function to uv's static path. `Ok(Some)` feeds drift detection; `Ok(None)` (uv's "static doesn't apply" classification) trusts the lock; `Err` surfaces as `PlatformUnsat::FailedToReadLocalMetadata` to force a re-solve. Verified for uv 0.9.5 that `database.requires_dist` itself does not invoke the interpreter. Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> https://claude.ai/code/session_018Wo78WYzQZBRWQQ3zNSsE4
baszalmstra
pushed a commit
to baszalmstra/pixi
that referenced
this pull request
May 1, 2026
The lockfile-v7 refactor (prefix-dev#5607) introduced `read_local_package_metadata` which fell back to `get_or_build_wheel_metadata` when uv's static `requires_dist` declined. That fallback needs the host conda prefix to have Python, but cross-platform satisfiability runs on platforms that may not be in the lock at all. The resulting `PythonMissingError` panicked out through `LazyBuildDispatch::interpreter` past this path's missing `catch_unwind`, aborting `pixi run` / `pixi reinstall` on hosts whose platform was missing from the lock (e.g. macOS arm64 against a linux-64-only lock). Restrict the function to uv's static path. `Ok(Some)` feeds drift detection; `Ok(None)` (uv's "static doesn't apply" classification) trusts the lock; `Err` surfaces as `PlatformUnsat::FailedToReadLocalMetadata` to force a re-solve. Verified for uv 0.9.5 that `database.requires_dist` itself does not invoke the interpreter. Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> https://claude.ai/code/session_018Wo78WYzQZBRWQQ3zNSsE4
6 tasks done
baszalmstra
pushed a commit
to baszalmstra/pixi
that referenced
this pull request
May 6, 2026
The lockfile-v7 refactor (prefix-dev#5607) introduced `read_local_package_metadata` which fell back to `get_or_build_wheel_metadata` when uv's static `requires_dist` declined. That fallback needs the host conda prefix to have Python, but cross-platform satisfiability runs on platforms that may not be in the lock at all. The resulting `PythonMissingError` panicked out through `LazyBuildDispatch::interpreter` past this path's missing `catch_unwind`, aborting `pixi run` / `pixi reinstall` on hosts whose platform was missing from the lock (e.g. macOS arm64 against a linux-64-only lock). Restrict the function to uv's static path. `Ok(Some)` feeds drift detection; `Ok(None)` (uv's "static doesn't apply" classification) trusts the lock; `Err` surfaces as `PlatformUnsat::FailedToReadLocalMetadata` to force a re-solve. Verified for uv 0.9.5 that `database.requires_dist` itself does not invoke the interpreter. Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> https://claude.ai/code/session_018Wo78WYzQZBRWQQ3zNSsE4
baszalmstra
pushed a commit
to baszalmstra/pixi
that referenced
this pull request
May 6, 2026
The lockfile-v7 refactor (prefix-dev#5607) introduced `read_local_package_metadata` which fell back to `get_or_build_wheel_metadata` when uv's static `requires_dist` declined. That fallback needs the host conda prefix to have Python, but cross-platform satisfiability runs on platforms that may not be in the lock at all. The resulting `PythonMissingError` panicked out through `LazyBuildDispatch::interpreter` past this path's missing `catch_unwind`, aborting `pixi run` / `pixi reinstall` on hosts whose platform was missing from the lock (e.g. macOS arm64 against a linux-64-only lock). Restrict the function to uv's static path. `Ok(Some)` feeds drift detection; `Ok(None)` (uv's "static doesn't apply" classification) trusts the lock; `Err` surfaces as `PlatformUnsat::FailedToReadLocalMetadata` to force a re-solve. Verified for uv 0.9.5 that `database.requires_dist` itself does not invoke the interpreter. Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> https://claude.ai/code/session_018Wo78WYzQZBRWQQ3zNSsE4
baszalmstra
pushed a commit
to baszalmstra/pixi
that referenced
this pull request
May 6, 2026
The lockfile-v7 refactor (prefix-dev#5607) introduced `read_local_package_metadata` which fell back to `get_or_build_wheel_metadata` when uv's static `requires_dist` declined. That fallback needs the host conda prefix to have Python, but cross-platform satisfiability runs on platforms that may not be in the lock at all. The resulting `PythonMissingError` panicked out through `LazyBuildDispatch::interpreter` past this path's missing `catch_unwind`, aborting `pixi run` / `pixi reinstall` on hosts whose platform was missing from the lock (e.g. macOS arm64 against a linux-64-only lock). Restrict the function to uv's static path. `Ok(Some)` feeds drift detection; `Ok(None)` (uv's "static doesn't apply" classification) trusts the lock; `Err` surfaces as `PlatformUnsat::FailedToReadLocalMetadata` to force a re-solve. Verified for uv 0.9.5 that `database.requires_dist` itself does not invoke the interpreter. Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com> https://claude.ai/code/session_018Wo78WYzQZBRWQQ3zNSsE4
6 tasks done
2 tasks done
3 tasks done
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.
Future work not included in this PR.
Related issues
--lockedeven after runningpixi lock#5256pixi listomits "Size" and "Source" for non-PyPI PyPI-style registries #5114uvcache if using a non-default PyPI package index #5507pypi-prerelease-modeinpixi.lockif it's not used #5130