Skip to content
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

Fix setuptools_wheel fixture #4308

Merged
merged 3 commits into from
Apr 21, 2024

Conversation

abravalheri
Copy link
Contributor

Summary of changes

Based on the test introduced in b4d3e83, 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

@abravalheri abravalheri marked this pull request as ready for review April 16, 2024 19:21
…/build/lib/... directories

Based on the test introduced in b4d3e83, 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 target that.
@abravalheri abravalheri force-pushed the fix-setuptools_wheel-fixture branch from 06726bb to 14ce350 Compare April 21, 2024 07:11
@abravalheri abravalheri merged commit 150798d into pypa:main Apr 21, 2024
21 checks passed
@abravalheri abravalheri deleted the fix-setuptools_wheel-fixture branch April 21, 2024 07:51
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.

1 participant