[PATCH] Python3 compatible modules - credentials, param, _glue

Lumir Balhar lbalhar at redhat.com
Tue Mar 7 13:48:17 UTC 2017


On 03/07/2017 02:16 PM, Petr Viktorin wrote:
> On 03/06/2017 10:44 AM, Andrew Bartlett wrote:
>> On Mon, 2017-03-06 at 15:47 +1300, Andrew Bartlett wrote:
>>> On Thu, 2017-03-02 at 10:32 +0100, Lumir Balhar wrote:
>>>>
>>>> Hello.
>>>>
>>>> We are working on it. I fixed the issue with missing copyrights
>>>> (patch
>>>> attached) and now I am working on another one with pytalloc-util.
>>>>
>>>> The problem with pytalloc-util is only in autobuild and the reason
>>>> is
>>>> that pytalloc-util is created as a dependency in the same
>>>> environment
>>>> before build of samba-libs. Then during configuration of samba-
>>>> libs,
>>>> pytalloc-util is found as a system library. This means
>>>> (unfortunately)
>>>> that the build of pytalloc-util for Python is skipped and this
>>>> missing
>>>> dependency causes the problem during the build of samba-libs.
>>>>
>>>> Unfortunately, I don't know a solution for now. But this occurs
>>>> only
>>>> in
>>>> autobuild.
>>>
>>> I'm sorry, I missed this e-mail.
>>>
>>> The purpose of the samba-libs build is to ensure that IF talloc were
>>> installed as a system lib, Samba could build against it.  So we need
>>> to
>>> make it work.
>>>
>>>> If this build failure is not a problem or you know the solution, we
>>>> can
>>>> do a quick review of your branch and then agree with the merge.
>>>>
>>>> The Travis build: https://travis-ci.org/samba-team/samba/builds/206
>>>> 10
>>>> 6557
>>>
>>> The issue is that we need to find the python3 pytalloc-util. This is
>>> the first time we have relied on finding a python3 C library to link
>>> against.
>>
>> It was a complex one, but I've fixed this issue in my py3 branch in 
>> mygithub and in
>>
>> git://git.samba.org/abartlet/samba.git py3
>>
>> Please do that review.  Likewise if another team member can review this
>> branch it would be incredibly helpful, as we also have the --disable-
>> python patches to merge once this is in.
>
> So, when --extra-python is used, both the py2 and py3 version needs to 
> be in the system, otherwise the internal copy is built for both 
> Pythons. I believe that makes a lot of sense.
>
>
> I see two problems, detailed in the attached patches. Please squash 
> them in as needed.
>
Hello.

Thanks Petr for the review and patches. I did my own review and found 
that nothing blocks merge from my point of view right now.

So, AFAIK after you apply/squash last Petr's patches, we are ready to 
merge this.

Thank you and have a nice day.
Lumír



More information about the samba-technical mailing list