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

Cannot install a gitlab private repo with pip >= 21 in python 3.6 #9946

Closed
1 task done
SamuelNLP opened this issue May 4, 2021 · 1 comment
Closed
1 task done
Labels
type: support User Support

Comments

@SamuelNLP
Copy link

SamuelNLP commented May 4, 2021

Description

Since pip 20.3.4 has security issues now (#9827) we planned on updating to >= 21.

But now we cannot install our private repo:

pip -v install -e git+git@'gitlab.feedzai.com:commons/javasphinx.git@javasphinx#egg=javasphinx'

Error:

ERROR: git+git@gitlab.feedzai.com:commons/javasphinx.git@javasphinx#egg=javasphinx is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

Expected behavior

No response

pip version

21.1.1

Python version

3.6.9

OS

ubuntu 18.04

How to Reproduce

Use the versions above and a private giltab repo.

Output

No response

Code of Conduct

@SamuelNLP SamuelNLP added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels May 4, 2021
@uranusjr
Copy link
Member

uranusjr commented May 4, 2021

Use this command instead

pip install -e 'git+ssh://git@gitlab.feedzai.com/commons/javasphinx.git@javasphinx'

pip now enforces proper URLs in your requirement.

@uranusjr uranusjr closed this as completed May 4, 2021
@uranusjr uranusjr added type: support User Support and removed S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels May 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

2 participants