Skip to content

Add setuptools as an explicit build requirement #25973

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
May 25, 2023

Conversation

ksunden
Copy link
Member

@ksunden ksunden commented May 24, 2023

PR summary

From the virtualenv user guide:

Installing setuptools and wheel is disabled by default on Python 3.12+ environments.

This is just explicitly requiring setuptools that has otherwise been
provided by default. While we may be "saved" for a bit longer yet by
transitive dependency on setuptools (e.g. via setuptools_scm), better to
be explicit. (And even setuptools_scm is likely to drop the dependency,
actually, according to @henryiii)

PR checklist

From the [virtualenv user guide](https://virtualenv.pypa.io/en/latest/user_guide.html#seeders):
>  Installing setuptools and wheel is disabled by default on Python 3.12+ environments.

This is just explicitly requiring setuptools that has otherwise been
provided by default. While we may be "saved" for a bit longer yet by
transitive dependency on setuptools (e.g. via setuptools_scm), better to
be explicit. (And even setuptools_scm is likely to drop the dependency,
actually, according to @henryiii)
@tacaswell tacaswell added this to the v3.7.2 milestone May 24, 2023
@QuLogic QuLogic merged commit 7b821ce into matplotlib:main May 25, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request May 25, 2023
rcomer added a commit that referenced this pull request May 25, 2023
…973-on-v3.7.x

Backport PR #25973 on branch v3.7.x (Add setuptools as an explicit build requirement)
@QuLogic QuLogic added the Build label May 25, 2023
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.

3 participants