[python-ldap] bug: python-ldap 2.4.11 adds a dependency on pyasn1

Florent florent.xicluna at gmail.com
Wed May 29 10:13:43 CEST 2013


Hello,

it seems that the latest release of python-ldap broke our tests.
The module has gained a strong dependency on pyasn1, which is not declared
in setup.py.
IMHO, this dependency should stay optional (it was ok with version 2.4.10).


  File "/srv/buildbot/parts/demo/build/src/addons/users_ldap/users_ldap.py",
line 23, in <module>
    import ldap
  File "/srv/openerp/.buildout/eggs/python_ldap-2.4.11-py2.6-linux-x86_64.egg/ldap/__init__.py",
line 85, in <module>
    from functions import open,initialize,init,get_option,set_option
  File "/srv/openerp/.buildout/eggs/python_ldap-2.4.11-py2.6-linux-x86_64.egg/ldap/functions.py",
line 35, in <module>
    from ldap.ldapobject import LDAPObject
  File "/srv/openerp/.buildout/eggs/python_ldap-2.4.11-py2.6-linux-x86_64.egg/ldap/ldapobject.py",
line 38, in <module>
    from ldap.controls import
LDAPControl,DecodeControlTuples,RequestControlTuples
  File "/srv/openerp/.buildout/eggs/python_ldap-2.4.11-py2.6-linux-x86_64.egg/ldap/controls/__init__.py",
line 38, in <module>
    from pyasn1.error import PyAsn1Error
ImportError: No module named pyasn1.error

-- 
Florent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20130529/119de98c/attachment.html>


More information about the python-ldap mailing list