Draft
Conversation
6471a50 to
39e98b5
Compare
f352b94 to
63e87d8
Compare
f607c79 to
f8db5ae
Compare
f8db5ae to
4939ec3
Compare
When using `pixi list`, use data from the cached index data that we have stored. Fall back to leaving the data blank if nothing is cached. We do run into the blank data case occasionally: * Some repositories are to not get cached and uv accepts that * Some are not "simple" The `pytorch` index falls into both of those categories. Fixes: #5114 WIP: rattler-overrides, ABANDON THIS chore: Remove jlap support Rattler removed this, so it needs to go here as well. feat: Relative path support for pypi deps in Lockfile This PR replaces #4788! Make pixi 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 relative path that should work for all developers. This depends on the rattler part which is here: conda/rattler#1760 -- as seen in the feature/lockfile-v7 branch in the `conda/rattler` repository! The PR consists of several changes: - Update to the rattler_lock API changes made in feat: Relative path support in LockFile conda/rattler#1760 - Make sure the non-pep508-extensions are enabled in pixi as well Convert between uv relative paths and pixi relative paths - It adapts pyproject.toml parsing to preserve relative path in python requirements and in the `tool.pixi.pypi-dependencies` section The last is the big improvement over #4788. Relates to: #4680 chore: Handle rattler removing the editable flag from PyPiSourced chore: update to CondaSourceData having lost its input field chore: update to new errors being raised by rattler chore: Add initial platform support to pixi Simplistic approach: It just creates platforms based on conda's `Platform` without any virtual packages. Handle pypi-prerelease-mode no longer being an Option chore_ Update to pypi environment not being in the lockfile anymore chore: Handle optional version in pypi source dependencies We do not want to store the version number in case it is dynamic. chore: Implement support for index_url in pypi packages
All 3 lock-file read sites now use UnresolvedPixiRecord. Partial source records (from mutable path-based sources) are resolved to full PixiRecord via source_metadata() at the read boundary. No partial records propagate downstream. Write path: mutable source packages are now stored as partial records in the lock file (only name, depends, sources — no version/build/subdir). Immutable sources (git, url) remain full. Removed panicking PixiRecord::from_conda_package_data() and SourceRecord<Full>::from_conda_source_data() — all callers now go through UnresolvedPixiRecord which handles partial data safely.
4939ec3 to
6d3b032
Compare
ce353a4 to
bb8616d
Compare
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.
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.
Next steps: