aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-01-25 21:47:20 +0000
committerGravatar Chris Lovering <[email protected]>2022-01-25 21:49:59 +0000
commit6e791eb757f1213be737cd49433078ef7b06f484 (patch)
tree7ee023879d8f878c926c5f14348eff05dd34def0
parentAdded even more conversation starter topics. (#1014) (diff)
setuptools use stdlib distutils over embedded
This is caused by an upstream issue with setuptools 60.* (via virtualenv) changeing the default to using the setuptools-embedded distutils rather than the stdlib distutils, which breaks within pip's isolated builds. This is explained quite well here https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
-rw-r--r--.github/workflows/lint.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 756b3c16..14cfb702 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -26,6 +26,9 @@ jobs:
Mozilla Public License 2.0 (MPL 2.0);
Public Domain;
Python Software Foundation License
+ # See https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
+ # for why we set this.
+ SETUPTOOLS_USE_DISTUTILS: stdlib
# Configure pip to cache dependencies and do a user install
PIP_NO_CACHE_DIR: false