From d45674c1cbb726e1ad625f32d873ef79da92e90d Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sat, 22 May 2021 15:35:07 -0700 Subject: Spack can Use RHEL8's `platform-python` if nothing else is available. (#23857) This adds RHEL8's `/usr/libexec/platform-python` to Spack's list of preferred pythons. It will only be used if no other `python` is available in the `PATH`. We have been testing with this python for a while now, and it seems to do all that we need. If Spack one day isn't able to work with it, we'll take it out, but for now it is useful to allow Spack to be used on RHEL8 without a dedicated `python` installation. --- .github/workflows/unit_tests.yaml | 2 -- 1 file changed, 2 deletions(-) (limited to '.github/workflows/unit_tests.yaml') diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index e45e1aad1b..804d7fa125 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -283,8 +283,6 @@ jobs: useradd spack-test chown -R spack-test . - name: Run unit tests - env: - SPACK_PYTHON: /usr/libexec/platform-python shell: runuser -u spack-test -- bash {0} run: | source share/spack/setup-env.sh -- cgit v1.2.3-60-g2f50