Skip to content
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

Remove redundant wheel dep from pyproject.toml #7248

Merged
merged 1 commit into from
Jul 2, 2023

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Jul 2, 2023

Changes proposed in this pull request:

  • Remove redundant wheel dep from pyproject.toml

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

While Pillow uses a custom backend that modifies the bdist_wheel method, it does not import wheel or use it in a way that would rely on setuptools implementation details.

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

While Pillow uses a custom backend that modifies the `bdist_wheel`
method, it does not import `wheel` or use it in a way that would rely
on setuptools implementation details.
@radarhere
Copy link
Member

Thanks. I was looking at https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#fallback-behaviour when I added this in #7171

@mgorny
Copy link
Contributor Author

mgorny commented Jul 2, 2023

Thanks. I'll look into having an appropriate warning added there.

@hugovk hugovk merged commit 6b0b905 into python-pillow:main Jul 2, 2023
53 checks passed
@mgorny mgorny deleted the wheel branch July 2, 2023 17:17
@mgorny
Copy link
Contributor Author

mgorny commented Jul 2, 2023

Thanks again! I've filed pypa/pip#12122 to update pip documentation.

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

Successfully merging this pull request may close these issues.

None yet

3 participants