[Scons-dev] Would requiring Python 2.7.4 or above be a problem for future release?

Bill Deegan bill at baddogconsulting.com
Thu Nov 19 15:45:54 EST 2015


Ivan,

Sadly supporting older versions of python will make moving forward to
support python 3.x impossible.
In general the current version of SCons doesn't have any major functional
bugs.

As we did with python 2 when we dropped pre python 2.4, we announced for a
while now that pre 2.7 will not be supported in future versions of scons.

SCons 2.4 dropped pre 2.7 officially.

Building python 2.7 is not terribly difficult to do on a centos/RHEL system.
And I'd be willing to bet you can find a repo somewhere which has python
2.7.x pre-built for your distro if it is.

As William said, the question for this thread is will supporting 2.7.4 and
above only be a problem (as opposed to supporting 2.7.0->2.7.10 (and above).

-Bill

On Thu, Nov 19, 2015 at 12:23 PM, Ivan Van Laningham <ivanlan9 at gmail.com>
wrote:

> Hi All--
> The trouble with requiring a minimum of 2.7.x on all platforms is that it
> would be problematic for people on CentOS, Redhat and related distros
> earlier than say, CentOS 7.  7 has 2.7, but 6 has 2.6 (and not the latest
> version, either).  Anyone who wanted to use CentOS 6 would have to install
> Python 2.7.x to use Scons.  Might not want to do it, or would go with an
> earlier version.
>
> Metta,
> Ivan
>
>
> On Thu, Nov 19, 2015 at 1:10 PM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>>
>>
>> On Thu, Nov 19, 2015 at 4:40 PM, Bill Deegan <bill at baddogconsulting.com>
>> wrote:
>>
>>> William,
>>>
>>> The logic I was looking at is in src/engine/SCons/Platform/win32.py
>>> Where env['SPAWN'] & env['PSPAWN'] are defined.
>>>
>>
>> Yeah. It looks like all the funky Windows api calls and spawnve
>> redefinition should be removable with 2.7 requirement.
>>
>>
>>>
>>> I missed seeing the file you reference, but indeed if we're at 2.7, then
>>> this file should no longer be necessary?
>>>
>>> -Bill
>>>
>>> On Wed, Nov 18, 2015 at 2:00 PM, William Blevins <wblevins001 at gmail.com>
>>> wrote:
>>>
>>>> If I understand correctly, the idea here is to move away from a custom
>>>> Popen implementation in "src/engine/SCons/compat/_scons_subprocess.py" to
>>>> using the Python subprocess implementation.
>>>>
>>>> Unless that file is no longer used and we are still generating a
>>>> warning for no reason.
>>>>
>>>> On Wed, Nov 18, 2015 at 9:33 PM, Jason Kenny <dragon512 at live.com>
>>>> wrote:
>>>>
>>>>> I am unclear on why this version. Part has only been using ctypes
>>>>> since 2.6 for everything win32
>>>>>
>>>>> Why would this version of python be the needed. I would think
>>>>> everything should be easy to switch.
>>>>>
>>>>> Jason
>>>>>
>>>>> ------------------------------
>>>>> From: Bill Deegan <bill at baddogconsulting.com>
>>>>> Sent: ‎11/‎18/‎2015 12:20 PM
>>>>> To: SCons users mailing list <scons-users at scons.org>; SCons developer
>>>>> list <scons-dev at scons.org>
>>>>> Subject: [Scons-dev] Would requiring Python 2.7.4 or above be a
>>>>> problem for future release?
>>>>>
>>>>> Greetings,
>>>>>
>>>>> To drop the requirement for pywin32, it may be necessary to require
>>>>> python 2.7.4 or above.
>>>>>
>>>>> Will this cause anyone significant issues?
>>>>>
>>>>> _Bill
>>>>>
>>>>> _______________________________________________
>>>>> Scons-dev mailing list
>>>>> Scons-dev at scons.org
>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Scons-dev mailing list
>>>> Scons-dev at scons.org
>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Scons-dev mailing list
>>> Scons-dev at scons.org
>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>
>>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>
>
> --
> Ivan Van Laningham
> God N Locomotive Works
> http://www.pauahtun.org/
>
> http://www.python.org/workshops/1998-11/proceedings/papers/laningham/laningham.html
> Army Signal Corps:  Cu Chi, Class of '70
> Author:  Teach Yourself Python in 24 Hours
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20151119/294f22aa/attachment-0001.html>


More information about the Scons-dev mailing list