diff options
author | Eric Berquist <ejberqu@sandia.gov> | 2024-02-11 15:29:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 14:29:26 -0600 |
commit | b3369ac66982d7c8770b3e425b2da502455e5c1a (patch) | |
tree | a0aa92e69d9a15ee5d02b226cdb0776cd6a0bf75 | |
parent | e68fde6f4e2b071176086e0845ea63efdeec26b6 (diff) | |
download | spack-b3369ac66982d7c8770b3e425b2da502455e5c1a.tar.gz spack-b3369ac66982d7c8770b3e425b2da502455e5c1a.tar.bz2 spack-b3369ac66982d7c8770b3e425b2da502455e5c1a.tar.xz spack-b3369ac66982d7c8770b3e425b2da502455e5c1a.zip |
Add pre-commit 3.6.0 (#42404)
* Add pre-commit 3.6.0
* pre-commit 3.6.0 drops support for Python <3.9
-rw-r--r-- | var/spack/repos/builtin/packages/py-pre-commit/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pre-commit/package.py b/var/spack/repos/builtin/packages/py-pre-commit/package.py index 4b288178bc..8ebe37d091 100644 --- a/var/spack/repos/builtin/packages/py-pre-commit/package.py +++ b/var/spack/repos/builtin/packages/py-pre-commit/package.py @@ -15,6 +15,7 @@ class PyPreCommit(PythonPackage): license("MIT") + version("3.6.0", sha256="d30bad9abf165f7785c15a21a1f46da7d0677cb00ee7ff4c579fd38922efe15d") version("3.5.0", sha256="5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32") version("3.3.3", sha256="a2256f489cd913d575c145132ae196fe335da32d91a8294b7afe6622335dd023") version("2.20.0", sha256="a978dac7bc9ec0bcee55c18a277d553b0f419d259dadb4b9418ff2d00eb43959") @@ -22,6 +23,7 @@ class PyPreCommit(PythonPackage): version("2.10.1", sha256="399baf78f13f4de82a29b649afd74bef2c4e28eb4f021661fc7f29246e8c7a3a") version("1.20.0", sha256="9f152687127ec90642a2cc3e4d9e1e6240c4eb153615cb02aa1ad41d331cbb6e") + depends_on("python@3.9:", when="@3.6:", type=("build", "run")) depends_on("python@3.8:", when="@3:", type=("build", "run")) depends_on("python@3.7:", when="@2.20.0:", type=("build", "run")) depends_on("python@3.6.1:", when="@2.1.0:", type=("build", "run")) |