-
Notifications
You must be signed in to change notification settings - Fork 153
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
build.py causes FTBFS from alternative build tool #640
Comments
Just wanted to say that we have the exact same issue on Debian. Your patch fixes building, but I still get super odd behavior. E.g.
These are files clearly installed in the wrong directory. Also, I'm not sure if installing the Licenses to |
revert back to use picobuild instead of python build for reuse. See fsfe/reuse-tool#640 for more details Signed-off-by: Konrad Weihmann <[email protected]>
@stephanlachnit Your bug is fixed in #657 and has been released as a patch in v1.1.1. |
@carmenbianca the licenses are still installed:
The other files (README etc) are gone though. |
It might be easier to switch away from Poetry to something with a proven track record. |
I'm sure you can achieve good results with poetry, but I agree that I think there is not a lot of experience in terms of distribution yet (at least on the end user side). |
Regarding the licences: This is deliberate Poetry behaviour. See python-poetry/poetry-core#57. I did nothing to configure this. By mere virtue of the |
@grawlinson @stephanlachnit #674 should fix the bug listed in the original comment. It turned out to be surprisingly easy. I aim to have a patch release (v1.1.2) out really soon that contains exclusively this fix (+ the fix from v1.1.1, obviously). Thank you for being awesome maintainers! |
Closed by #675. v1.1.2 is released on PyPI. Thanks again @ maintainers! |
Can confirm it works, thanks @carmenbianca! |
Hey, package maintainer from Arch Linux here. 👋
Just picking up our conversation from #600.
I can't seem to get reuse to build from source when using the
build
module to generate Python wheels.Why do we use build? Well ...
Because there are ~5 (at last count) different ways to build a Python project that is PEP-517 compatible, hence us trying to only use the `build` module to build wheels rather than remembering the various CLI invocations for each individual tool. `build` is smart enough to hook into these other PEP-517 compatible builders and use their own build systems to generate a wheel/sdist archive.The only hint I have of something breaking is running the following:
The command fails successfully, resulting in no wheel archive in
dist/
.Any subsequent invocations of
python -m build --help
result in no output and no wheel archive indist/
:For reference, this is the normal output:
After flailing around, I've managed to find a horrible horrible hacky workaround that I most definitely am not proud of. Here be dragons.
The text was updated successfully, but these errors were encountered: