8000 pyproject.toml: explicitly set build-backend by Flowdalic · Pull Request #424 · gpoore/minted · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pyproject.toml: explicitly set build-backend #424

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

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

Flowdalic
Copy link
Contributor

I am currently in the progress of bumping Tex Live in Gentoo and this change is required for the bump.

Prior to this change, pyproject.toml would not set an build-backend, while the project also has no setup.py.

According to some experts from Gentoo's Python project, this is a violation of PEP 517, which states

If the pyproject.toml file is absent, or the build-backend key is missing, the source tree is not using this specification, and tools should revert to the legacy behaviour of running setup.py (either directly, or by implicitly invoking the setuptools.build_meta:legacy backend).

However, the project has no setup.py to invoke, hence Gentoo's infrastructor for building Python packages fails without the build-backend key being set.

Prior to this change, pyproject.toml would not set an build-backend,
while the project also has no setup.py.

According to some experts from Gentoo's Python project, this is a
violation of PEP 517, which states

"""
If the pyproject.toml file is absent, or the build-backend key is
missing, the source tree is not using this specification, and tools
should revert to the legacy behaviour of running setup.py (either
directly, or by implicitly invoking the setuptools.build_meta:__legacy__ backend).
"""

However, the project has no setup.py to invoke, hence Gentoo's
infrastructor for building Python packages fails without the
build-backend key being set.
@Flowdalic Flowdalic force-pushed the explicitly-set-build-backend branch from d12b20f to 45ccea4 Compare November 21, 2024 17:29
@gpoore gpoore merged commit 7d00a71 into gpoore:main Nov 25, 2024
@gpoore gpoore added the bug label Nov 25, 2024
@gpoore
Copy link
Owner
gpoore commented Nov 25, 2024

Thanks! I've merged all 3 minted-related pull requests, and released new versions of the latexminted, latex2pydata, and latexrestricted Python packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0