Package: python3-mockldap
Version: 0.2.2-3
Severity: grave
Justification: renders package unusable
Dear Maintainer,
Even accoriding to the main description of the mockldap project on
https://pypi.python.org/pypi/mockldap the inention is to provide mock
replacements for the stuff normally provided by python-ldap.
The python-ldap in Debian is packaged from upstream project
https://pypi.python.org/pypi/python-ldap/2.4.19. The problem with that is it
still seem to be compatible only with Python 2.
The python3-ldap3 is Debian package based on upstream project
https://pypi.python.org/pypi/ldap3/0.9.8.2 which has totally incompatible API
with the above and it's based on different principles.
This bug is against the incorrect dependency of python3-mockldap on
python3-ldpa3, while it should depend on non-existing python3-ldap or doesn't
exist at all. Such dependency confuses potential users of these tools as causes
installation of incompatible Python 3 modules on the system.
The only possible option to solve this problem is (quick solution) remove the
package python3-mockldap as not very useful while there is no respective
python3-ldap or spent some effort on porting upstream python-ldap to Python 3.
The latter is not easy task as the Python 3 API to external libraries (openldap
in this case) is different that in Python 2.
In my case an attempt to use mockldap as part of the unit test executed in
Python 3 end up in error of missing piece:
ImportError: No module named 'ldap.cidict'
-- System Information:
Debian Release: 8.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'oldstable-updates'), (500,
'oldoldstable'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-mockldap depends on:
ii python3-funcparserlib 0.3.6-4
ii python3-ldap3 0.9.4.2-1
pn python3:any
python3-mockldap recommends no packages.
Versions of packages python3-mockldap suggests:
pn python-mockldap-doc
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org