py-onnxruntime: add v1.18.0 -> v1.19.2 (#46329)

* py-onnxruntime: add new versions

* py-onnxruntime: add constraints

* py-onnxruntime: fix typo

* py-onnxruntime: fix style

---------

Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
This commit is contained in:
Joseph Wang 2025-02-20 04:02:27 +08:00 committed by GitHub
parent e274e855f1
commit 2554c7bd21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,8 @@ class PyOnnxruntime(CMakePackage, PythonExtension, ROCmPackage):
license("MIT")
version("1.19.2", tag="v1.19.2", commit="ffceed9d44f2f3efb9dd69fa75fea51163c91d91")
version("1.19.0", tag="v1.19.0", commit="26250ae74d2c9a3c6860625ba4a147ddfb936907")
version("1.18.2", tag="v1.18.2", commit="9691af1a2a17b12af04652f4d8d2a18ce9507025")
version("1.18.1", tag="v1.18.1", commit="387127404e6c1d84b3468c387d864877ed1c67fe")
version("1.18.0", tag="v1.18.0", commit="45737400a2f3015c11f005ed7603611eaed306a6")
@ -52,6 +54,8 @@ class PyOnnxruntime(CMakePackage, PythonExtension, ROCmPackage):
# requirements.txt
depends_on("py-coloredlogs", when="@1.17:", type=("build", "run"))
depends_on("py-flatbuffers", type=("build", "run"))
depends_on("py-numpy@1.21.6:", when="@1.19:", type=("build", "run"))
depends_on("py-numpy@1.21.6:1", when="@1.18.1:1.18.2", type=("build", "run"))
depends_on("py-numpy@1.16.6:", type=("build", "run"))
depends_on("py-numpy@1.21.6:", when="@1.18:", type=("build", "run"))
depends_on("py-numpy@:1", when="@:1.18", type=("build", "run"))
@ -64,6 +68,7 @@ class PyOnnxruntime(CMakePackage, PythonExtension, ROCmPackage):
depends_on("protobuf@:3.19", when="@:1.11")
depends_on("py-cerberus", type=("build", "run"))
depends_on("py-onnx", type=("build", "run"))
depends_on("py-onnx@:1.16", type=("build", "run"), when="@:1.18")
depends_on("py-onnx@:1.15.0", type=("build", "run"), when="@:1.17")
depends_on("py-onnx@:1.16", type=("build", "run"), when="@:1.18")
depends_on("zlib-api")