[Scons-users] Notice: SCons will drop Python 2.7.* support with SCons version 4.0.0 before end of 2019

Bill Deegan bill at baddogconsulting.com
Mon Sep 30 17:31:03 EDT 2019


Not sure what to tell you.

It's not that hard to specify env['PYTHON27']='path to python 27'
And then use '$PYTHON27 <myscript> <myargs>" in your builders.

Or are you not running your non-python3 code outside your scons process?

Also keep in mind, there's nothing to prevent you from running the last
pre-4.0 scons in perpetuity.

-Bill

On Mon, Sep 30, 2019 at 2:21 PM Fred Wright <fw at fwright.net> wrote:

>
> On Mon, 30 Sep 2019, Bill Deegan wrote:
>
> > To simplify support and to enable us to use some native Python 3.5+
> features we'll be dropping python 2.7.* support with SCons
> > version 4.0.0 which we expect to release before the end of 2019.
>
> Unfortuately I didn't have a chance to vote against this, but an important
> point is being missed here.  Although it's possible in principle for a
> project to build for a different Python version than the one running
> SCons, nothing is offered to assist with that, and many projects don't
> bother to provide the necessary code to allow the distinction.  For such
> projects, the only way to specify a target Python is to run SCons with
> that Python.  For such projects, any dropping of Python versions in SCons
> is then inflicted on those projects.  And if they provide Python modules
> used by other projects, *those* projects are also impacted.  Thus, there
> is a huge domino effect, which is especially significant in Python 2 vs.
> Python 3, due to Python 3's incompatibilities.
>
> > Note that Python 2.7 is End of Life is Jan 1, 2020.
> > https://pythonclock.org/
>
> Anyone who equates "end of life" with "expiration" has obviously never
> worked with hardware. :-)
>
> Fred Wright
> _______________________________________________
> 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/20190930/4cf6c680/attachment.html>


More information about the Scons-users mailing list