-
Notifications
You must be signed in to change notification settings - Fork 41
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
Stop using poetry as a build backend #121
Comments
Just FYI—pip is a build frontend, not a backend. Setuptools, flit_core, Hatchling, pdm and poetry are all build backends (though some also offer build frontends too, at least for their own build system). |
Ah, thanks for the clarification :) |
Done and switched to |
NeilHanlon
added a commit
to neil-forks/pinnwand
that referenced
this issue
Oct 27, 2023
After the change from poetry to pdm in supakeen#121, it appears that some build systems have trouble groking what scripts to install due to the use of the poetry-specific entrypoint configuration in pyproject.toml. This change updates the pyproject.toml to use the [PEP-621](https://www.python.org/dev/peps/pep-0621) specification for identifying console_scripts/entrypoints, and resolves the build issue on Fedora. From my testing, there is no impact for installations via e.g. `pip`, as these tools will understand PEP-621 entrypoint specifications.
supakeen
pushed a commit
that referenced
this issue
Oct 28, 2023
After the change from poetry to pdm in #121, it appears that some build systems have trouble groking what scripts to install due to the use of the poetry-specific entrypoint configuration in pyproject.toml. This change updates the pyproject.toml to use the [PEP-621](https://www.python.org/dev/peps/pep-0621) specification for identifying console_scripts/entrypoints, and resolves the build issue on Fedora. From my testing, there is no impact for installations via e.g. `pip`, as these tools will understand PEP-621 entrypoint specifications.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Due to some concerns listed in python-poetry/poetry#3332 poetry does not as of yet support the PEP-621 form of shared metadata information.
As I want to be able to more easily switch build backends in the future let's switch to the pip build backend.
The text was updated successfully, but these errors were encountered: