-
Notifications
You must be signed in to change notification settings - Fork 886
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 pyproject.toml
ignores dependencies declared in setup.cfg
#1624
Comments
Note: Moving the dependency declaration into |
Thanks, I'll take a look at this. (Right now, we just read the dependency information directly from the |
So it looks like |
waiting for this issue to be resolved before using it for pip-compile astral-sh/uv#1624
waiting for this issue to be resolved before using it for pip-compile astral-sh/uv#1624 and it didn't properly install the command line tools `aimg` and `imagine` so not using it for editable install on github either
waiting for this issue to be resolved before using it for pip-compile astral-sh/uv#1624 and it didn't properly install the command line tools `aimg` and `imagine` so not using it for editable install on github either
This could be solved similarly to #2029. |
@sbidoul I don't think so, that issue uses a |
@zanieb in this case it is the absence of a |
👍 Might be two things here: (1) making it possible to run PEP 517 hooks for these, and (2) adding detection based on whether it’s dynamic. |
I'll be looking into this tomorrow. |
Now in review here: #2633. Expect it to be supported in the next release. |
## Summary When a user passes a `pyproject.toml` to `pip compile` (e.g., `uv pip compile pyproject.toml`), we extract the requirements from the `pyproject.toml` directly. However... that isn't always possible (as seen in the linked issues). When it's _not_, we instead need to run the PEP 517 build hooks to identify the metadata. Closes #1624. Closes #1644. ## Test Plan `cargo test`
waiting for this issue to be resolved before using it for pip-compile astral-sh/uv#1624 and it didn't properly install the command line tools `aimg` and `imagine` so not using it for editable install on github either
Platform: Ubuntu 20.04
uv
version:fef1956
Reproduction
Project files
uv
invocationNOTE: this invocation points directly to the
uv
entrypoint to work around #1623.Reference
pip-compile
(7.3.0) invocationThe text was updated successfully, but these errors were encountered: