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

Provide an way to provide Git authentication for tool.uv.sources #8529

Open
zanieb opened this issue Oct 24, 2024 · 1 comment
Open

Provide an way to provide Git authentication for tool.uv.sources #8529

zanieb opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or improvement to existing functionality

Comments

@zanieb
Copy link
Member

zanieb commented Oct 24, 2024

Right now, the credentials either need to be pre-populated in the git credential helper, or hard-coded into the pyproject.toml. We should provide a better way to do this.

Maybe #5734 is the solution.

@zanieb zanieb added the enhancement New feature or improvement to existing functionality label Oct 24, 2024
@rosssgill
Copy link

rosssgill commented Jan 13, 2025

Hi @zanieb I'm currently experiencing this issue while authenticating with personal access tokens and I would rather not expose this token in source code. Is it possible to respect the UV_GITHUB_TOKEN environment variable if trying to access a private repository when credentials are not provided but this variable is set?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants