Add xfail tests for case where specifications added as an extra are not honoured #8059
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds expected failing test cases for #7096.
Essentially pip ignores specifications in the extras if the package has already been specified in the
install_requires
. #7096 is essentially the same issue, but in that case it doesn't have anyinstall_requires
at all, and instead has two distinct but overlapping requirements in the extras.To be clear: I'm happy for this to not be merged - it would be completely reasonable to have concerns about adding quite so many functional tests (4), each of which comes with a significant execution overhead. I'm happy to receive guidance on where might be a better place for unit-testing of this code.
No news entry added.