-
Notifications
You must be signed in to change notification settings - Fork 863
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
uv export should not need to have python installed #8634
Comments
I think we could do this with uv/crates/uv/src/commands/project/export.rs Lines 84 to 95 in 291c4c4
Otherwise, we need an interpreter to check if the lockfile is up to date. |
(In |
|
Right, it didn't occur to me that |
We are running a CI pipeline that includes a mend.io license compliance scanner, which looks for a
requirements.txt
file (it doesn't yet support uv.lock as an input file). We run the mend scanner in a minimal docker container with no Python installed. I can trivially install uv into that container, but without a python installation, I can't export the lock file torequirements.txt
file:Python should not be necessary here, all that is needed is that uv produces a requirements.txt file for another tool to then process.
The same applies to the
tree
command; uv has all the information needed already, a Python interpreter should not be necessary.The text was updated successfully, but these errors were encountered: