[Scons-users] Is the warning about missing pywin32 extensions on parallel builds still needed?

Bill Deegan bill at baddogconsulting.com
Wed Nov 18 14:57:59 EST 2015


William,

This bug?
http://bugs.python.org/issue16327

-Bill

On Wed, Nov 18, 2015 at 11:52 AM, Bill Deegan <bill at baddogconsulting.com>
wrote:

> William,
>
> Thanks!
> Wasn't aware.  Might you have a pointer to a description of the issue?
>
> -Bill
>
> On Wed, Nov 18, 2015 at 10:55 AM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> In the rare case you didn't know, keep in mind that some early minor
>> versions for python 2.7 had leaking file descriptors with subprocess, so
>> make sure that the SCons docs require and test against Python 2.7.4+
>>
>> V/R,
>> William
>>
>> On Wed, Nov 18, 2015 at 5:33 PM, Bill Deegan <bill at baddogconsulting.com>
>> wrote:
>>
>>> Currently the pywin32 extensions are used by the code.
>>> If it's not available I believe it disables parallel builds on win32.
>>> I'm looking at switching the code to use subprocess, but it may take a
>>> little bit to verify that such a change is stable.
>>>
>>> On Wed, Nov 18, 2015 at 12:06 AM, Erling D. Andersen <
>>> e.d.andersen at mosek.com> wrote:
>>>
>>>> Everything is working fine using Python 2.7.
>>>>
>>>> However, I do not understand why the latest Scons prints out:
>>>>
>>>> scons: warning: you do not seem to have the pywin32 extensions
>>>> installed;
>>>>         parallel (-j) builds may not work reliably with open Python
>>>> files
>>>>
>>>> on Windows. That seems a legacy issue and the warning is no longer
>>>> needed. So why not remove it?
>>>>
>>>>
>>>> On Tue, Nov 17, 2015 at 3:15 PM, William Blevins <wblevins001 at gmail.com
>>>> > wrote:
>>>>
>>>>>
>>>>>
>>>>> On Tue, Nov 17, 2015 at 11:51 AM, Erling D. Andersen <
>>>>> e.d.andersen at mosek.com> wrote:
>>>>>
>>>>>> Did you find out of something? It is still in Scons version 2.4.1 run
>>>>>> with Python 2.7.
>>>>>>
>>>>>
>>>>> I assume that you mean the warning still exists in SCons 2.4.1.
>>>>>
>>>>>
>>>>>>
>>>>>> Thanks for the good work with new version. It worked out of the box.
>>>>>>
>>>>>
>>>>> Did version 2.3.6 not work of the box? What is the context?
>>>>>
>>>>>
>>>>>>
>>>>>> Erling
>>>>>>
>>>>>> On Fri, Aug 28, 2015 at 5:08 AM, Bill Deegan <
>>>>>> bill at baddogconsulting.com> wrote:
>>>>>>
>>>>>>> Richard,
>>>>>>>
>>>>>>> That's a very good question.
>>>>>>> I'll have to look into it.
>>>>>>>
>>>>>>> -Bill
>>>>>>>
>>>>>>> On Thu, Aug 27, 2015 at 6:30 AM, Richard Viney <
>>>>>>> richard.viney at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> When running parallel builds under SCons 2.3.6 and Python 2.7.10 on
>>>>>>>> Windows you get the following warning if the pywin32 extensions aren’t
>>>>>>>> installed:
>>>>>>>>
>>>>>>>> scons: warning: you do not seem to have the pywin32 extensions
>>>>>>>> installed;
>>>>>>>>         parallel (-j) builds may not work reliably with open Python
>>>>>>>> files.
>>>>>>>>
>>>>>>>> This was discussed back in 2008 here:
>>>>>>>> http://comments.gmane.org/gmane.comp.programming.tools.scons.user/17858
>>>>>>>>
>>>>>>>> It seems that there were ancient Python versions with threading
>>>>>>>> bugs and the pywin32 extensions were needed to work around these issues.
>>>>>>>>
>>>>>>>> I’m curious whether this still applies given that Python >= 2.6 is
>>>>>>>> now required? Is this warning still relevant and is pywin32 needed?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Richard
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Scons-users mailing list
>>>>>>>> Scons-users at scons.org
>>>>>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Scons-users mailing list
>>>>>>> Scons-users at scons.org
>>>>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Erling D. Andersen
>>>>>>
>>>>>> MOSEK APS
>>>>>> Fruebjergvej 3, Box 16,
>>>>>> DK-2100 Copenhagen O
>>>>>>
>>>>>> Ph: +4539179907
>>>>>> Mo: +4523629520
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Scons-users mailing list
>>>>>> Scons-users at scons.org
>>>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Scons-users mailing list
>>>>> Scons-users at scons.org
>>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Erling D. Andersen
>>>>
>>>> MOSEK APS
>>>> Fruebjergvej 3, Box 16,
>>>> DK-2100 Copenhagen O
>>>>
>>>> Ph: +4539179907
>>>> Mo: +4523629520
>>>>
>>>>
>>>> _______________________________________________
>>>> Scons-users mailing list
>>>> Scons-users at scons.org
>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20151118/68c02764/attachment-0001.html>


More information about the Scons-users mailing list