WheelBuilder copies from first folder named "lib.*" - which may not be the correct one #8390
Closed
4 tasks done
Labels
area/build-system
Related to PEP 517 packaging (see poetry-core)
kind/bug
Something isn't working as expected
-vvv
option) and have included the output below.Issue
in the WheelBuilder._build method the built library folder is detected by looking for the first folder matching
lib.*
:This works on a clean build, but may cause issues for a project with multiple build targets. E.g. on a project I have, the build directory looks like:
When a wheel is built targeting 3.11, poetry-core will incorrectly include the 3.9 libraries.
This probably isn't a high-priority issue since there's an easy work-around of just ensuring your build directory is cleaned prior to building the wheel.
If I have time later this week I can probably make a fix/PR for this issue.
The text was updated successfully, but these errors were encountered: