[Bug 1850283] Re: python-ldap package prevents python3-only build
Launchpad Bug Tracker
1850283 at bugs.launchpad.net
Wed Jan 15 01:27:14 UTC 2020
This bug was fixed in the package python-ldap - 3.1.0-2ubuntu1.1
---------------
python-ldap (3.1.0-2ubuntu1.1) eoan; urgency=medium
* Add python3-ldap.maintscript to correctly perform symlink to dir
conversion of the previously linked docs directory on upgrades. LP:
#1850283
-- Dimitri John Ledkov <xnox at ubuntu.com> Wed, 11 Dec 2019 00:27:51
+0000
** Changed in: python-ldap (Ubuntu Eoan)
Status: Fix Committed => Fix Released
--
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 Released
Status in python-ldap source package in Disco:
Fix Committed
Status in python-ldap source package in Eoan:
Fix Released
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