[Bug 1850283] Re: python-ldap package prevents python3-only build
Bryan Quigley
bryan.quigley at canonical.com
Fri Dec 13 22:44:30 UTC 2019
Thank you for the testing, marking as verification-done!
I also ran through checking the directory is changed (18.04):
root at charming-blowfish:~# file /usr/share/doc/python3-ldap
/usr/share/doc/python3-ldap: symbolic link to python-ldap
Upgrade to proposed
root at charming-blowfish:~# file /usr/share/doc/python3-ldap
/usr/share/doc/python3-ldap: directory
# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libdumbnet1 libfreetype6 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-ldap python-minimal python-pyasn1 python-pyasn1-modules python2.7 python2.7-minimal
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
root at charming-blowfish:~# dpkg -l | grep python3-ldap
ii python3-ldap 3.0.0-1ubuntu0.1 amd64 LDAP interface module for Python3
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1850283
Title:
python-ldap package prevents python3-only build
Status in Ubuntu on IBM z Systems:
Fix Committed
Status in python-ldap package in Ubuntu:
Fix Released
Status in python-ldap source package in Bionic:
Fix Committed
Status in python-ldap source package in Disco:
Fix Committed
Status in python-ldap source package in Eoan:
Fix Committed
Status in python-ldap source package in Focal:
Fix Released
Bug description:
[Impact]
* python-ldap & python3-ldap used to share documentation which resulted in python3-ldap package depending on python-ldap
* However whilst that used to be harmless, it no longer is, due to perceived risks of pulling in unused interpreter.
* Solution is to stop linking docs directory cross-packages like it is done in the later releases
* As a minimal sru, auxiliary and api documentation will remain shipped in python-ldap package with -doc subpackage not being introduced.
[Test Case]
* Install python3-ldap from release
* Observe that /usr/share/doc/python3-ldap is a symlink
* Upgrade to python3-ldap from proposed
* Observe that /usr/share/doc/python3-ldap is a directory
* Remove python-ldap python2.7-minimal
* Observe that python3-ldap is still installed
[Regression Potential]
* The changes introduced match those that are shipped in focal, sans
introduction of the docs package
[Other Info]
* Original bug report
By moving away from Python2 following problem occured.
The package Package: python3-ldap (3.0.0-1) is dependent on
Package: python-ldap (3.0.0-1).
This has a dependency: python interactive high-level object-oriented language (default version)
python (<< 2.8)
python (>= 2.7~)
see https://packages.ubuntu.com/bionic/python-ldap
We need Canonicals support for a backport the changes from
https://packages.debian.org/buster/python3-ldap ,which resolves this
python2 dependency.
Many thanks in advance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1850283/+subscriptions
More information about the foundations-bugs
mailing list