spack style: fix isort on sl:7 (#41133)

Bump the minimum version required for isort. This should fix
an issue reported on Scientific Linux 7, and due to:

https://github.com/PyCQA/isort/issues/1363
This commit is contained in:
Massimiliano Culpo
2023-11-21 06:24:37 +01:00
committed by GitHub
parent 964440a08b
commit b361ffbe22
2 changed files with 22 additions and 5 deletions

View File

@@ -161,7 +161,7 @@ def _write_spack_yaml_file(self) -> None:
def isort_root_spec() -> str:
"""Return the root spec used to bootstrap isort"""
return _root_spec("py-isort@4.3.5:")
return _root_spec("py-isort@5")
def mypy_root_spec() -> str: