From c26229efddb6cb9ee88ce77142039ab08ecf76ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez?= Date: Tue, 28 Dec 2021 11:35:31 -0600 Subject: [PATCH] Workaround for broken pip+setuptools interaction. See pre-commit/pre-commit#2178 --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 668d08c..11515ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,8 @@ jobs: linting: runs-on: ubuntu-latest + env: + SETUPTOOLS_USE_DISTUTILS: stdlib strategy: matrix: # Only lint using the primary version used for dev @@ -35,6 +37,8 @@ jobs: pytest: runs-on: ubuntu-latest + env: + SETUPTOOLS_USE_DISTUTILS: stdlib strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10"]