diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pennylane/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pennylane/package.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-pennylane/package.py b/var/spack/repos/builtin/packages/py-pennylane/package.py index f9b31ad4a8..c4c75e85f2 100644 --- a/var/spack/repos/builtin/packages/py-pennylane/package.py +++ b/var/spack/repos/builtin/packages/py-pennylane/package.py @@ -12,11 +12,12 @@ class PyPennylane(PythonPackage): homepage = "https://docs.pennylane.ai/" git = "https://github.com/PennyLaneAI/pennylane.git" - url = "https://github.com/PennyLaneAI/pennylane/archive/refs/tags/v0.30.0.tar.gz" + url = "https://github.com/PennyLaneAI/pennylane/archive/refs/tags/v0.31.0.tar.gz" maintainers("mlxd", "AmintorDusko", "marcodelapierre") version("master", branch="master") + version("0.31.0", sha256="f3b68700825c120e44434ed2b2ab71d0be9d3111f3043077ec0598661ec33477") version("0.30.0", sha256="7fe4821fbc733e3e40d7011e054bd2e31edde3151fd9539025c827a5a3579d6b") version("0.29.1", sha256="6ecfb305a3898347df8c539a89a67e748766941d159dbef9e34864872f13c45c") @@ -25,16 +26,17 @@ class PyPennylane(PythonPackage): depends_on("py-setuptools", type="build") depends_on("py-numpy@:1.23", type=("build", "run")) - depends_on("py-scipy", type=("build", "run")) + depends_on("py-scipy@:1.10", type=("build", "run")) depends_on("py-networkx", type=("build", "run")) depends_on("py-rustworkx", type=("build", "run"), when="@0.30.0:") depends_on("py-retworkx", type=("build", "run"), when="@0.28.0:0.29.1") - depends_on("py-autograd", type=("build", "run")) + depends_on("py-autograd@:1.5", type=("build", "run")) depends_on("py-toml", type=("build", "run")) depends_on("py-appdirs", type=("build", "run")) depends_on("py-semantic-version@2.7:", type=("build", "run")) depends_on("py-autoray@0.3.1:", type=("build", "run")) depends_on("py-cachetools", type=("build", "run")) + depends_on("py-pennylane-lightning@0.31.0:", type=("build", "run"), when="@0.31.0:") depends_on("py-pennylane-lightning@0.30.0:", type=("build", "run"), when="@0.30.0:") depends_on( "py-pennylane-lightning@0.28.0:0.29.0", type=("build", "run"), when="@0.28.0:0.29.1" |