[Bug 1850283] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Fri Dec 13 21:59:40 UTC 2019
------- Comment From chaps at us.ibm.com 2019-12-13 16:55 EDT-------
Tested Bionic s390x binary packages
python-ldap_3.0.0-1ubuntu0.1_s390x.deb in a python2 environment and
python3-ldap_3.0.0-1ubuntu0.1_s390x.deb in a python3 (only) environment.
No change, as expected, to python2 environment (success).
Successful change to the python3 environment. python2 is no longer pulled in to our python3 build by this or any other python3 package in our local repository. Completed python ldap test suite successfully in both environments. Note we do not use or build with python[3]-pyldap.
Please set tag 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