[Python-modules-team] Bug#954944: python3-pip: /usr/bin/pip3 wrapper calls old pip entrypoint
Robi Pires
daddynoooooo at gmail.com
Wed Mar 25 16:29:06 GMT 2020
Package: python3-pip
Version: 20.0.2-2
Severity: normal
Dear Maintainer,
* What led up to the situation?
After recently upgrading my system on Debian unstable, the "pip3"
command started reporting a warning about the /usr/bin/pip3 script.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Simply called "pip3" through bash.
* What was the outcome of this action?
The warning is as follows:
WARNING: pip is being invoked by an old script wrapper. This will
fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on
fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead
of running pip directly.
* What outcome did you expect instead?
I expected no warning to occur.
/usr/bin/pip3 calls pip._internal:main, which has been deprecated.
More information is available at: https://github.com/pypa/pip/issues/7498
The Github issue seems to suggest that the new entrypoint that should be used
is pip._internal.cli.main:main.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-3-amd64 (SMP w/2 CPU cores)
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=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-pip depends on:
ii ca-certificates 20190110
ii python-pip-whl 20.0.2-2
ii python3 3.8.2-2
ii python3-distutils 3.8.2-2
ii python3.7 3.7.7-1
Versions of packages python3-pip recommends:
ii build-essential 12.8
ii python3-dev 3.8.2-2
ii python3-setuptools 44.0.0-1
ii python3-wheel 0.34.2-1
python3-pip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list