[python3-ldap] Library name change?

python3ldap python3ldap at gmail.com
Mon Oct 27 18:57:21 CET 2014


Hi Gary,
thanks for your explanation. Now the reason for the two different
packages is clear to me.
I'm still not sure which is the best way to fulfill Brian's request.
We could leave the package name as is (python3-ldap) and let the
distribution mantainers package it with different names. Or we could
change the name to follow the rule "python" plus <package_name> (that
I find quite resonable).

I see a possible name clash with the former python-ldap from Michael
Stroeder because the two libraries are (still) not compatible:
python-ldap3 should be misinterpreted as a newer release of
python-ldap. It should be useful to know if Michael has intention to
port its library to python3 officially or not, because in the latter
case we could use that name anyway.

Bye,
Giovanni

2014-10-27 6:51 GMT+01:00 Gary Waters <mr.gary.waters at gmail.com>:
> Giovanni - He is doing this because of how Redhat manages different versions
> of Python, even though, it is the same code, the site-packages location for
> python27 and python3x are different and thus the packages are named
> differently.
>
> Brian,
> I have already packaged this up and pyasn for my RHEL6 system's with
> python27, if you keep me in the changelog, I can email you the SRC rpms. =D
>
> Regards,
> Gary
>
> On Sun, Oct 26, 2014 at 1:17 PM, python3ldap <python3ldap at gmail.com> wrote:
>>
>> Hello Brian,
>> Thank for your message, the python3-ldap codebase is exactly the same
>> regardless of the Python version. You should not need two different packages
>> for python3-ldap. What is the best practice for Fedora in this case?
>>
>> Anyway I would suggest to wait for the upcoming 0.9.6 version of
>> python3-ldap before packaging it because it has many fixes and some new
>> features. I think I will be able to release it for the next week.
>>
>> Bye,
>> Giovanni
>>
>> Il domenica 26 ottobre 2014, Brian Stinson <bstinson at ksu.edu> ha scritto:
>>>
>>> On Oct 26 10:33, Michael Ströder wrote:
>>> > Brian Stinson wrote:
>>> > > I'm considering packaging python3-ldap for Fedora[1] and EPEL[2].
>>> > > For
>>> > > distribution packages the Fedora best practices have the RPM name in
>>> > > the
>>> > > format: python-{name_of_module_when_importing}. In this case, that
>>> > > means
>>> > > that python3-ldap would be packaged in Fedora and EPEL as
>>> > > python-ldap3.
>>> >
>>> > Some Linux distributions use the package name prefix "python3-" for
>>> > modules
>>> > installed for Python 3 to distinguish them from packages installed for
>>> > Python
>>> > 2.x. I don't know how it's on Fedora though.
>>> >
>>> > Ciao, Michael.
>>> >
>>>
>>> Indeed, that's the situation in Fedora. For example, python-ldap3 would
>>> be the RPM package name when it is installed under python 2.x  and
>>> python3-ldap3 for when it's installed under python 3.x
>>>
>>> Cheers!hello brian
>>> Brian
>>>
>>> --
>>> Brian Stinson
>>> bstinson at ksu.edu | IRC: bstinson | Bitbucket/Twitter: bstinsonmhk
>>> _______________________________________________
>>> python3-ldap mailing list
>>> python3-ldap at python.org
>>> https://mail.python.org/mailman/listinfo/python3-ldap
>>
>>
>> _______________________________________________
>> python3-ldap mailing list
>> python3-ldap at python.org
>> https://mail.python.org/mailman/listinfo/python3-ldap
>>
>


More information about the python3-ldap mailing list