-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can not read files from ssh repos #5829
Comments
@KantorSerhiy I just checked this against #5793 and I believe that branch fixes the issue you describe. However if you could check as well that would be helpful. |
@matteius i just tried,I installed the latest from your
unfortunately it doesn't work for me =( (if I manually click on the link( https://github.com/KantorSerhiy/test/releases/download/1.0.0/test.zip) - the download process begins) |
@KantorSerhiy I think there is some confusion on the expectations here vcs+ssh:// dependencies work (at least in my branch I referenced) but they have to be the actual repository and not a link to the zip file -- a link to the zip file url would just be an installable remote file URI, but it should not require (and will not work) with the git+ssh:// prefix. But you should be able to do |
this one is a bit not what I expect.. I will reveal a little more details: |
@KantorSerhiy Is there a regular |
no, that's why I wrote to you) |
@KantorSerhiy based on our architecture that heavily utilizes pip, if it cannot be installed that way through pip it won't be installable that way through pipenv. I think the git+ssh:// repository install would fit your needs though -- it doesn't have to be a branch, it can be a specific commit hash you tag to. More details on the forward looking architecture (which is mostly inline with the existing): #5818 |
thank you for the answers. I am attaching a screenshot. I don't understand why this is so and how it works. P.S pipfile.lock ->
|
There is no mechanism to try and authenticate the https url from within pip for the file, but there is a mechanism for working with private ssh vcs repositories. It will require you unlock the ssh key and then will be able to clone the repository from a certain commit or branch. I am not aware of an analogous way to install from a private git repository using just a file. You would have to publish a package to a private antifactory that supports keyring to do something like that, which is really something different from that. |
Issue description
Hey,
I have some problem with installing .zip files from ssh-repos.Maybe you can help me.
When I try to install from the public repository - everything works fine ->
pipenv install https://github.com/KantorSerhiy/test/releases/download/1.0.0/test.zip
but when the repository is private - I get the following ->
pipenv.patched.pip._internal.exceptions.NetworkConnectionError: 404 Client Error: Not Found for url: https://github.com/KantorSerhiy/test/releases/download/1.0.0/test.zip
I tried to do something like this ->
test = {url = "https://[email protected]/KantorSerhiy/test/releases/download/1.0.0/test.zip"}
,but it doesn't work for me=(
Expected result
Everything will be installed and will work.
Actual result
pipenv.patched.pip._internal.exceptions.NetworkConnectionError: 404 Client Error: Not Found for url: https://github.com/KantorSerhiy/test/releases/download/1.0.0/test.zip
$ pipenv --support
Tasks
The text was updated successfully, but these errors were encountered: