Skip to content

How do I generate a pyproject.toml/uv.lock from a pip requirements.txt file? #10924

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

Closed
tonydavis629 opened this issue Jan 24, 2025 · 1 comment · Fixed by #10926
Closed

How do I generate a pyproject.toml/uv.lock from a pip requirements.txt file? #10924

tonydavis629 opened this issue Jan 24, 2025 · 1 comment · Fixed by #10926
Labels
question Asking for clarification or support

Comments

@tonydavis629
Copy link

tonydavis629 commented Jan 24, 2025

Question

I have a normal pip environment with a requirements.txt. I want to update my project to use uv. I can install the requirements.txt with uv pip sync requirements.txt, but this does not change the pyproject.toml and uv.lock file, so I'm still forced to use the pip interface. Is there any way to generate a uv.lock from the pip interface, or something to that affect? The docs do not address this case.

Platform

No response

Version

No response

@tonydavis629 tonydavis629 added the question Asking for clarification or support label Jan 24, 2025
@tonydavis629
Copy link
Author

Found this issue, still should be documented

zanieb added a commit that referenced this issue Jan 24, 2025
zanieb added a commit that referenced this issue Jan 24, 2025
zanieb added a commit that referenced this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant