-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add --parallel-threads="auto"
or similar
#23
Comments
This might require a dependency on |
Seems like a good idea to me.
I think so too. I don't remember all of the details, but I needed this for SciPy's |
Sounds like a good idea to me too. FWIW here's what |
This ended up not being needed by bcrypt so I probably won't implement it quickly. If someone else gets a chance or has a need, please feel free. |
Will work on this tomorrow. |
This would choose a number of CPUs equal to the number of logical cores. It's surprisingly tricky and platform-dependent to get the correct answer so it would be best for
pytest-run-parallel
to depend on e.g.os.process_cpu_count
on 3.13 and newer and use platform-specific fallbacks on older Python versions.The text was updated successfully, but these errors were encountered: