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?
$TOOL_ACCESS_TOKENlooks suspicious.