Skip to content

Stop bundling setuptools for Python 3.12+ - #301

Merged
zanieb merged 1 commit into
astral-sh:mainfrom
edmorley:python-312-no-setuptools
Sep 9, 2024
Merged

Stop bundling setuptools for Python 3.12+#301
zanieb merged 1 commit into
astral-sh:mainfrom
edmorley:python-312-no-setuptools

Conversation

@edmorley

Copy link
Copy Markdown
Contributor

For parity with the ensurepip and venv modules, which no longer install setuptools as of Python 3.12:

Fixes #300.

@indygreg

Copy link
Copy Markdown
Collaborator

This PR seems technically sound. But I'd like a few questions answered at #300 (comment) before merging this.

For parity with the `ensurepip` and `venv` modules, which no
longer install setuptools as of Python 3.12:
- python/cpython#95299
- python/cpython@ece20db

Fixes astral-sh#300.
@edmorley
edmorley force-pushed the python-312-no-setuptools branch from 61726b5 to def7bc2 Compare September 7, 2024 08:38
@edmorley

edmorley commented Sep 7, 2024

Copy link
Copy Markdown
Contributor Author

I've rebased on main after the recent PR merges.

@edmorley

edmorley commented Sep 9, 2024

Copy link
Copy Markdown
Contributor Author

Are you happy for this to be merged? :-)

@zanieb

zanieb commented Sep 9, 2024

Copy link
Copy Markdown
Member

Thanks for rebasing! I might ship this after the other changes?

@zanieb

zanieb commented Sep 9, 2024

Copy link
Copy Markdown
Member

Eh, after thinking a bit more I don't really want to ship setuptools with Python 3.13 if we're going to remove it anyway, so it seems better to do it all at once.

@zanieb
zanieb merged commit 3d279ba into astral-sh:main Sep 9, 2024
@edmorley
edmorley deleted the python-312-no-setuptools branch September 9, 2024 12:11
@edmorley

edmorley commented Sep 9, 2024

Copy link
Copy Markdown
Contributor Author

Many thanks :-)

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.

Stop bundling setuptools for Python 3.12+

3 participants