Skip to content

Conversation

@nicoddemus
Copy link
Member

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, also making things like #477 possible.

cc @utapyngo

Fix #585

…ount"

This reverts commit 0094b29, reversing
changes made to c6255fa.
@nicoddemus nicoddemus changed the title Revert psutil dependency and introduce pytest_xdist_auto_num_workers Make psutil dependency optional and introduce pytest_xdist_auto_num_workers 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
@nicoddemus nicoddemus merged commit 9fd3b66 into pytest-dev:master Aug 25, 2020
@nicoddemus nicoddemus deleted the auto-hook branch August 25, 2020 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make psutil dependency optional

2 participants