Pip install from internal pypi server containing git links fails with pypi 19.1
See original GitHub issueEnvironment
- pip version: 19.1
- Python version: Python 3.6.7
- OS: Ubuntu 18.04
Description We have pypi server that contains links to git:
git+ssh://<url>.git@0.1.0.201810251140#egg=<package>-0.1.0.201810251140
pip install <package>
fails with
GitLab: The project you were looking for could not be found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Expected behavior
pip install <package>
has been working and does work if I install pip<19.1
How to Reproduce
To reproduce this one needs local pypi server.
Add git+ssh://<url>.git@0.1.0.201810251140#egg=<package>-0.1.0.201810251140
style link to pypi server where that version number is a git tag.
Then:
virtualenv --python python3 env
. env/bin/activate
pip install 'pip==19.1'
pip install -vvv <package>
Output:
git clone -q ssh://<url>.git%400.1.0.201810251140 <temp>
Running same with pip<19.1
outputs
git clone -q ssh://<local_path>.git <temp>
It looks like the problem is that %400.1.0.201810251140
left in the git link.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Error with pip install from PyPI in self hosted Gitlab - General
so far I am quite happy with our self hosted Gitlab but I cannot pip install the release of a library I uploaded...
Read more >Changelog - pip documentation v22.3.1
Only calculate topological installation order, for packages that are going to be installed/upgraded. This fixes an AssertionError that occurred when determining ...
Read more >pipenv Documentation - Read the Docs
It is recommended that users on most platforms should install pipenv from pypi.org using pip install pipenv. Isolated Installation of Pipenv with Pipx....
Read more >pip install - pip documentation v21.1.dev0
PyPI (and other indexes) using requirement specifiers. VCS project urls. ... Local directory (which must contain a setup.py , or pip will report...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I think so.
@cwharland Could you create a separate issue? It sounds like it is also caused by #6245 but it’s different than the issue with
git+ssh
URLs. Thanks!