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 emits index to output file #9287

Closed
a-shkarupin opened this issue Nov 20, 2024 · 1 comment · Fixed by #9288
Closed

uv pip compile emits index to output file #9287

a-shkarupin opened this issue Nov 20, 2024 · 1 comment · Fixed by #9288
Assignees
Labels
bug Something isn't working

Comments

@a-shkarupin
Copy link

I'm trying to install dependencies from a private repository.

Using uv 0.5.3.

Running uv pip compile --extra=dev --index https://user:[email protected]/repository/repo-pypi/simple --output-file=requirements.txt pyproject.toml

The full index url including user and password is visible in requirements.txt.

# This file was autogenerated by uv via the following command:
#    uv pip compile --extra=dev --index https://user:[email protected]/repository/repo-pypi/simple --output-file=requirements.txt pyproject.toml

Looking at the docs I could only find the --emit-index-url option, so it seems that this shouldn't happen unless that option is specified.

Could you please advise if this is a bug or am I using the tool wrong?

@charliermarsh
Copy link
Member

Ah sorry. This looks like a bug.

@charliermarsh charliermarsh added the bug Something isn't working label Nov 20, 2024
@charliermarsh charliermarsh self-assigned this Nov 20, 2024
charliermarsh added a commit that referenced this issue Nov 20, 2024
## Summary

The new `--index` and `--default-index` flags are being omitted in the
`uv pip compile` header, unintentionally.

Closes #9287.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants