-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) #23142
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
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9de38bb
Mark distutils.sysconfig as deprecated
frenzymadness 2f73368
Import global paths from sysconfig module
frenzymadness 43d810e
Move some similar functions from distutils.sysconfig -> sysconfig
frenzymadness 2ca4dfd
Move the rest of global variables
frenzymadness 09f2617
Move the rest of functions to sysconfig
frenzymadness 24e0584
Import regexes used in tests
frenzymadness b9ee651
Implement compatibility option for parse_makefile
frenzymadness 12f92cf
Do not use assignment in teardown to not lose reference to global dict
frenzymadness 7b9b0c1
Ignore DeprecationWarning in pip code in ensurepip module
frenzymadness 6f5aa4f
Improve setUp/tearDown of UnixCCompilerTestCase
frenzymadness fca8adc
Improve or create setUp/tearDown methods for tests where sysconfig._C…
frenzymadness 318428d
Rename `distutils_compat` to `keep_unresolved` and reverse the logic
frenzymadness 6136978
Merge all import from sysconfig to one statement
frenzymadness e635dbd
Allow import of sysconfig when re module is not available
frenzymadness d8a8cf0
Add a TODO comment about PEP 632
frenzymadness e317db5
Mark distutils.sysconfig as deprecated in docs
frenzymadness 17206f0
Copy docs for get_python_inc and get_python_lib from distutils.syscon…
frenzymadness 04ef7af
Move customize_compiler back to distutils.sysconfig as it'll be remov…
frenzymadness 6015255
Fix import of not-yet-initialized _CONFIG_VARS
frenzymadness abc310b
Switch global vars from regex objects to raw strings and import re on…
frenzymadness 17aa9c4
Move get_python_lib and get_python_inc back to distutils.sysconfig
frenzymadness be181b6
News entry
frenzymadness e253a3d
Restore build_flags accidentally removed during a rebase
frenzymadness cd8e387
Update Doc/distutils/apiref.rst
frenzymadness File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow import of sysconfig when re module is not available
- Loading branch information
commit e635dbdd75d32cb71fd44f5563f9aff93c864262
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.