-
Notifications
You must be signed in to change notification settings - Fork 1k
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 pluggy requirement #920
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me, the relevant pip issue is pypa/pip#988.
requirements-dev.txt
Outdated
@@ -18,5 +18,6 @@ pygments==2.1.3 | |||
mock==2.0.0 | |||
requests==2.18.4 | |||
hypothesis==3.56.3 | |||
pluggy<0.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a comment about why this dependency is being added here, since it's not really a direct dependency and it's likely in N months we'll forget why it's here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
Pluggy released 0.7.0 and 0.7.1 and the way pip does dependency resolution it doesn't catch that pytest requires < 0.7. Hoisting the requirement of <0.7 up to the top of requirements-dev.txt allows pip to pull in the correct version of pluggy which is 0.6.0.
Codecov Report
@@ Coverage Diff @@
## master #920 +/- ##
=======================================
Coverage 95.52% 95.52%
=======================================
Files 27 27
Lines 4449 4449
Branches 558 558
=======================================
Hits 4250 4250
Misses 128 128
Partials 71 71 Continue to review full report at Codecov.
|
Pluggy released 0.7.0 and 0.7.1and the way pip does dependency
resolution it doesn't catch that pytest requires < 0.7. Hoisting the
requirement of <0.7 up to the top of requirements-dev.txt allows pip to
pull in the correct version of pluggy which is 0.6.0.