Skip to content

Make psutil dependency optional #585

Closed
@nicoddemus

Description

@nicoddemus

As #583 shows, unfortunately psutil does not provide wheels for Linux (which is common), so in some systems pytest-xdist is harder to install than it should be.

I suggest we make psutil dependency optional, falling back to using multiprocessing to detect the number of CPUs if psutil is not installed.

ref: #560

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions