Open zanieb opened 2 months ago
@ibraheemdev - Is this straightforward?
I don't see where we're gating this with the verbose flag with a casual look.
Not clear to me how this is appearing even with --verbose
.
Yeah I was confused... haha. Tried to write a MRE but it just fails:
❯ cat ~/bin/git
#/usr/bin/env bash
echo "Content please"
read test
❯ uv pip install --no-cache "git+https://github.com/astral-test/uv-public-pypackage@0dacfd662c64cb4ceb16e6cf65a157a8b715b979"
Updating https://github.com/astral-test/uv-public-pypackage (0dacfd662c64cb4ceb16e6cf65a157a8b715b979) error: Git operation failed
Caused by: process didn't exit successfully: `git init` (exit status: 1)
--- stdout
Content please
❯ uv pip install --no-cache "git+https://github.com/astral-test/uv-public-pypackage@0dacfd662c64cb4ceb16e6cf65a157a8b715b979" --verbose
DEBUG uv 0.2.26
DEBUG Searching for Python interpreter in system path
DEBUG Found cpython 3.12.3 at `/Users/zb/workspace/uv/.venv/bin/python3` (virtual environment)
DEBUG Using Python 3.12.3 environment at .venv/bin/python3
DEBUG Acquired lock for `.venv`
DEBUG At least one requirement is not satisfied: git+https://github.com/astral-test/uv-public-pypackage@0dacfd662c64cb4ceb16e6cf65a157a8b715b979
DEBUG Using request timeout of 30s
DEBUG Fetching source distribution from Git: https://github.com/astral-test/uv-public-pypackage
DEBUG Acquired lock for `https://github.com/astral-test/uv-public-pypackage`
DEBUG Updating git source `Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/astral-test/uv-public-pypackage", query: None, fragment: None }`
error: Git operation failed
Caused by: process didn't exit successfully: `git init` (exit status: 1)
--- stdout
Content please
The following command hung for a while:
I cancelled it and re-ran with
--verbose
:Then I could provide the information for the git prompt and move forward.