From 1ef2d03e2f70d02a260c6c36d4082fe29c64fcd5 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Tue, 14 Jan 2025 10:16:56 -0600 Subject: [PATCH] PEP 770: Remove MUST for JSON+UTF-8, fix typo --- peps/pep-0770.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/peps/pep-0770.rst b/peps/pep-0770.rst index 7ed0afcedec..2880368fefc 100644 --- a/peps/pep-0770.rst +++ b/peps/pep-0770.rst @@ -214,9 +214,6 @@ Any characters or character sequences not covered by this specification are invalid. Projects MUST NOT use such values. Tools consuming this field SHOULD reject invalid values with an error. -Tools MUST assume that SBOM file content is valid UTF-8 encoded JSON, and SHOULD -validate this an raise an error for invalid formats and encodings. - Literal paths (e.g. ``bom.cdx.json``) are treated as valid globs which means they can also be defined. @@ -257,7 +254,7 @@ Examples of invalid SBOM files declarations: [project] sbom-files = ["..\bom.json"] -Reason: ``..`` must not be used. ``\\`` is an invalid path delimited, ``/`` +Reason: ``..`` must not be used. ``\\`` is an invalid path delimiter, ``/`` must be used. .. code-block:: toml