From 787301b9794d34ec9a7992ee243636456f9f3b38 Mon Sep 17 00:00:00 2001 From: Yanick Fratantonio Date: Thu, 23 Jan 2025 14:42:57 +0000 Subject: [PATCH] python: relax constraint on onnxruntime With a past version of uv, `uv add onnxruntime` would fail. To address that, we overly constrained the allowed onnxruntime version (#801). More recent versions of uv have now fixed this (https://github.com/astral-sh/uv/pull/9827), so we remove the constraint. Fixes #835. --- python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 9f06dbcb..fe4a3d23 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -34,7 +34,7 @@ dynamic = ["version"] dependencies = [ "click>=8.1.7", - "onnxruntime>=1.17.0,<1.20", + "onnxruntime>=1.17.0", "numpy>=1.24; python_version < '3.12'", "numpy>=1.26; python_version >= '3.12' and python_version < '3.13'", "numpy>=2.1.0; python_version >= '3.13'",