inference icon indicating copy to clipboard operation
inference copied to clipboard

inference 0.22.2 has requirement typer==0.9.0

Open tiptinker opened this issue 2 years ago • 13 comments

Search before asking

  • [X] I have searched the Inference issues and found no similar bug report.

Bug

inference 0.22.2 has requirement typer==0.9.0, but you have typer 0.12.5. inference-cli 0.22.2 has requirement typer==0.9.0, but you have typer 0.12.5. inference-gpu 0.22.2 has requirement typer==0.9.0, but you have typer 0.12.5.

Environment

typer 0.12.5.

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

tiptinker avatar Oct 10 '24 01:10 tiptinker

Hello there, could you provide broader context? Is that a request to loose the type requirement or a report for inconsistent/faulty build?

PawelPeczek-Roboflow avatar Oct 10 '24 07:10 PawelPeczek-Roboflow

gradio 5.0.1 has requirement typer<1.0,>=0.12; sys_platform != "emscripten", but you have typer 0.9.0.

Can you make inference compatible with typer>=0.12 ?
image

tiptinker avatar Oct 10 '24 11:10 tiptinker

ok, I get the point now, sure thing we can try - realistically that will happen in the next week and will probably be released in release 0.24.0 end of next week, but that is not a hard promise. Does it work for you?

PawelPeczek-Roboflow avatar Oct 10 '24 13:10 PawelPeczek-Roboflow

Thank you. Dependency is one of the major daily issues.

tiptinker avatar Oct 10 '24 13:10 tiptinker

out of curiosity - how do u use inference?

PawelPeczek-Roboflow avatar Oct 10 '24 13:10 PawelPeczek-Roboflow

I use comfyui, and there are some nodes/plugins that make use of inference, and gradio, and many other stuff.

image

tiptinker avatar Oct 10 '24 13:10 tiptinker

cool 👍

PawelPeczek-Roboflow avatar Oct 10 '24 14:10 PawelPeczek-Roboflow

merged to main, will be released soon

PawelPeczek-Roboflow avatar Oct 15 '24 15:10 PawelPeczek-Roboflow

inference 0.24.0 requires requests<=2.31.0, but you have requests 2.32.2 which is incompatible. https://pypi.org/project/requests/#history

inference 0.24.0 requires numpy<=1.26.4, but you have numpy 2.1.2 which is incompatible. inference-cli 0.17.0 requires numpy<=1.26.4, but you have numpy 2.1.2 which is incompatible. inference-gpu 0.24.0 requires numpy<=1.26.4, but you have numpy 2.1.2 which is incompatible.

https://pypi.org/project/numpy/#history

tiptinker avatar Oct 20 '24 10:10 tiptinker

are u sure that this is the only set of requirements that need to change?

PawelPeczek-Roboflow avatar Oct 21 '24 21:10 PawelPeczek-Roboflow

ping

PawelPeczek-Roboflow avatar Nov 06 '24 08:11 PawelPeczek-Roboflow

Hi @pandayummy , with today's release of inference we updated versions of most requirements. I believe this should solve problems you reported. Please feel free to open this issue if your original problem is not resolved, otherwise please create new issue with description of new problem. Thanks!

grzegorz-roboflow avatar Nov 15 '24 11:11 grzegorz-roboflow

but we haven't updated to numpy over 2.0, so may actually not

PawelPeczek-Roboflow avatar Nov 15 '24 11:11 PawelPeczek-Roboflow