summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wójcik <w8jcik@gmail.com>2024-02-12 00:07:54 +0100
committerGitHub <noreply@github.com>2024-02-11 16:07:54 -0700
commit97ec167452c1024aaac2cdc7a3649de3c27b2cd5 (patch)
tree69bad43093f2d14aabd644be52b24d5b703e21f4
parent2b8dcc0f57f0534a2dcd9a7c9316a2224aa374ab (diff)
downloadspack-97ec167452c1024aaac2cdc7a3649de3c27b2cd5.tar.gz
spack-97ec167452c1024aaac2cdc7a3649de3c27b2cd5.tar.bz2
spack-97ec167452c1024aaac2cdc7a3649de3c27b2cd5.tar.xz
spack-97ec167452c1024aaac2cdc7a3649de3c27b2cd5.zip
py-immutables: fix building, add new versions (#42530)
* py-immutables: fix building, add new versions * Explain constraint * py-immutables: Wrap line
-rw-r--r--var/spack/repos/builtin/packages/py-immutables/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-immutables/package.py b/var/spack/repos/builtin/packages/py-immutables/package.py
index 02fe3e6a1e..22ddcdc741 100644
--- a/var/spack/repos/builtin/packages/py-immutables/package.py
+++ b/var/spack/repos/builtin/packages/py-immutables/package.py
@@ -15,6 +15,8 @@ class PyImmutables(PythonPackage):
license("Apache-2.0")
+ version("0.20", sha256="1d2f83e6a6a8455466cd97b9a90e2b4f7864648616dfa6b19d18f49badac3876")
+ version("0.19", sha256="df17942d60e8080835fcc5245aa6928ef4c1ed567570ec019185798195048dcf")
version("0.18", sha256="5336c7974084cce62f7e29aaff81a3c3f75e0fd0a23a2faeb986ae0ea08d8cf4")
version("0.16", sha256="d67e86859598eed0d926562da33325dac7767b7b1eff84e232c22abea19f4360")
version("0.14", sha256="a0a1cc238b678455145bae291d8426f732f5255537ed6a5b7645949704c70a78")
@@ -22,5 +24,8 @@ class PyImmutables(PythonPackage):
depends_on("python@3.5:", type=("build", "run"))
depends_on("python@3.6:", type=("build", "run"), when="@0.16:")
depends_on("py-setuptools", type="build")
+ # setuptools 68 is more strict about the format of pyproject.toml and fails to install older
+ # versions of this package
+ depends_on("py-setuptools@:67", type="build", when="@:0.18")
depends_on("py-setuptools@42:", type="build", when="@0.16:")
depends_on("py-typing-extensions@3.7.4.3:", when="@0.16: ^python@:3.7", type=("build", "run"))