-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Detect and install tool python version #8229
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
Comments
Possibly related to my issue #8206 ? You want uv to automatically detect that 3.13 is the suitable python version to use. I want uv to detect that 3.12 is the suitable python version to use. |
Yep similar issue, in my case I want to use uv as part of an automated deployment workflow for any random packaged application, manually specifying the python version is not really an option |
Does #7827 address this? |
Yep, I think it does |
This isn’t an issue, but since there’s no discussions tab, I’ll post it here.
Is it possible to install a tool with the appropriate python version it needs without knowing it in advance? (in an automated fashion)
Here’s my scenario: I have a package for which I build a wheel file. I then move the wheel file to another server that has uv installed. Let's say my package specifies python >= 3.13, and the server has Python 3.12 installed. If I run uv tool install <path_to_wheel>, it doesn’t work because Python 3.13 isn’t installed on that server, which makes sense.
Is there a way to automatically detect the Python version of the tool (maybe that can be extracted from the wheel somehow) and install the appropriate version? I want to automate this process, so I’m wondering if there’s a trick or method that can make this work.
The text was updated successfully, but these errors were encountered: