From: Petr Viktorin Date: Tue, 18 Mar 2025 12:17:43 +0000 (+0100) Subject: gh-131261: expat/refresh.sh: Expand list of manual steps (GH-131359) X-Git-Tag: v3.14.0a7~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51d309988b3041cae20cca89172b4fd825c9a1cc;p=thirdparty%2FPython%2Fcpython.git gh-131261: expat/refresh.sh: Expand list of manual steps (GH-131359) --- diff --git a/Misc/sbom.spdx.json b/Misc/sbom.spdx.json index cac346f8c38e..617c631c357d 100644 --- a/Misc/sbom.spdx.json +++ b/Misc/sbom.spdx.json @@ -127,20 +127,6 @@ ], "fileName": "Modules/expat/nametab.h" }, - { - "SPDXID": "SPDXRef-FILE-Modules-expat-refresh.sh", - "checksums": [ - { - "algorithm": "SHA1", - "checksumValue": "1834a0629524eee116cf84251464fb368423fd73" - }, - { - "algorithm": "SHA256", - "checksumValue": "a8e123d64c0c43fcc52e70c6573db071c3d007ecdad604fbc3a84beefe2ed3a1" - } - ], - "fileName": "Modules/expat/refresh.sh" - }, { "SPDXID": "SPDXRef-FILE-Modules-expat-siphash.h", "checksums": [ @@ -1776,11 +1762,6 @@ "relationshipType": "CONTAINS", "spdxElementId": "SPDXRef-PACKAGE-expat" }, - { - "relatedSpdxElement": "SPDXRef-FILE-Modules-expat-refresh.sh", - "relationshipType": "CONTAINS", - "spdxElementId": "SPDXRef-PACKAGE-expat" - }, { "relatedSpdxElement": "SPDXRef-FILE-Modules-expat-siphash.h", "relationshipType": "CONTAINS", diff --git a/Modules/expat/refresh.sh b/Modules/expat/refresh.sh index ca1c1bdfebfe..46e236cbb554 100755 --- a/Modules/expat/refresh.sh +++ b/Modules/expat/refresh.sh @@ -54,4 +54,13 @@ rm libexpat.tar.gz # Step 3: Add the namespacing include to expat_external.h sed -i 's/#define Expat_External_INCLUDED 1/&\n\n\/* Namespace external symbols to allow multiple libexpat version to\n co-exist. \*\/\n#include "pyexpatns.h"/' expat_external.h -echo "Updated; verify all is okay using git diff and git status." +echo " +Updated! next steps: +- Verify all is okay: + git diff + git status +- Regenerate the sbom file + make regen-sbom +- Update warning count in Tools/build/.warningignore_macos + (use info from CI if not on a Mac) +" diff --git a/Tools/build/generate_sbom.py b/Tools/build/generate_sbom.py index 5c4a725102d7..073c26ed13ce 100644 --- a/Tools/build/generate_sbom.py +++ b/Tools/build/generate_sbom.py @@ -60,7 +60,7 @@ PACKAGE_TO_FILES = { exclude=[ "Modules/expat/expat_config.h", "Modules/expat/pyexpatns.h", - "Modules/_hacl/refresh.sh", + "Modules/expat/refresh.sh", ] ), "macholib": PackageFiles(