Skip to content

Remove incorrect dependencies from build-system section of pyproject.toml #405

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 4 commits into from
Apr 3, 2023

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Apr 3, 2023

Remove wheel and build dependencies from pyproject.toml. The former is added automatically by setuptools and is incorrect for sdist, the latter is frontend rather than backend.

(described in detail in commit messages)

mgorny and others added 3 commits April 3, 2023 04:41
Remove the redundant `wheel` dependency, as it is added by the backend
automatically.  Listing it explicitly in the documentation was
a historical mistake and has been fixed since, see:
pypa/setuptools@f7d30a9
Remove the dependency on `build` that is irrelevant to backend
dependencies.  `build` is one of the PEP517 frontends, and as such
it needs to be installed on the system starting PEP517 build rather than
inside the virtual environment used to perform the builds.
@tomschr
Copy link
Member

tomschr commented Apr 3, 2023

@mgorny Thanks for your contribution! Much appreciated! 👍

This was a remnant from Python 3.6. I've also updated tox.ini which contained these dependencies.

If you are okay with it, I can merge it.

@tomschr tomschr added Release_3.x.y Only for the major release 3 Infra All about infrastructure (GitHub Action, project build etc.) labels Apr 3, 2023
@tomschr tomschr merged commit 3215a99 into python-semver:master Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infra All about infrastructure (GitHub Action, project build etc.) Release_3.x.y Only for the major release 3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants