Skip to content

Can not read files from ssh repos #5829

@KantorSerhiy

Description

@KantorSerhiy

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://$GITHUB_TOKEN@github.com/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

Pipenv version: '2023.7.23'

Pipenv location: '/Users/skantor/.local/share/virtualenvs/work-E2tBrjiz/lib/python3.9/site-packages/pipenv'

Python location: '/Users/skantor/.local/share/virtualenvs/work-E2tBrjiz/bin/python'

OS Name: 'posix'

User pip version: '23.1.2'

user Python installations found:

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.9.17',
 'os_name': 'posix',
 'platform_machine': 'arm64',
 'platform_python_implementation': 'CPython',
 'platform_release': '22.5.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 22.5.0: Thu Jun  8 22:21:34 PDT '
                     '2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T8112',
 'python_full_version': '3.9.17',
 'python_version': '3.9',
 'sys_platform': 'darwin'}

System environment variables:

  • PATH
  • __CFBundleIdentifier
  • SHELL
  • TERM
  • USER
  • FIG_JETBRAINS_SHELL_INTEGRATION
  • TMPDIR
  • COMMAND_MODE
  • TERMINAL_EMULATOR
  • SSH_AUTH_SOCK
  • XPC_FLAGS
  • TERM_SESSION_ID
  • __CF_USER_TEXT_ENCODING
  • LOGNAME
  • LC_CTYPE
  • XPC_SERVICE_NAME
  • HOME
  • SHLVL
  • PWD
  • OLDPWD
  • VIRTUAL_ENV
  • PS1
  • _
  • PYTHONDONTWRITEBYTECODE
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /Users/skantor/.local/share/virtualenvs/work-E2tBrjiz/bin:/opt/homebrew/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
  • SHELL: /bin/zsh
  • PWD: /Users/skantor/work
  • VIRTUAL_ENV: /Users/skantor/.local/share/virtualenvs/work
### Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions