-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug where
python_version < '0'
could appear in a final resoluti…
…on (#8759) This PR fixes a bug where it was possible for dependencies to be included in a final resolution with markers that always evaluate to false. Specifically, `python_version < '0'`. While we do filter based on Python markers during forking, it turns out that the markers for each fork are "combined" *after* this filtering step. But the process of combination can result in a more specific marker that is always false for the configured Python requirement. This could result in dependencies with markers that are always false (like `python_version < '0'`) appearing in the resolution. The first commit in this PR adds a regression test (with an undesirable result), and the second commit fixes the regression and updates the test. Fixes #8676
- Loading branch information
1 parent
a90a8e7
commit 58a9811
Showing
2 changed files
with
262 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters