question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pip install from internal pypi server containing git links fails with pypi 19.1

See original GitHub issue

Environment

  • 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
cjerdonekcommented, Apr 26, 2019

Yes, I think so.

3reactions
nicolasbockcommented, Apr 24, 2019

@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!

Read more comments on GitHub >

github_iconTop 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 >
pyOpenSSL · PyPI
Python wrapper module around the OpenSSL library.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found