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

fix: conda transitive dependencies of pypi packages are properly extracted #967

Merged
merged 5 commits into from
Mar 14, 2024

Conversation

baszalmstra
Copy link
Contributor

Fixes #924

When solve-groups are involved only pypi packages may depend on certain conda packages. We were (naively) only adding conda packages to the solve set through conda matchspecs. This PR modifies the behavior of the satisfiability checks and construction of the environment subset by taking into account the conda and pypi requirements at the same time.

I also added a bunch of tests to verify the satisfiability. One of the tests is to verify that the lock-files of all examples are still satisfiable.

@ruben-arts ruben-arts enabled auto-merge (squash) March 14, 2024 15:20
@ruben-arts ruben-arts merged commit d1fb48f into prefix-dev:main Mar 14, 2024
15 checks passed
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.

PyPI transitive dependency missing from default environment
3 participants