Your message dated Tue, 01 Nov 2016 16:51:29 +0000
with message-id <[email protected]>
and subject line Bug#834193: fixed in python-pip 8.1.2-3
has caused the Debian Bug report #834193,
regarding python-pip: pip2 is not the same as pip: makepip missing for pip2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
834193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834193
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pip
Version: 8.1.1-2ubuntu0.1
Severity: important

Dear Maintainer,

debian/rules uses the "makepip.py" program to generate fixed/custom pip
and pip3 scripts, but leaves the original pip2 alone:

override_dh_python3:
        dh_python3
        rm -f debian/python3-pip/usr/bin/pip
        rm -f debian/python3-pip/usr/bin/pip3.?
        rm -rf debian/python3-pip/usr/lib/python3.?
        python3 debian/makepip.py /usr/bin/python3 \
                debian/python3-pip/usr/bin/pip3

override_dh_python2:
        dh_python2
        rm -f debian/python-pip/usr/bin/pip2.?
        python3 debian/makepip.py /usr/bin/python \
                debian/python-pip/usr/bin/pip

% diff -u /usr/bin/pip*
--- /usr/bin/pip 2016-05-24 14:23:26.000000000 +0000
+++ /usr/bin/pip2 2016-05-24 14:23:16.000000000 +0000
@@ -1,11 +1,10 @@
 #!/usr/bin/python
-# GENERATED BY DEBIAN
-
+# EASY-INSTALL-ENTRY-SCRIPT: 'pip==8.1.1','console_scripts','pip2'
+__requires__ = 'pip==8.1.1'
 import sys
+from pkg_resources import load_entry_point

-# Run the main entry point, similarly to how setuptools does it, but
because
-# we didn't install the actual entry point from setup.py, don't use the
-# pkg_resources API.
-from pip import main
 if __name__ == '__main__':
- sys.exit(main())
+ sys.exit(
+ load_entry_point('pip==8.1.1', 'console_scripts', 'pip2')()
+ )

I think there should be an additional line in override_dh_python2:

 python3 debian/makepip.py /usr/bin/python \
  debian/python-pip/usr/bin/pip2

I've noticed this because Saltstack will prefer "pip2" over "pip".

Reported for Ubuntu on Launchpad in
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1612264.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-34-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-pip depends on:
ii  ca-certificates  20160104ubuntu1
ii  python-pip-whl   8.1.1-2ubuntu0.1
pn  python:any       <none>

Versions of packages python-pip recommends:
ii  build-essential    12.1ubuntu2
ii  python-all-dev     2.7.11-1
ii  python-setuptools  20.7.0-1
ii  python-wheel       0.29.0-1

python-pip suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: python-pip
Source-Version: 8.1.2-3

