This makes using psutil optional and opens up the possibility of customization through the pytest_xdist_auto_num_workers hook, making things like #477 possible. Fix #585
4 lines
244 B
ReStructuredText
4 lines
244 B
ReStructuredText
``psutil`` has proven to make ``pytest-xdist`` installation in certain platforms and containers problematic, so to use it for automatic number of CPUs detection users need to install the ``psutil`` extra::
|
|
|
|
pip install pytest-xdist[psutil]
|