-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Git installs over ssh don't seem to work #12344
Comments
This works for me without issue:
I suspect there may be an issue in your SSH configuration or similar? |
ugh, my bad. I had converted the And I guess |
No worries! Pipenv supports |
Yes it converts them into ssh urls*. I'm confused about your second question. pipenv's handling of ssh urls is a bit broken and will result in corrupt lock files if no branch, tag or commit is specified. |
Understood! The context for my clarification is: |
Summary
I was checking out uv, so I looked at the docs on how to install git dependencies (see here). But it seems to not work for ssh installs?
The docs tell me to add
git+
in front of the git clone compatible url, which seems to work if I use the https url, but not for ssh.examples:
uv add git+https://github.com/astral-sh/uv.git
=> does workuv add [email protected]:astral-sh/uv.git
=> does not workuv add git+ssh://[email protected]/astral-sh/uv.git
=> does not workPlatform
Windows 11 x86_64
Version
uv 0.6.8 (c1ef482 2025-03-18)
Python version
Python 3.12.1
The text was updated successfully, but these errors were encountered: