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

Accept poetry and pipenv lockfiles for installation #1804

Closed
abondrn opened this issue Feb 21, 2024 · 4 comments
Closed

Accept poetry and pipenv lockfiles for installation #1804

abondrn opened this issue Feb 21, 2024 · 4 comments
Labels
enhancement New feature or improvement to existing functionality wontfix This will not be worked on

Comments

@abondrn
Copy link

abondrn commented Feb 21, 2024

When uv pip install is passed poetry.lock or Pipfile.lock (and any optional dependency groups, or extras) instead of requirements.txt, it could attempt to install these in the uv environment. I can only speak for myself when I say this will speed up adoption of uv in some contexts we are using it, such as executing local tests or Docker pipelines.

@AlexWaygood AlexWaygood added the enhancement New feature or improvement to existing functionality label Feb 21, 2024
@bschoenmaeckers
Copy link
Contributor

Should we consider re-implementing the poetry-export-plugin or calling it as a subprocess?

@zanieb
Copy link
Member

zanieb commented Mar 12, 2024

Similar to our policy on reading pip's configuration, I don't think we can do this. I think the bullets there are a good summary of why.

@zanieb zanieb added the wontfix This will not be worked on label Mar 12, 2024
@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
@michaelmior
Copy link

It might not be perfect, but it would be really helpful to have at least an attempt to import from pipenv configuration. You can get close with uv add -r <(pipenv requirements) but then all package versions are pinned because pipenv requirements is based on the lock file. The other piece would be reading from the Pipfile to specify the dependencies.

@zanieb
Copy link
Member

zanieb commented Aug 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants