Package: pipx
Version: 1.1.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

When users install the pipx pkg, there is an expectation that apt will
automatically install all necessary dependencies. Here is a sample
command after installing pipx:

===✂----------------------------------------
$ pipx install --pip-args='--find-links wheel_cache' .
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 
0x7f882e8ffc10>: Failed to establish a new connection: [Errno -2] Name or 
service not known')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 
0x7f882e908890>: Failed to establish a new connection: [Errno -2] Name or 
service not known')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 
0x7f882e908f50>: Failed to establish a new connection: [Errno -2] Name or 
service not known')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 
0x7f882e909cd0>: Failed to establish a new connection: [Errno -2] Name or 
service not known')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 
0x7f882e90a3d0>: Failed to establish a new connection: [Errno -2] Name or 
service not known')': /simple/pip/
ERROR: Could not find a version that satisfies the requirement pip (from 
versions: none)
ERROR: No matching distribution found for pip
Failed to upgrade shared libraries
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pipx/shared_libs.py", line 113, in 
upgrade
    subprocess_post_check(upgrade_process)
  File "/usr/lib/python3/dist-packages/pipx/util.py", line 203, in 
subprocess_post_check
    raise PipxError(
pipx.util.PipxError: '/root/.local/pipx/shared/bin/python -m pip 
--disable-pip-version-check install --force-reinstall -q --upgrade pip 
setuptools wheel'
failed
===✂----------------------------------------

About the warnings: they are an unrelated problem. All needed wheels
were put in a directory called “wheel_cache” and the installation was
launched from an offline machine. Attempts were still made to reach
the cloud.

The errors are what is relevant to this bug report herein. There was
no “pip” command available because python3-pip was not explicitly
installed. Nor was it implicitly installed when running “aptitude
install pipx”.


-- System Information:
Debian Release: 12.12
  APT prefers oldstable-updates
  APT policy: (990, 'oldstable-updates'), (990, 'oldstable-security'), (990, 
'stable'), (990, 'oldstable'), (500, 'oldoldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-28-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipx depends on:
ii  python3                     3.11.2-1+b1
ii  python3-argcomplete         2.0.0-1
ii  python3-importlib-metadata  4.12.0-1
ii  python3-packaging           23.0-1
ii  python3-userpath            1.8.0-1
ii  python3-venv                3.11.2-1+b1

Versions of packages pipx recommends:
ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
ii  libjs-bootstrap4    4.6.1+dfsg1-4+deb12u1
ii  libjs-highlight.js  9.18.5+dfsg1-2
ii  libjs-jquery        3.6.1+dfsg+~3.5.14-1
ii  libjs-lunr          2.3.9~dfsg-2
ii  mkdocs              1.4.2+dfsg-2

pipx suggests no packages.

-- no debconf information

Reply via email to