We believe that the bug you reported is fixed in the latest version of
python-pip, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry Warsaw <[email protected]> (supplier of updated python-pip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 01 Nov 2016 12:24:39 -0400
Source: python-pip
Binary: python-pip python3-pip python-pip-whl
Architecture: source all
Version: 8.1.2-3
Distribution: unstable
Urgency: medium
Maintainer: Barry Warsaw <[email protected]>
Changed-By: Barry Warsaw <[email protected]>
Description:
 python-pip - Python package installer
 python-pip-whl - Python package installer
 python3-pip - Python package installer
Closes: 834193 842732
Changes:
 python-pip (8.1.2-3) unstable; urgency=medium
 .
   [ Felipe Reyes ]
   * d/tests: control: Add needs-recommends restriction. (Closes: #842732)
 .
   [ Barry Warsaw ]
   * d/control: Update Built-Using.
   * d/rules: Also generate /usr/bin/pip2.  (Closes: #834193)
   * d/tests/pip2-*.sh:
     - Install world<4 since v4 is not Python 2 compatible.  (Modified
       from Felipe's original patch.)
     - Add tests which invoke pip2.
Checksums-Sha1:
 d2e058a26086e9f95269da6915f5519a258df5c5 2595 python-pip_8.1.2-3.dsc
 080003f8adbe2dcba91e210af7681f93a57eca2a 17636 python-pip_8.1.2-3.debian.tar.xz
 ab4185ade16f684ff65b856a123350a77a7ac9a6 1198578 python-pip-whl_8.1.2-3_all.deb
 9cf19e7249d50e241678ddbd01b8f38cd1472ce7 171172 python-pip_8.1.2-3_all.deb
 a1d534ae7316f351a25f9a459d09fc8e81b4a0d7 135954 python3-pip_8.1.2-3_all.deb
Checksums-Sha256:
 8fa4334716fd97f6cc2020d6cc820d0407abbe5191d13b4224cf9de73f21bab3 2595 
python-pip_8.1.2-3.dsc
 1fb43c03a528bda1206bdea3ec9c3bdf4dfb0ed515a0dfa744aacce71490d3a0 17636 
python-pip_8.1.2-3.debian.tar.xz
 4dd3095057ce45b5ccae4cf4a66eb5653994e4d4336a1cf225dea9aef0d56ccf 1198578 
python-pip-whl_8.1.2-3_all.deb
 c50f0e8eb113b6691bce649be5792b8528865486b6a2396ee081b72bbcf37b03 171172 
python-pip_8.1.2-3_all.deb
 e14f47d195bbd2f29468efd079e1d6993593c6e098acae66fb45974de105a1c7 135954 
python3-pip_8.1.2-3_all.deb
Files:
 89a8614bd43455348669cff1f1bdd449 2595 python optional python-pip_8.1.2-3.dsc
 1e75a8e2eacdf2f8b2194bf1bfc168e7 17636 python optional 
python-pip_8.1.2-3.debian.tar.xz
 37a54cc8b945199065db196b96aaa147 1198578 python optional 
python-pip-whl_8.1.2-3_all.deb
 1a7aa2cf3a51f6369e57133925de487b 171172 python optional 
python-pip_8.1.2-3_all.deb
 7b7593e83697ed51a36dc214a0aaf34a 135954 python optional 
python3-pip_8.1.2-3_all.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYGMM3AAoJEBJutWOnSwa/MLgP/R1jZX5+9KJr2ErqWXj5Ji21
D3/t2g7PVEfsCEard2PnuUawRMiLHkfpsvs6e7nNoRsjUJCiq/6VyxEytGDYWM/5
3UFgQQy0vIOuN9bOp9XaxhaeBWNlyHhb2QmH0P9Mmdv9dwpzggqJkXi0+t7OsFSz
COcktPJ1Sg+p/D49vMV689QtQVN18dRrt1Q8ewk8RenI445F1V6jc107H5z43R5L
ykp1/qc5Jat2FkmleLnu9anlEiW6CpTz6yOEzV7dBNwusbesadS/kkXmaESeVrIi
NflnWURxhKR5bquZ3XLZnIi4zONF0s0kWV0wRHwG0KIc6rr1HGfrLB3mQgldpbi7
lr8dHQ7B9wlPQmadlXwuL3k7f4hpZtpzc99uxMijyit7c456m3n9G2vs4ih3tvqD
h/YosKCt22/7gZodVWZ/UhJtSr903kkFGC8w++7Y+KVRh9i3r3nM4bhFDG/vUhhN
Kyk6m8DM/9AzxJOxKZ33mDsDj8J0sJnWJB6RAgGsU3N/A5lk3x/MjDs1lU/GSCDC
lOQwDpk6eGY0l9ovDdpytgdsRT7E5E286+5AetD7DyzV9KRvfp5Ri5qWzJMDRPC4
6V3lvHni5N/uw1fdPZOYOyw0Gx/zfz0HhL2CLvrJTXQ9OnZxrTVRQcm0iDiMG5Fw
YX7uX9yxbyiAJHyPl1GG
=PO5D
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to