summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/valid-style.yml1
-rw-r--r--lib/spack/spack/bootstrap/environment.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/valid-style.yml b/.github/workflows/valid-style.yml
index 8faa6a0747..6132ce76cf 100644
--- a/.github/workflows/valid-style.yml
+++ b/.github/workflows/valid-style.yml
@@ -81,6 +81,7 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
+ spack debug report
spack -d bootstrap now --dev
spack style -t black
spack unit-test -V
diff --git a/lib/spack/spack/bootstrap/environment.py b/lib/spack/spack/bootstrap/environment.py
index 36bbc0d260..158b7ecae3 100644
--- a/lib/spack/spack/bootstrap/environment.py
+++ b/lib/spack/spack/bootstrap/environment.py
@@ -175,12 +175,12 @@ def black_root_spec() -> str:
def flake8_root_spec() -> str:
"""Return the root spec used to bootstrap flake8"""
- return _root_spec("py-flake8")
+ return _root_spec("py-flake8@3.8.2:")
def pytest_root_spec() -> str:
"""Return the root spec used to bootstrap flake8"""
- return _root_spec("py-pytest")
+ return _root_spec("py-pytest@6.2.4:")
def ensure_environment_dependencies() -> None: