Skip to content

refactor: Update pypi package handling#5716

Open
hunger wants to merge 4 commits intoprefix-dev:feature/lockfile-v7from
hunger:push-yoqosqquvnuq
Open

refactor: Update pypi package handling#5716
hunger wants to merge 4 commits intoprefix-dev:feature/lockfile-v7from
hunger:push-yoqosqquvnuq

Conversation

@hunger
Copy link
Contributor

@hunger hunger commented Mar 17, 2026

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
Copy link
Contributor Author

hunger commented Mar 18, 2026

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 2 times, most recently from 67277dd to 7ef6dc6 Compare March 18, 2026 13:19
hunger added 3 commits March 18, 2026 13:23
... 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.
@hunger hunger force-pushed the push-yoqosqquvnuq branch from 7ef6dc6 to e8eaae9 Compare March 18, 2026 13:24
@hunger hunger force-pushed the push-yoqosqquvnuq branch from e8eaae9 to ff299d4 Compare March 18, 2026 14:10
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.

1 participant