Based on the test introduced in https://github.com/pypa/setuptools/commit/b4d3e83f0764e0c38ed57d688c301624ef08d1ea, we can see that when none of PRE_BUILT_SETUPTOOLS_SDIST or PRE_BUILT_SETUPTOOLS_WHEEL is set, the setuptools_wheel fixture keeps recursively creating build/lib/build/lib/... directories which slows down the tests and creates a huge amount of unnecessary files.
This change tries to avoid that by building simultaneously sdist/wheel.
Closes
Pull Request Checklist
[ ] Changes have tests
[ ] News fragment added in newsfragments/.
(See [documentation][PR docs] for details)
Summary of changes
Based on the test introduced in https://github.com/pypa/setuptools/commit/b4d3e83f0764e0c38ed57d688c301624ef08d1ea, we can see that when none of
PRE_BUILT_SETUPTOOLS_SDIST
orPRE_BUILT_SETUPTOOLS_WHEEL
is set, thesetuptools_wheel
fixture keeps recursively creatingbuild/lib/build/lib/...
directories which slows down the tests and creates a huge amount of unnecessary files.This change tries to avoid that by building simultaneously
sdist
/wheel
.Closes
Pull Request Checklist
newsfragments/
. (See [documentation][PR docs] for details)[PR docs]: https://setuptools.pypa.io/en/latest/development/developer-guide.html#making-a-pull-request