Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR - Issue 49820 - lib389 requires wrong python ldap library #2880

Closed
389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Closed

PR - Issue 49820 - lib389 requires wrong python ldap library #2880

389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Labels
merged Migration flag - PR pr Migration flag - PR

Comments

@389-ds-bot
Copy link

389-ds-bot commented Sep 13, 2020

Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/49821

  • Created at 2018-07-02 14:09:31 by vashirov (@vashirov)
  • Merged at 2018-07-02 15:44:19

Bug Description:
python3-ldap [1] is not the same as python-ldap [2].

[1] https://pypi.org/project/python3-ldap/
[2] https://pypi.org/project/python-ldap/

Fix Description:
Update setup.py and requirements.txt.

Resolves: #2879

Reviewed by: ???

@389-ds-bot 389-ds-bot added merged Migration flag - PR pr Migration flag - PR labels Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-07-02 15:06:59

I'm a but confused

[1] https://pypi.org/project/python3-ldap/

This says they renamed it to ldap3.

And what about our spec files where we require python3-ldap, does this mean we have to change those as well? Oo what is different about the specfile requires vs the setup.py/requirements.txt?

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2018-07-02 15:20:00

Yeah, it's confusing. Fedora and pypi have different namespaces. So the package named python3-ldap can clash with python3-ldap from pypi, which is actually ldap3 -- an incompatible with python-ldap implementation.

Spec file uses naming conventions from Fedora, setup.py/requirements.txt -- from pypi index. So we don't need to change anything in spec file.

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-07-02 15:40:52

Thanks for the clarification! Ack

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2018-07-02 15:43:15

rebased onto b903b03

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2018-07-02 15:44:20

Pull-Request has been merged by vashirov

@389-ds-bot
Copy link
Author

Patch
49821.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged Migration flag - PR pr Migration flag - PR
Projects
None yet
Development

No branches or pull requests

1 participant