-
Notifications
You must be signed in to change notification settings - Fork 1
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
Module namespace conflicts with python-ldap #1
Comments
This can bite randomly in weird ways. Someone see a missing 'ldap' package. Then ending up installing this when they really want the |
Hi, I don't have anything against it. The python-ldap maintainer acted as an asshole when he tried to convince me to release the name. Not sure why the name was free though. |
Sorry to hear that.. I don't know the backstory, but everyone can have a bad day... :) I'm not sure how this works.. If there is a way to create a link to a package. Regarding Not sure whats the best "fix". If it is more or less you and people you know that uses this package, maybe it can be renamed to Or maybe an even simpler would be try to detect if people tries to use this like It is upto you tho.. pypi is more or less first come, first serve, except some cases.. |
Hello! I'm the new python-ldap maintainer.
Unfortunately, yes. There are lots of projects, both free and closed, depending on python-ldap. (Also, quite a few users get python-ldap via other means than PyPI.)
Yes, I assume many users would expect |
Hi @encukou, congrats on the new role! I have no problem with transferring the name, no need to mention my name. I can add you as collaborator on pypi and then make you owner. Do you use same username there? |
Thank you! We can go with this plan; let me know if you want to do things differently:
Alternatives I considered:
These unfortunately won't work well because pip doesn't handle packages with conflicting files well, leaving modules non-functional after an upgrade. |
Hi @encukou, I just added you as owner of ldap. No need to make ldap-utils, you can just delete it or do whatever fits best. |
The original `ldap` project will not be moved, see andreif/ldap#1
Thank you! You can close this issue :) |
Awesome guys! Thanks for sorting this out :) |
We hit an issue today where a user installed the
ldap
package instead ofpython-ldap
. Both provide anldap
module that can be imported, and because of this, it was getting past our "Can I import ldap" checks, and then failing on calling methods from python-ldap. Installing both of these packages lead to module conflicts.Can this be renamed to
ldap_utils
, perhaps?The text was updated successfully, but these errors were encountered: