summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2022-11-15 13:05:14 -0500
committerGitHub <noreply@github.com>2022-11-15 10:05:14 -0800
commit8dda4ff60b992f63913282d6ec6b36cf5b036d57 (patch)
treeffa91f2458ea63feb32228ca490a7018d82c49c0
parent0811f81a09bbe87274a9aae093245ff7d8a4af9c (diff)
downloadspack-8dda4ff60b992f63913282d6ec6b36cf5b036d57.tar.gz
spack-8dda4ff60b992f63913282d6ec6b36cf5b036d57.tar.bz2
spack-8dda4ff60b992f63913282d6ec6b36cf5b036d57.tar.xz
spack-8dda4ff60b992f63913282d6ec6b36cf5b036d57.zip
nsimd: Update Python requirements (#33879)
We need Python 3.0:3.9
-rw-r--r--var/spack/repos/builtin/packages/nsimd/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/nsimd/package.py b/var/spack/repos/builtin/packages/nsimd/package.py
index c6d8a86bc3..1ca8655e0d 100644
--- a/var/spack/repos/builtin/packages/nsimd/package.py
+++ b/var/spack/repos/builtin/packages/nsimd/package.py
@@ -57,9 +57,13 @@ class Nsimd(CMakePackage):
# The C++ interface requires a C++11 compiler to use.
depends_on("cmake@2.8.7:", type="build")
depends_on("cmake@3.0.2:", type="build", when="@2:")
- depends_on("python@3:", type="build")
+ # We need `collections.MutableMapping`, which was removed in
+ # Python 3.10; see
+ # <https://docs.python.org/3.9/library/collections.html>
+ depends_on("python@3.0:3.9", type="build")
depends_on("py-chardet", type="build", when="@3:")
depends_on("py-requests", type="build", when="@3:")
+ depends_on("py-urllib3", type="build", when="@3:")
@run_before("cmake")
def generate_code(self):