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

Support --config-settings for uv pip install #1897

Closed
gotmax23 opened this issue Feb 23, 2024 · 3 comments
Closed

Support --config-settings for uv pip install #1897

gotmax23 opened this issue Feb 23, 2024 · 3 comments
Labels
question Asking for clarification or support

Comments

@gotmax23
Copy link

  • A minimal code snippet that reproduces the bug.
$ git clone https://github.com/aio-libs/yarl
$ cd yarl
$ uv pip install -C pure-python=true .
error: unexpected argument '-C' found

  tip: to pass '-C' as a value, use '-- -C'

Usage: uv pip install [OPTIONS] <PACKAGE|--requirement <REQUIREMENT>|--editable <EDITABLE>>

For more information, try '--help'.
$ pip install --help
  -C, --config-settings <settings>
                              Configuration settings to be passed to the PEP
                              517 build backend. Settings take the form
                              KEY=VALUE. Use multiple --config-settings
                              options to pass multiple keys to the backend.
  • The current uv platform.

Linux x86_64

  • The current uv version (uv --version).

uv 0.1.8

@charliermarsh
Copy link
Member

I think this just went out in v0.1.9: #1833. Do you mind trying again?

@charliermarsh charliermarsh added the question Asking for clarification or support label Feb 23, 2024
@gotmax23
Copy link
Author

Yes, it seems to work now. I tried to pass --verbose to view the stdout from the PEP 517 hooks to make sure the right thing was happening, but instead, it shows a bunch of resolver debug info and still eats the stdout. Ideally, this resolver debug output would be gated behind a --debug flag and the build backend output and other more pertinent information under --verbose --- or some similar separation/log levels.

@zanieb
Copy link
Member

zanieb commented Feb 23, 2024

Thanks for your feedback, that idea is covered in #1569.

Let us know if anything else isn't working!

@zanieb zanieb closed this as completed Feb 23, 2024
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

No branches or pull requests

3 participants