[Bug 1850283] Re: python-ldap package prevents python3-only build
Frank Heimes
1850283 at bugs.launchpad.net
Tue Oct 29 12:31:04 UTC 2019
I just installed python3-ldap on 19.10 and 18.04 and it installs fine on
both.
You're right that it pulls in some python(2) packages:
$ sudo apt --no-install-recommends install python3-ldap
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-ldap
python-minimal python-pyasn1 python-pyasn1-modules python2.7
python2.7-minimal python3-pyasn1 python3-pyasn1-modules
Suggested packages:
python-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-ldap
python-minimal python-pyasn1 python-pyasn1-modules python2.7
python2.7-minimal python3-ldap python3-pyasn1 python3-pyasn1-modules
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
...
The needed packages are all in main, hence are all fully supported - as the following command shows:
apt show python libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-ldap python-minimal python-pyasn1 python-pyasn1-modules python2.7 python2.7-minimal python3-ldap python3-pyasn1 python3-pyasn1-modules | grep 'Supported\|APT-Sources'
The situation in 19.10/Eoan (and therefore also in Focal) is different - if python3-ldap is installed there, no python2 packages are pulled-in:
$ sudo apt install python3-ldap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-pyasn1 python3-pyasn1-modules
The following NEW packages will be installed:
python3-ldap python3-pyasn1 python3-pyasn1-modules
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
I'm not sure what you are going to accomplish - why do you want to get rid of the python2-related packages in bionic already?
Please notice that any patched and/or recompiled packages are usually w/o support - just the one from the archives are in support.
** Changed in: python-ldap (Ubuntu)
Status: New => Incomplete
** Also affects: ubuntu-z-systems
Importance: Undecided
Status: New
** Changed in: ubuntu-z-systems
Importance: Undecided => Wishlist
** Changed in: ubuntu-z-systems
Status: New => Incomplete
** Changed in: ubuntu-z-systems
Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)
--
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:
Incomplete
Status in python-ldap package in Ubuntu:
Incomplete
Bug description:
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