summaryrefslogtreecommitdiff
path: root/_distutils_hack
Commit message (Collapse)AuthorAgeFilesLines
* In ensure_local_distutils, re-use DistutilsMetaFinder to load the module. ↵bugfix/2906-distutils-raceJason R. Coombs2021-11-261-4/+8
| | | | Avoids race conditions when _distutils_system_mod is employed and fixes #2906.
* Relax the distutils deprecation regexMiro Hrončok2021-05-041-1/+1
| | | | | There is new message: > The distutils.sysconfig module is deprecated, use sysconfig instead
* Filter out distutils deprecation warning until the situation is resolvedMiro Hrončok2021-03-081-0/+5
| | | | | | The distutils platform problems are likely to be resolved before the removal. Once this happens, setuptools will no longer use distutils from the Python standard library.
* When pip is imported as part of a build, leave distutils patched. Fixes #2355.Jason R. Coombs2020-09-041-0/+13
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-09-041-2/+2
|
* Make stdlib distutils the default again. Stop the burning. Ref #2350 and others.Jason R. Coombs2020-09-021-1/+1
|
* In distutils hack, use absolute import rather than relative to avoid ↵Jason R. Coombs2020-09-011-1/+1
| | | | bpo-30876. Fixes #2352.
* Add Python 3.10 support to _distutils_hackVictor Stinner2020-09-011-1/+2
| | | | | Get the 'Loader' abstract class from importlib.abc rather than importlib.util.abc (alias removed in Python 3.10).
* Refactor to use lookups and consolidate behaviors.Jason R. Coombs2020-08-151-12/+8
|
* When pip is imported, unload any existing distutils and disable the ↵Jason R. Coombs2020-08-151-8/+11
| | | | DistutilsMetaFinder.
* Bypass .pth loader when distutils is loaded from pip. Workaround for ↵Jason R. Coombs2020-08-141-1/+12
| | | | pypa/pip#8761.
* Merge branch 'master' into bugfix/2232-adopt-distutils-defaultJason R. Coombs2020-08-131-4/+7
|\
| * Fix issue with distutils warningPaul Ganssle2020-08-101-4/+7
| |
* | Merge branch 'master' into bugfix/2232-adopt-distutils-defaultJason R. Coombs2020-08-101-1/+1
|/
* Restore location of 'enabled'Jason R. Coombs2020-08-081-8/+8
|
* remove shim should by symmetric to add_shimJason R. Coombs2020-08-051-1/+1
|
* Move all but a small shim in override into _distutils_hackJason R. Coombs2020-07-262-54/+52
|
* Replace install behavior on import with direct invocation (now that ↵Jason R. Coombs2020-07-261-5/+0
| | | | 'enabled' logic is duplicated in pth file).
* Rename _distutils_importer to _distutils_hack, as it supplies more than just ↵Jason R. Coombs2020-07-263-0/+104
an importer.