Skip to content

Remove unnecessary build-system entries #14172

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

Closed

Conversation

dvzrv
Copy link
Contributor

@dvzrv dvzrv commented Nov 23, 2022

pyproject.toml:
Remove all unneeded entries from the build-system table. The build-system entries are required for building the wheels and sdist tarballs of a project [1][2].
They should not include the test and runtime requirements of a project, which are defined either in setup.py or in in pyproject.toml (in accordance with PEP0621 [3]).
Only stating the required build system dependencies allows downstream consumers to properly build and install a project using pypa/build and pypa/installer.

{build,mypy}-requirements.txt:
Remove unnecessary note about syncing contents with pyproject.toml.

[1] https://peps.python.org/pep-0517/
[2] https://peps.python.org/pep-0518/
[3] https://peps.python.org/pep-0621/

Fixes #14171

pyproject.toml:
Remove all unneeded entries from the `build-system` table.
The build-system entries are required for building the wheels and sdist
tarballs of a project [1][2].
They should not include the test and runtime requirements of a project,
which are defined either in setup.py or in in pyproject.toml (in
accordance with PEP0621 [3]).
Only stating the required build system dependencies allows downstream
consumers to properly build and install a project using pypa/build and
pypa/installer.

{build,mypy}-requirements.txt:
Remove unnecessary note about syncing contents with pyproject.toml.

[1] https://peps.python.org/pep-0517/
[2] https://peps.python.org/pep-0518/
[3] https://peps.python.org/pep-0621/
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@hauntsaninja hauntsaninja added the pending Issues that may be closed label Nov 23, 2022
@hauntsaninja
Copy link
Collaborator

Closing as per discussion in #14171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending Issues that may be closed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.981 Introduces unnecessary build requirements
2 participants