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

uv pip compile support for setup.py and install_requires #2167

Closed
falkben opened this issue Mar 4, 2024 · 6 comments
Closed

uv pip compile support for setup.py and install_requires #2167

falkben opened this issue Mar 4, 2024 · 6 comments

Comments

@falkben
Copy link

falkben commented Mar 4, 2024

It seems that currently uv pip compile only supports pyproject.toml and requirements.in.

Will uv pip compile support setup.py's install_requires? If advertising as a drop in replacement for pip-tools, it might be nice to call it out one way or another.

@zanieb
Copy link
Member

zanieb commented Mar 4, 2024

Hi. This looks like a duplicate of #1624

@falkben
Copy link
Author

falkben commented Mar 4, 2024

That issue is for setup.cfg. I was specifically asking about setup.py

@charliermarsh
Copy link
Member

👍 It's actually the same underlying problem, so I think it makes sense to merge into that issue.

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@Angeluz-07
Copy link

Angeluz-07 commented Apr 11, 2024

If anyone have issues with generating requirements.txt from setup.py, try updating uv to the latest version. I did it so and it worked for me. Currently I am using uv version 0.1.31

@charliermarsh
Copy link
Member

👍 We added setup.py and setup.cfg support in a recent release.

@palfrey
Copy link
Contributor

palfrey commented Apr 28, 2024

For the record, #2634 / 0.1.25

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

No branches or pull requests

5 participants