Re: Notice: SCons will drop Python 2.7.* support with SCons version 4.0.0 before end of 2019

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CGQ=EnRcpJsOzU0WM=kttMVncHK+d78DrovAWmjeNQ=MA@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.