-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
deps: bump pytest-xdist to 1.22.4 #6253
Conversation
😕
|
Python 2.7, of course. |
Ah. I didn't realize We may have a solution when pytest-dev/pytest-xdist#317 is released though. |
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.
Other than my inline comment, this LGTM! Thanks again @greut.
Now that pytest-dev/pytest-xdist#318 has landed, tests should pass when you submit followup commits.
tox.ini
Outdated
@@ -121,7 +121,7 @@ commands = | |||
|
|||
[testenv:cover] | |||
basepython = python2.7 | |||
passenv = NUMPROCESSES | |||
passenv = TRAVIS |
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.
In addition to setting this here, I think we should set it in the [testenv]
environment and inherit it in all of the [testenv:py27-*oldest]
environments like we do for setenv
. This should cause the variable to be passed through for all relevant Python 2.7 tests.
8db3377
to
0487276
Compare
bumping pytest leads to all sorts of trouble with |
Looks like they require a newer version |
@bmw it requires |
I think this requirement was removed in |
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
yay 👍 |
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.
Yay indeed! Thanks a lot for the PRs here and against pytest-xdist
for this @greut.
Latest pytest-xdist knows how to properly read the number of processes given by Travis.
cf #6236, reverts #6211