Skip to content

refactor: Update pypi package handling#5716

Merged
baszalmstra merged 4 commits into
prefix-dev:feature/lockfile-v7from
hunger:push-yoqosqquvnuq
Mar 24, 2026
Merged

refactor: Update pypi package handling#5716
baszalmstra merged 4 commits into
prefix-dev:feature/lockfile-v7from
hunger:push-yoqosqquvnuq

Conversation

@hunger

@hunger hunger commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Description

Update how Pypi packages are represented in pixi, inspired by Bas work on Conda.

This needs my latest PR to rattler's lockfile-v7 for the final tests to work.

How Has This Been Tested?

Some extra unit tests.

AI Disclosure

None here

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.
  • I have verified that changes that would impact the JSON schema have been made in schema/model.py.

@hunger hunger requested a review from baszalmstra March 17, 2026 17:38
@hunger

hunger commented Mar 18, 2026

Copy link
Copy Markdown
Contributor Author

These checks fail as rattler does not have the required PR merged into the lockfile-v7 branch yet.

@hunger hunger force-pushed the push-yoqosqquvnuq branch 4 times, most recently from e8eaae9 to ff299d4 Compare March 18, 2026 14:10
@baszalmstra baszalmstra force-pushed the feature/lockfile-v7 branch 4 times, most recently from 86e0ad6 to 4555235 Compare March 20, 2026 13:42
hunger added 4 commits March 23, 2026 09:14
... so we can introduce a ResolvedPypiRecord later.
... with just the data needed to install a pypi package.

Avoids some needless copied of the LockFile data -- which is
incomplete for some use cases anyway.
We no longer store `editable` for pypi projects, so we do not need to
check whether the editable state from the projects wins over it.
@hunger hunger force-pushed the push-yoqosqquvnuq branch from ff299d4 to ea801b0 Compare March 23, 2026 09:45
@baszalmstra baszalmstra merged commit f65bbbd into prefix-dev:feature/lockfile-v7 Mar 24, 2026
37 checks passed
baszalmstra pushed a commit to baszalmstra/pixi that referenced this pull request Mar 26, 2026
hunger added a commit that referenced this pull request Apr 13, 2026
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.

2 participants