-
Notifications
You must be signed in to change notification settings - Fork 232
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
Make psutil dependency optional #585
Labels
Comments
manics
added a commit
to manics-archive/devspace
that referenced
this issue
Aug 17, 2020
This was referenced Aug 19, 2020
nicoddemus
added a commit
to nicoddemus/pytest-xdist
that referenced
this issue
Aug 24, 2020
…hook This reverts the behavior we had before psutil was a hard dependency, but opens up the possibility of customization through the pytest_xdist_auto_num_workers hook, making things like pytest-dev#477 possible. Fix pytest-dev#585
nicoddemus
added a commit
to nicoddemus/pytest-xdist
that referenced
this issue
Aug 25, 2020
This makes using psutil optional and opens up the possibility of customization through the pytest_xdist_auto_num_workers hook, making things like pytest-dev#477 possible. Fix pytest-dev#585
Released in 2.1.0. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As #583 shows, unfortunately
psutil
does not provide wheels for Linux (which is common), so in some systemspytest-xdist
is harder to install than it should be.I suggest we make
psutil
dependency optional, falling back to usingmultiprocessing
to detect the number of CPUs ifpsutil
is not installed.ref: #560
The text was updated successfully, but these errors were encountered: