Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax constraint for onnxruntime for the python package #928

Open
reyammer opened this issue Jan 24, 2025 · 0 comments
Open

Relax constraint for onnxruntime for the python package #928

reyammer opened this issue Jan 24, 2025 · 0 comments
Labels
blocked python Pull requests that update Python package

Comments

@reyammer
Copy link
Collaborator

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.

@reyammer reyammer added the python Pull requests that update Python package label Jan 24, 2025
@reyammer reyammer changed the title Relax contraint for onnxruntime for the python package Relax constraint for onnxruntime for the python package Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked python Pull requests that update Python package
Projects
None yet
Development

No branches or pull requests

1 participant