Opened 2 weeks ago

Closed 13 days ago

#20315 closed enhancement (fixed)

SCons-4.8.1

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (3)

comment:1 by Bruce Dubbs, 2 weeks ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 13 days ago

Here is a summary of the changes since 4.8.0: CHANGED/ENHANCED EXISTING FUNCTIONALITY

  • env.Dump() previously accepted a single optional "key" argument. It now accepts any number of optional "key" arguments; any supplied keys will be serialized with their values in a Python dict style. As a result there is a small change in behavior: if a single key argument is given, where it previously would return a string containing just the value, now it will return a string that looks like a dictionary including the key. For example, from "'gcc'" to "{'CC': 'gcc'}". This should not have any impact as the result of calling Dump is intended for diagnostic output, not for use by other interfaces.

FIXES

  • SCons 4.8.0 added an all specifier at the top of the Variables module (Variables/init.py) to control what is made available in a star import. However, there was existing usage of doing from SCons.Variables import * which expected the variable types to be avaiable. BoolVariable, EnumVariable, ListVariable, PackageVariable and PathVariable are added to all, so this form of import should now work again.
  • Fix a problem with AppendUnique and PrependUnique where a value could be erroneously removed due to a substring match.
  • Fix handling of ListVariable when supplying a quoted choice containing a space character.
  • On win32 platform, SCons 4.7.0 modified the determination of the output encoding of piped processes. Instead of using the default encoding, it relied on the encoding attribute of the output stream. If the encoding attribute of the output stream was set to None, it was triggering an invalid argument exception. This was the case with streams of type io.StringIO for example. This has been changed to always use the oem encoding which should be the encoding in the shell where the command was spawned.

DOCUMENTATION

  • Improve wording of manpage "Functions and Environment Methods" section.
  • Make doc function signature style more consistent - tweaks to AddOption, DefaultEnvironment and Tool,.

DEVELOPMENT

  • sctypes is_* functions given explicit return types. Python 3.13+ uses TypeIs for a near-equivalent of isinstance. Python 3.10 through 3.12 uses TypeGuard, a less accurate implementation but still provides usable type hinting. Python 3.9 and earlier simply returns bool, same as before.

comment:3 by Bruce Dubbs, 13 days ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

412a818206 Update to xfsprogs-6.10.1.
49d7e8d850 Update to protobuf-28.0.
e259948687 Update to hwdata-0.386.
c6f7b3ba15 Update to scons-4.8.1.
7eeacb7893 Update to numpy-2.1.1 (Python module).
Note: See TracTickets for help on using tickets.