You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running pip3 install -v svn+ssh://this.url.does.not.exist fails because it tries to call svn checkout '' --force-interactive svn+ssh://this.url.does.not.exist <tmp-dir> which fails, due to argument '' not being a valid URL for checkout.
The bug was introduced in 22.0.0 while making it possible to propagate verbose mode to the underlying tools.
Expected behavior
pip3 install -v svn+ssh://this.url.does.not.exist should fail, because this.url.does.not.exist is not an existing URL for a svn repo, like in non-verbose mode:
Running command svn checkout --quiet --force-interactive svn+ssh://this.url.does.not.exist <tmp-dir>
svn: E170013: Unable to connect to a repository at URL 'svn+ssh://this.url.does.not.exist'
pip version
22.0.4
Python version
3.10.2
OS
linux
How to Reproduce
Run python3 -m pip install --upgrade pip==22.0.4
Run python3 -m pip install -v svn+ssh://this.url.does.not.exist
Output
$ python3 -m pip install --upgrade pip==22.0.4Requirement already satisfied: pip==22.0.4 in ./.venv/lib/python3.10/site-packages (22.0.4)
$ python3 -m pip install -v svn+ssh://this.url.does.not.existUsing pip 22.0.4 from /home/devsagul/projects/oss/pip/.venv/lib/python3.10/site-packages/pip (python 3.10)Collecting svn+ssh://this.url.does.not.exist Checking out svn+ssh://this.url.does.not.exist to /tmp/pip-req-build-6ehjzgc7 Running command svn --version svn, version 1.14.1 (r1886195) compiled Dec 2 2021, 22:24:51 on x86_64-pc-linux-gnu Copyright (C) 2021 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.9 (compiled with 1.3.9) - handles 'http' scheme - handles 'https' scheme The following authentication credential caches are available: * Gnome Keyring * GPG-Agent * KWallet (KDE) Running command svn checkout '' --force-interactive svn+ssh://this.url.does.not.exist /tmp/pip-req-build-6ehjzgc7 svn: E125002: '' does not appear to be a URL error: subprocess-exited-with-error × svn checkout '' --force-interactive svn+ssh://this.url.does.not.exist /tmp/pip-req-build-6ehjzgc7 did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: svn checkout '' --force-interactive svn+ssh://this.url.does.not.exist /tmp/pip-req-build-6ehjzgc7 cwd: [inherit]error: subprocess-exited-with-error× svn checkout '' --force-interactive svn+ssh://this.url.does.not.exist /tmp/pip-req-build-6ehjzgc7 did not run successfully.│ exit code: 1╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.
### Code of Conduct
- [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
The text was updated successfully, but these errors were encountered:
Description
Running
pip3 install -v svn+ssh://this.url.does.not.exist
fails because it tries to callsvn checkout '' --force-interactive svn+ssh://this.url.does.not.exist <tmp-dir>
which fails, due to argument''
not being a valid URL for checkout.The bug was introduced in 22.0.0 while making it possible to propagate verbose mode to the underlying tools.
Expected behavior
pip3 install -v svn+ssh://this.url.does.not.exist
should fail, becausethis.url.does.not.exist
is not an existing URL for a svn repo, like in non-verbose mode:pip version
22.0.4
Python version
3.10.2
OS
linux
How to Reproduce
python3 -m pip install --upgrade pip==22.0.4
python3 -m pip install -v svn+ssh://this.url.does.not.exist
Output
The text was updated successfully, but these errors were encountered: