bootstrap: add minimum versions required for flake8 and pytest (#38322)
This commit is contained in:
parent
c74fa648b9
commit
c8d95512fc
2 changed files with 3 additions and 2 deletions
1
.github/workflows/valid-style.yml
vendored
1
.github/workflows/valid-style.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue