[Scons-users] Scons 4.8.0 does not reflect correct python version dependency

Mats Wichmann mats at wichmann.us
Mon Jul 8 13:52:53 EDT 2024


On 7/8/24 11:40, Bohning, Dalton wrote:
> 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?

No, it isn't.  I don't see that behavior, but we'll certainly look into 
it if there are situations where that happens.

Just picking a random test setup:

$ python3.6 ../../scripts/scons.py
scons: Reading SConscript files ...
()
[]
Trying to set:
200
scons: done reading SConscript files.

scons: warning: Support for Python older than 3.7.0 is deprecated 
(3.6.15 detected).
     If this will cause hardship, contact scons-dev at scons.org
File "../../scripts/scons.py", line 97, in <module>
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

$ echo $?
0

That seems to indicate a successful completion...




More information about the Scons-users mailing list