From 667c39987cbe95a4bdac9d3ef887d7e8da625569 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 17 Jun 2022 10:42:28 +0200 Subject: py-setuptools: install setuptools from wheels directly (#31131) When installing setuptools from sources in Spack, we might get into weird failures due to the way we use pip. In particular, for Spack it's necessary to install in a non-isolated pip environment to allow using PYTHONPATH as a selection method for all the build requirements of a Python package. This can fail when installing setuptools since there might be a setuptools version already installed for the Python interpreter being used, with different entry points than the one we want to install. Installing from wheels both pip and setuptools should harden our installation procedure in the context of: - Bootstrapping Python dependencies of Spack - Using external Python packages --- .github/workflows/unit_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/unit_tests.yaml') diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 781381c35d..301c50d202 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -44,7 +44,7 @@ jobs: python-version: '3.10' - name: Install Python packages run: | - pip install --upgrade pip six setuptools==62.3.4 types-six + pip install --upgrade pip six setuptools types-six - name: Setup git configuration run: | # Need this for the git tests to succeed. -- cgit v1.2.3-60-g2f50