summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-onnx/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-onnx/package.py b/var/spack/repos/builtin/packages/py-onnx/package.py
index c80bee5736..e8286c232e 100644
--- a/var/spack/repos/builtin/packages/py-onnx/package.py
+++ b/var/spack/repos/builtin/packages/py-onnx/package.py
@@ -45,6 +45,7 @@ class PyOnnx(PythonPackage):
# requirements.txt
depends_on("py-setuptools@64:", type="build")
depends_on("py-setuptools", type="build")
+ depends_on("protobuf")
depends_on("py-protobuf@3.20.2:", type=("build", "run"), when="@1.15:")
depends_on("py-protobuf@3.20.2:3", type=("build", "run"), when="@1.13")
depends_on("py-protobuf@3.12.2:3.20.1", type=("build", "run"), when="@1.12")
@@ -56,7 +57,6 @@ class PyOnnx(PythonPackage):
# https://github.com/protocolbuffers/protobuf/pull/8794, fixed in
# https://github.com/onnx/onnx/pull/3112
depends_on("py-protobuf@:3.17", type=("build", "run"), when="@:1.8")
- depends_on("py-protobuf+cpp", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-numpy@1.16.6:", type=("build", "run"), when="@1.8.1:1.13")
depends_on("py-numpy@1.20:", type=("build", "run"), when="@1.16.0:")