Your message dated Tue, 27 Dec 2022 23:25:10 +0000
with message-id <e1pajjm-00cclq...@fasolo.debian.org>
and subject line Bug#1027108: Removed package(s) from unstable
has caused the Debian Bug report #982588,
regarding python2.7: impossible to import pip backport modules (but not
existing in python 2.7.13 of Debian Stretch)
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 ow...@bugs.debian.org
immediately.)
--
982588: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982588
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python2.7
Version: 2.7.16-2+deb10u1
Severity: normal
-- System Information:
Debian Release: 10.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-13-amd64 (SMP w/20 CPU cores)
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 /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python2.7 depends on:
ii libpython2.7-stdlib 2.7.16-2+deb10u1
ii mime-support 3.62
ii python2.7-minimal 2.7.16-2+deb10u1
python2.7 recommends no packages.
Versions of packages python2.7 suggests:
ii binutils 2.31.1-16
pn python2.7-doc <none>
-- no debconf information
-- Additional Informations
When you install a python-backports-xxx package, the directory backports
is created in /usr/lib/python2.7/dist-packages. Then, most data of the
package are copied in this directory.
then you can import modules of this package with an "import
backports.xxx"
If at a later time you install using pip a backported module not provided
within a package, for example backports.lzma, with command pip install
backports.lzma, pip create a directory backports in
/usr/local/lib/python2.7/dist-packages.
In this directoty pip copy most of data of this module.
The problem is that this module is impossible to import
import backports.lzma return ImportError: No module named lzma
but, if I look at my sys path I see that
/usr/local/lib/python2.7/dist-packages is in the path
>>> print sys.path
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/python2.7/dist-packages/wx-3.0-gtk3']
the only possible workaround I have found is to symlink module
directories in /usr/lib/python2.7/dist-packages as if the module would
have been installed from a Debian package
-- IMPORTANT NOTICE:
The contents of this email and any attachments are confidential and may also be
privileged. If you are not the intended recipient, please notify the sender
immediately and do not disclose the contents to any other person, use it for
any purpose, or store or copy the information in any medium.
Thank you.
--- End Message ---
--- Begin Message ---
Version: 2.7.18-13.2+rm
Dear submitter,
as the package python2.7 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1027108
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---