Re: Scons 4.8.0 does not reflect correct python version dependency

"Bohning, Dalton" <[email protected]> Mon, 8 Jul 2024 17:40:24 +0000
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <SJ2PR11MB8537A35F6EDCADE61ABCDE9496DA2@SJ2PR11MB8537.namprd11.prod.outlook.com>
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 <[email protected]> On Behalf Of Mats Wichmann
Sent: Monday, July 8, 2024 10:26 AM
To: [email protected]
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
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users