summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-qiskit-terra/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-qiskit-terra/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-qiskit-terra/package.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-qiskit-terra/package.py b/var/spack/repos/builtin/packages/py-qiskit-terra/package.py
index dbbed86947..d7d225f7cf 100644
--- a/var/spack/repos/builtin/packages/py-qiskit-terra/package.py
+++ b/var/spack/repos/builtin/packages/py-qiskit-terra/package.py
@@ -15,6 +15,7 @@ class PyQiskitTerra(PythonPackage):
homepage = "https://github.com/Qiskit/qiskit-terra"
pypi = "qiskit-terra/qiskit-terra-0.18.3.tar.gz"
+ version("0.23.3", sha256="8f2f61622c28ad38db95d9bbacb03b9743923581545df08eb5047fa86f4de198")
version("0.22.2", sha256="efd212cd98479ebedc8cc1f93d4eb8039f21c07bd39a62065b584e02d72e632d")
version("0.18.3", sha256="8737c8f1f4c6f29ec2fb02d73023f4854a396c33f78f4629a861a3e48fc789cc")
@@ -24,7 +25,6 @@ class PyQiskitTerra(PythonPackage):
depends_on("py-sympy@1.3:", type=("build", "run"))
depends_on("py-dill@0.3:", type=("build", "run"))
depends_on("py-python-dateutil@2.8.0:", type=("build", "run"))
- depends_on("py-tweedledum@1.1:1", type=("build", "run"), when="^python@:3.11")
depends_on("py-stevedore@3.0.0:", type=("build", "run"))
depends_on("py-psutil@5:", type=("build", "run"))
@@ -37,6 +37,7 @@ class PyQiskitTerra(PythonPackage):
depends_on("py-fastjsonschema@2.10:", type=("build", "run"))
depends_on("py-python-constraint@1.4:", type=("build", "run"))
depends_on("py-symengine@0.7:", type=("build", "run"))
+ depends_on("py-tweedledum@1.1:1", type=("build", "run"), when="^python@:3.11")
with when("@0.22.2"):
depends_on("python@3.7:", type=("build", "run"))
@@ -46,4 +47,16 @@ class PyQiskitTerra(PythonPackage):
depends_on("py-symengine@0.9:", type=("build", "run"))
depends_on("py-typing-extensions", when="^python@:3.7", type=("build", "run"))
depends_on("py-shared-memory38", when="^python@:3.7", type=("build", "run"))
+ depends_on("py-tweedledum@1.1:1", type=("build", "run"), when="^python@:3.11")
depends_on("py-importlib-metadata@:4", when="^python@:3.7", type=("build", "run"))
+
+ with when("@0.23.3"):
+ depends_on("python@3.7:", type=("build", "run"))
+ depends_on("py-setuptools-rust", type="build")
+ depends_on("py-rustworkx@0.12.0:", type=("build", "run"))
+ depends_on("py-scipy@1.5:", type=("build", "run"))
+ depends_on("py-symengine@0.9:", type=("build", "run"))
+ depends_on("py-typing-extensions", when="^python@:3.7", type=("build", "run"))
+ depends_on("py-shared-memory38", when="^python@:3.7", type=("build", "run"))
+ depends_on("py-importlib-metadata@:4", when="^python@:3.7", type=("build", "run"))
+ depends_on("py-singledispatchmethod", when="^python@:3.7", type=("build", "run"))