Skip to content

bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) - #23142

Merged
encukou merged 24 commits into
python:masterfrom
frenzymadness:distutils_sysconfig
Apr 23, 2021
Merged

bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP)#23142
encukou merged 24 commits into
python:masterfrom
frenzymadness:distutils_sysconfig

Conversation

@frenzymadness

@frenzymadnessfrenzymadness commented Nov 4, 2020

Copy link
Copy Markdown
Contributor

This change:

  • merges distutils.sysconfig into sysconfig while keeping the original functionality and
  • marks distutils.sysconfig as deprecated

Commits basically describe my progress step by step. Some discussions already happened in my private PR.

PEP 632 is still a draft so I'm opening this PR the same. PEP proposal and discussion.

https://bugs.python.org/issue41282

Comment threadLib/sysconfig.py Outdated
Comment threadLib/sysconfig.py Outdated
@zoobazooba self-assigned this Nov 4, 2020
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actionsgithub-actionsBot added the stale Stale PR or inactive for long period of time. label Dec 16, 2020
@merwokmerwok removed the stale Stale PR or inactive for long period of time. label Dec 16, 2020
@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

This PR is waiting for a final decision about the PEP.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsBot added the stale Stale PR or inactive for long period of time. label Jan 16, 2021
@merwokmerwok removed awaiting review stale Stale PR or inactive for long period of time. labels Jan 16, 2021
@pradyunsg

Copy link
Copy Markdown
Member

The PEP is accepted now.

Comment threadDoc/distutils/apiref.rst Outdated
@frenzymadnessfrenzymadness changed the title PEP 632: Deprecate distutils.sysconfig (partial implementation of the PEP)bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP)Feb 9, 2021
@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

The pep is accepted so this PR is no longer a draft. Also, a note about the deprecation already exists here so I think it's enough to mention it once.

@frenzymadness
frenzymadness marked this pull request as ready for review February 9, 2021 12:38
@encukou

Copy link
Copy Markdown
Member

Can you add a NEWS entry?
(The blurb tool is packaged in Fedora, FWIW.)

@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

News entry added.

@zooba

Copy link
Copy Markdown
Member

I have no other comments, so unless someone else spots something I'll get this merged before the next alpha release. Thanks, @frenzymadness!

@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

I have no other comments, so unless someone else spots something I'll get this merged before the next alpha release. Thanks, @frenzymadness!

Thank you! AFAIK the next alpha should be released tomorrow. Will we include this in it?

@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

I've rebased the commits and fixed a conflict. The failing test is not related to this change.

Could you please merge this?

@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

@encukou see the last commit and PTAL.

@pradyunsg

Copy link
Copy Markdown
Member

And... Could someone also relabel this, to remove the "DO-NOT-MERGE" label here? :)

Comment threadDoc/distutils/apiref.rst Outdated
Co-authored-by: Éric Araujo <merwok@netwok.org>
@frenzymadness

Copy link
Copy Markdown
ContributorAuthor

@zooba could you please take a look at this PR? The time of the first beta release is approaching.

@encukou

Copy link
Copy Markdown
Member

The patch looks good to me, it was seen by many people and I see no objections. I'll merge and watch the buildbots.

@encukou
encukou merged commit 90d02e5 into python:masterApr 23, 2021
@frenzymadness
frenzymadness deleted the distutils_sysconfig branch April 26, 2021 08:00
@hroncok

Copy link
Copy Markdown
Contributor

I think there is a regression in distutils.sysconfig.parse_makefile() caused by this change.

https://bugs.python.org/issue44351

Sign up for freeto 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.

8 participants

@frenzymadness@pradyunsg@encukou@zooba@hroncok@merwok@the-knights-who-say-ni@bedevere-bot