0

I want to frequently test a Python application I'm developing with uv, which I publish to a private repository on a GitLab instance. I've generated an access token with read access to the repo and I want to run the tool directly from the latest commit. The documentation for uvx says that I should be able to do it like this:

uvx --from "git+https://[email protected]/user/repo" tool

However, I still get prompted to insert the login credentials to my account. Exiting from the process yields this error message:

  × Failed to resolve `--with` requirement
  ╰─▶ Git operation failed

What is the correct way to run my tool in this scenario?

3
  • "The documentation for uvx says..." - which documentation? It would be better if you provided a link. Commented 19 hours ago
  • docs.astral.sh/uv/guides/tools/#requesting-different-sources maybe, but that $TOOL_ACCESS_TOKEN looks suspicious. Commented 18 hours ago
  • Is there anything else in the error message? What you are showing look like the very end. If you could share anything else please do, as that can shine some light upon this. Commented 11 hours ago

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.