-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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-system] contents not honored #4871
Comments
Hello @bsvedin,
fin swimmer |
@finswimmer is there any way that Nuitka could hook the poetry wheel build just like it does with other systems now? With |
This is very import for poetry support customize build-backend; |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Windows 10
Poetry version: 1.1.12 - also tried 1.2.0a2
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/bsvedin/0b705d54dec6d1834cd2f2864b86cd9d
Issue
The contents of the [build-system] do not appear to be honored.
Specifically Nuitka (version 0.6.18) recently added the build meta for creating compiled whl files.
Updating the build-system section should be all that is required
[build-system]
requires = ["setuptools>=42", "wheel", "nuitka"]
build-backend = "nuitka.distutils.Build"
running "poetry build -f wheel" still builds readable source code wheel file
I have tried putting in nonsense in as well for the requires and build-backend values and it still builds the whl file without throwing an error.
e.g.
requires = ["l;kasdhfiosadhf", "wheel", "nuitka"]
build-backend = "l;kdsajosadhfl;ksdzxn"
It does throw an error if there are multiple entries for requires or build-backend saying TOMLError key already exists
e.g.
requires = ["setuptools>=42", "wheel", "nuitka"]
build-backend = "nuitka.distutils.Build"
build-backend = "poetry.core.masonry.api"
The text was updated successfully, but these errors were encountered: