| SPDX-FileCopyrightText | 2026-present Arthit Suriyawongkul |
|---|---|
| SPDX-FileType | DOCUMENTATION |
| SPDX-License-Identifier | CC0-1.0 |
See also: Message codes (the index of every code) and Messages and codes (the line grammar, what a code guarantees and when to trust one).
Trust a code only when the line is one of the lines below, a value in place of
each <name>, after at most one prefix: the index lists the prefixes and
message-codes-values.md the values.
| Code | Level | Means | Since |
|---|---|---|---|
author-ambiguous |
WARNING, INFO | A free-text author field (core metadata Author or Author-email, a setup.cfg or setup.py author, a dependency's author or maintainer record) was read by a guess. An address field is a list, split on ',' and ';', though one name may hold a comma ('Doe, Jane'); a name field is one author, cut only next to the complete mailboxes it holds. The INFO line is a name field read as one author though it holds ',', ';' or 'and' ('Doe, Jane' and 'Ann and Bob' cannot be told from lists). For dependencies, one line per document names the first field split and how many dependencies were. | 0.25.0 |
author-invalid |
WARNING | An entry of a project's free-text author field (an Author-email entry, or a mailbox in Author with '<' or '@') is not one valid email address: its address is not of the form local@domain, text follows a valid address ('Ann a@x.org extra', 'a@x.org trailing'), or one mailbox holds two addresses. The line shows the entries, the first few when several, and how many. | 0.25.0 |
project-unreadable |
WARNING | An embed with a project directory (embed-wheel --project-dir, wheel --embed with --project-dir, the library's embed_wheel_sbom) reads the project's metadata only for its declared authors, which keep their order there; the metadata could not be read: a configuration or metadata file that does not parse, is not UTF-8 or cannot be opened. The line gives what was reported. | 0.25.0 |
-
Level: WARNING, INFO.
-
Means: A free-text author field (core metadata Author or Author-email, a setup.cfg or setup.py author, a dependency's author or maintainer record) was read by a guess. An address field is a list, split on ',' and ';', though one name may hold a comma ('Doe, Jane'); a name field is one author, cut only next to the complete mailboxes it holds. The INFO line is a name field read as one author though it holds ',', ';' or 'and' ('Doe, Jane' and 'Ann and Bob' cannot be told from lists). For dependencies, one line per document names the first field split and how many dependencies were.
-
SBOM effect: weaker: what the SBOM says is less sure.
-
Pitloom did: Recorded each entry of the split as its own author (or the name field as one author, for the INFO line); the SBOM is written.
-
Tell the user: which field was split and how, as the line says. Only authors listed in pyproject.toml (a project directory or an sdist that has one) are read one by one; a wheel's METADATA, an sdist's PKG-INFO, a setup.cfg or setup.py author and a dependency's record are free text. They list each author in [project] authors of pyproject.toml and generate from the project or an sdist. A dependency's record is its maintainers' to fix. Do not edit the project's metadata for them; ask first, and with nobody to ask, report it only.
-
Lines:
WARNING: AUTHOR=<authors>: split into <entry-count> next to an address; a name field is never cut between names [author-ambiguous] WARNING: AUTHOR_EMAIL=<authors>: split into <entry-count> on ',' or ';'; an address field cannot tell a list from one name holding a comma [author-ambiguous] INFO: AUTHOR=<authors>: read as one author; it may list several [author-ambiguous] WARNING: PACKAGE=<package> <author-key>=<authors>: split into <entry-count> next to an address; a name field is never cut between names; <dependency-count> split in all [author-ambiguous] WARNING: PACKAGE=<package> <author-key>=<authors>: split into <entry-count> on ',' or ';'; an address field cannot tell a list from one name holding a comma; <dependency-count> split in all [author-ambiguous]
-
Level: WARNING.
-
Means: An entry of a project's free-text author field (an Author-email entry, or a mailbox in Author with '<' or '@') is not one valid email address: its address is not of the form local@domain, text follows a valid address ('Ann a@x.org extra', 'a@x.org trailing'), or one mailbox holds two addresses. The line shows the entries, the first few when several, and how many.
-
SBOM effect: thinner: the SBOM says less than reading the input would.
-
Pitloom did: Recorded no address for the entry; a display name stated before its '<' is kept as an author with no address. The SBOM is written.
-
Tell the user: which entries are not one valid email address, as the line says. They correct the address in the project's metadata and generate again. Do not edit the metadata for them; ask first, and with nobody to ask, report it only.
-
Lines:
WARNING: AUTHOR_EMAIL=<authors>: not one valid email address; not recorded [author-invalid] WARNING: AUTHOR_EMAIL=<authors>: not one valid email address; <entry-count> not recorded [author-invalid] WARNING: AUTHOR=<authors>: not one valid email address; not recorded [author-invalid] WARNING: AUTHOR=<authors>: not one valid email address; <entry-count> not recorded [author-invalid]
-
Level: WARNING.
-
Means: An embed with a project directory (embed-wheel --project-dir, wheel --embed with --project-dir, the library's embed_wheel_sbom) reads the project's metadata only for its declared authors, which keep their order there; the metadata could not be read: a configuration or metadata file that does not parse, is not UTF-8 or cannot be opened. The line gives what was reported.
-
SBOM effect: thinner: the SBOM says less than reading the input would.
-
Pitloom did: Took the authors from the wheel's METADATA: authors with an address come first, and name-only authors joined into one Author field are read as one. The SBOM is embedded.
-
Tell the user: which project directory could not be read and why, as the line says. They fix the project's metadata and embed again. Do not edit the project for them; ask first, and with nobody to ask, report it only.
-
Lines:
WARNING: DIR=<dir>: project metadata not read; authors from the wheel METADATA; <failure> [project-unreadable]