Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: lock-file API #942

Open
wants to merge 9 commits into
base: feat/pixi-build
Choose a base branch
from

Conversation

baszalmstra
Copy link
Collaborator

This PR significantly refactors the lock-file API to make the distinction between source and binary conda packages. It also changes the way we handle borrowing data from the lock-file, preferring borrowing over owned objects.

The Python bindings have also been completely refactored to be more pythonic. Instead of having a single LockedPackage there is no a class hierarchy of LockedPackage -> CondaLockedPackage, PypiLockedPackage -> CondaLockedSourcePackage and CondaLockedBinaryPackage.

@baszalmstra baszalmstra changed the title refactor: lock-file API refactor!: lock-file API Nov 15, 2024
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