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

Error when trying to fetch a GH-hosted library: fatal: unable to access URI #5859

Closed
perezzini opened this issue Aug 22, 2023 · 5 comments
Closed
Labels
Type: Regression This issue is a regression of a previous behavior.

Comments

@perezzini
Copy link

Hello,

Using latest pipenv version (https://pypi.org/project/pipenv/2023.8.22/), and trying to install a package from outside PYPI, such as GH:

ext-lib-example = {editable = true, ref = "master", git = "https://${TOKEN}@github.com/org/ext-lib-example.git"}

the following error occurs:

[pipenv.exceptions.InstallError]: Collecting ext-lib-example@ git+https://***@347c4f2de42c03221abe33ee51878b5f11bf4874 (from -r /tmp/pipenv-ru2z44tb-requirements/pipenv-a0a4ustz-reqs.txt (line 1))
[pipenv.exceptions.InstallError]:   Cloning https://****@347c4f2de42c03221abe33ee51878b5f11bf4874 to /tmp/pip-install-319b9osz/ext-lib-example_327d9e97969d4bed8b03a8[66]
[pipenv.exceptions.InstallError]: Running command git clone --filter=blob:none --quiet 'https://****@347c4f2de42c03221abe33ee51878b5f11bf4874' /tmp/pip-install-319b9osz/ext-lib-example_327d9e97969d4bed8b03a866e6366b2c
[pipenv.exceptions.InstallError]:   fatal: unable to access 'https://347c4f2de42c03221abe33ee51878b5f11bf4874/': Could not resolve host: 347c4f2de42c03221abe33ee51878b5f11bf4874
[pipenv.exceptions.InstallError]:   error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   × git clone --filter=blob:none --quiet 'https://****@347c4f2de42c03221abe33ee51878b5f11bf4874' /tmp/pip-install-319b9osz/ext-lib-example_327d9e979[69]
[pipenv.exceptions.InstallError]:   │ exit code: 128
[pipenv.exceptions.InstallError]:   ╰─> See above for output.

Had to downgrade to https://pypi.org/project/pipenv/2023.7.23/ version.

@dhendry
Copy link

dhendry commented Aug 22, 2023

I too am just trying to debug this error.

It appears that pipenv is dropping the github.com/[repo name] part of the path

@matteius
Copy link
Member

I believe this one solved by #5856 which just got merged into main -- if you could check against latest main that would be helpful.

I plan to cut a release yet this evening.

@dmelo
Copy link

dmelo commented Aug 22, 2023

I'm having the same problem with 2023.8.22, but I had to downgrade only to 2023.8.20 . The error started on 2023.8.21 , at least in my case.

@perezzini
Copy link
Author

I believe this one solved by #5856 which just got merged into main -- if you could check against latest main that would be helpful.

I plan to cut a release yet this evening.

@matteius using latest main version appears to work fine.

Would wait for a release, then. Thanks!

@matteius matteius added the Type: Regression This issue is a regression of a previous behavior. label Aug 23, 2023
@matteius
Copy link
Member

2023.8.23 has been cut for the vcs issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Regression This issue is a regression of a previous behavior.
Projects
None yet
Development

No branches or pull requests

4 participants