[Scons-users] Scons 4.8.0 does not reflect correct python version dependency
Bohning, Dalton
dalton.bohning at intel.com
Mon Jul 8 13:40:24 EDT 2024
It seems without "--warn=no-python-version", the warning causes scons to abort. But with "--warn=no-python-version" the warning is gone, and scons does continue.
Is the warning intended to be fatal?
~Dalton Bohning
-----Original Message-----
From: Scons-users <scons-users-bounces at scons.org> On Behalf Of Mats Wichmann
Sent: Monday, July 8, 2024 10:26 AM
To: scons-users at scons.org
Subject: Re: [Scons-users] Scons 4.8.0 does not reflect correct python version dependency
On 7/8/24 11:20, Bill Deegan wrote:
> Dalton,
>
> SCons 4.8.0 will run under Python 3.6.x, however that is deprecated
> (will be disabled in the next release).
> So SCons should still allow installing under python 3.6.
>
> If you'd like to remove the warning for the time being, you'll see a
> note in the release notes:
> https://scons.org/scons-480-is-available.html
> <https://scons.org/scons-480-is-available.html>
>
>
> DEPRECATED FUNCTIONALITY
>
> * Mark Python 3.6 support as deprecated. *Use --warn=no-python-version
> to quiet the warning*.
>
it also works to add
SetOption('warn', ['no-python-version'])
in your build scripts - often putting it in site_scons/site_init.py is done since that's known to be processed very eary in the sequence.
> And the packaging spec has “Requires: python >= 2.4”
the information in 'packaging/rpm' and 'packaging/debian' is
informational - yes it's out of date, and it's not expected to be used
(not sure why still in the repo, but the fact it has no users is why it
doesn't get updated). For current deb and rpm packaging, please defer
to the ones maintained by the distributions that use those formats.
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
More information about the Scons-users
mailing list