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

Export uv.lock to requirements.txt #6668

Closed
charliermarsh opened this issue Aug 27, 2024 · 1 comment · Fixed by #6778
Closed

Export uv.lock to requirements.txt #6668

charliermarsh opened this issue Aug 27, 2024 · 1 comment · Fixed by #6778
Assignees
Labels
enhancement New feature or request

Comments

@charliermarsh
Copy link
Member

No description provided.

@charliermarsh charliermarsh added the enhancement New feature or request label Aug 27, 2024
@mikeleppane
Copy link
Contributor

mikeleppane commented Aug 27, 2024

+1

After using Poetry for years, I've decided to try uv. And it's great 👏. Here are some thoughts I had while using uv. Some of these may have been discussed already.

  • export only dev-dependencies from uv.lock to requirements-dev.txt (this is useful at least in the CI); poetry export --without-hashes --without-urls --only=dev -o requirements-dev.txt
  • uv sync/pip install only dev-dependencies (like above useful in the CI)
  • show the latest version but only for outdated packages; poetry show --outdated / poetry show --outdated --only=dev has been useful.
  • how do get info about the current virtual env? E.g. Poetry has poetry env info command to display info about current env
  • is it possible to only update dev-dependencies like poetry update --only=dev?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants