diff options
author | 2022-01-25 21:51:10 +0000 | |
---|---|---|
committer | 2022-01-26 12:32:49 +0200 | |
commit | d7095c40e83800cc379115ef45bd987a5deb4649 (patch) | |
tree | 20d98fea41c5e556f9fc656d78f8087b01b32f47 | |
parent | Add missing arguments to `notify_infraction` call (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-test.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index f2c9dfb6c..57cc544d9 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -46,6 +46,10 @@ jobs: PYTHONUSERBASE: ${{ github.workspace }}/.cache/py-user-base PRE_COMMIT_HOME: ${{ github.workspace }}/.cache/pre-commit-cache + # See https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763 + # for why we set this. + SETUPTOOLS_USE_DISTUTILS: stdlib + steps: - name: Add custom PYTHONUSERBASE to PATH run: echo '${{ env.PYTHONUSERBASE }}/bin/' >> $GITHUB_PATH |