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

implement uv pip config #7636

Closed
woutervh opened this issue Sep 23, 2024 · 3 comments
Closed

implement uv pip config #7636

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

Comments

@woutervh
Copy link

I've been searching in the uv docs and issue-tracker, but I did not find my answer.
Apologies if I overlooked something.

As a pip-user, I regularly use "pip config list" to display the config pip is actually seeing.
see https://pip.pypa.io/en/stable/cli/pip_config/

Questions:

  • is there currently a way to see what config uv is actually using (after merging several sources)?
  • is there a plan to implement something like "pip config"

Usecase

I'm currently troubleshooting why an (private) index-url in pyproject.toml does not have any effect:

[tool.uv]
# see https://docs.astral.sh/uv/reference/settings/
index-url = "https://__token__:<TOKEN>@gitlab.com/api/v4/groups/<GROUPID>/-/packages/pypi/simple"

uv --version
0.4.15

@agustinvalencia
Copy link

Similar case, I couldn't manage to set an self-hosted pypi repository. This pushed me back to poetry
Unfortunately I cannot share logs as it is company related, but back your issue up

@zanieb
Copy link
Member

zanieb commented Sep 23, 2024

We support showing your configuration with a --show-settings flag, e.g., uv pip install foo --show-settings.

We'll probably implement a nicer command for it in the future.

We're improving the index experience in #7481 which should help with this in general!

@zanieb zanieb added the question Asking for clarification or support label Sep 23, 2024
@zanieb zanieb closed this as completed Oct 21, 2024
@wimglenn
Copy link
Contributor

wimglenn commented Oct 28, 2024

Hi @zanieb, could this use a serialization format for ease of use with a deserializer? Something like TOML or RON, perhaps? If I understand correctly, it's currently just debug output with no stability guarantees.

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

4 participants