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 incorrect package being selected with transitive markers #3944

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

sdispater
Copy link
Member

This PR fixes an issue that appeared in #3905 where an incorrect package version was resolved depending on environment markers and the resolution order (see #3905 (comment) for a more detailed explanation).

The trick here is to resolve the non-conditional dependencies first.

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

@sdispater sdispater added kind/bug Something isn't working as expected area/solver Related to the dependency resolver labels Apr 14, 2021
@sdispater sdispater requested a review from a team April 14, 2021 12:24
@abn abn merged commit 3a789a7 into master Apr 14, 2021
@abn abn deleted the fix-incorrect-package-selection-transitive-markers branch April 14, 2021 13:21
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/solver Related to the dependency resolver kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants