Skip to content

Relax constraint for onnxruntime for the python package #928

Open
@reyammer

Description

@reyammer

There is a known limitation in uv that forces us to add a constraint to which onnxruntime version we can use in the python module. At first I thought the limitation was fixed, but that's not the case.

Here is more context so that, when this is fixed on uv size, we remember to relax the onnxruntime constraint.

To reproduce:

$ uv init --python 3.9
$ uv add onnxruntime
[...]
error: Distribution `onnxruntime==1.20.1 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

Suggestion on how to fix in the meantime: astral-sh/uv#9425 (comment), which is what we implemented in #926.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedpythonPull requests that update Python package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions