py-onnx: link to external protobuf (#46434)
This commit is contained in:
parent
9577fd8b8a
commit
096ab11961
@ -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:")
|
||||
|
Loading…
Reference in New Issue
Block a user