GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [POC] gh-85454: Extract and inject distutils from setuptools whl by tiran · Pull Request #95254 · python/cpython

Conversation

@tiran

@tiran tiran commented Jul 25, 2022 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Extract the wheel from ensurepip's bundle and inject setuptools and
distutils into sys.path.

  • Issue: Deprecate and remove distutils #85454

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tiran
pythongh-85454: Extract and inject distutils from setuptools whl
b12ddb7
Extract the wheel from ensurepip's bundle and inject setuptools and
distutils into sys.path.
@bedevere-bot bedevere-bot added the awaiting core review label Jul 25, 2022
@tiran

tiran commented Jul 25, 2022

Copy link
Copy Markdown
Member Author

This looks kinda horrible but it works surprisingly well.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tiran
distutils tests need missing_compiler_executable
9a72220
@tiran tiran mentioned this pull request Aug 4, 2022
Deprecate and remove distutils #85454
Closed
@encukou

encukou commented Aug 4, 2022

Copy link
Copy Markdown
Member

In the long term, pip will probably stop containing setuptools.
Maybe we should do this with sysconfig, at least for some platforms. It's something we could then also use in the tutorial: of course the tutorial should recommend third-party tools, from Cython to setuptools, but that should be links to their docs. IMO, it would be helpful to doc & test using sysconfig to get a bare-bones gcc/clang command line for a simple extension.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pradyunsg

pradyunsg commented Sep 23, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

FWIW, this isn’t a long-term concern: (puts on pip maintainer hat) we want to do it, for 3.12.

#95299

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner vstinner mentioned this pull request Jun 19, 2023
PEP 632: Remove the distutils package (Python 3.12) #92584
Closed
@vstinner

vstinner commented Jun 30, 2023

Copy link
Copy Markdown
Member

Is this PR still relevant? It's now outdated. I closed #92584

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pradyunsg

pradyunsg commented Oct 12, 2023

Copy link
Copy Markdown
Member

This is no longer relevant.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pradyunsg pradyunsg closed this Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal Awaiting requested review from pablogsal pablogsal will be requested when the pull request is marked ready for review pablogsal is a code owner
@lysnikolaou lysnikolaou Awaiting requested review from lysnikolaou lysnikolaou will be requested when the pull request is marked ready for review lysnikolaou is a code owner
@brettcannon brettcannon Awaiting requested review from brettcannon brettcannon will be requested when the pull request is marked ready for review brettcannon is a code owner
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently will be requested when the pull request is marked ready for review ericsnowcurrently is a code owner
@ncoghlan ncoghlan Awaiting requested review from ncoghlan ncoghlan will be requested when the pull request is marked ready for review ncoghlan is a code owner
@warsaw warsaw Awaiting requested review from warsaw warsaw will be requested when the pull request is marked ready for review warsaw is a code owner
@FFY00 FFY00 Awaiting requested review from FFY00 FFY00 will be requested when the pull request is marked ready for review FFY00 is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

awaiting core review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@tiran @encukou @pradyunsg @vstinner @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.