Fixes: - Collect a config error instead of raising a raw `TypeError` when `project.dynamic` contains a non-string (unhashable) entry with `all_errors=True`.
Features: - Support [PEP 808](https://peps.python.org/pep-0808/) (partially dynamic project metadata) (METADATA 2.6). - Add support for Python 3.15. - Warn ([PEP 685](https://peps.python.org/pep-0685/)) when an extra name in `project.optional-dependencies` is not a valid name. The extra is still emitted, only a `ConfigurationWarning` is produced. Fixes: - Error on an unset dynamic version instead of silently writing `Version: 0.0.0`. If `"version"` is declared in `project.dynamic` but never assigned by the build backend, writing the metadata now raises a `ConfigurationError` (`Field "project.version" missing`), restoring the 0.8.x behavior that regressed in the 0.9 rewrite. - Don't crash on a non-table `[project]` when `all_errors=True`. - Tighten `license-files` glob checks and private-tag parsing. - Handle braces in user data within error messages. - Correct the `Import-Namespace` field name in the metadata mapping. - Fix UTF-8 author and maintainer names. Performance: - Cache `get_type_hints` and precompile dispatch patterns. Documentation: - Fix a stale dynamic docstring and a broken module example. - Add a documentation project URL. Internal and CI: - Refactoring: consistent dataclass decorators, sorted constant entries, and removal of duplicate imports and dead code. - Cover defensive branches in dispatch helpers and validators. - Secure GitHub Actions workflows and bump pinned/downstream dependencies. Signed-off-by: Richard Purdie <[email protected]> --- ...-metadata_0.11.0.bb => python3-pyproject-metadata_0.12.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-pyproject-metadata_0.11.0.bb => python3-pyproject-metadata_0.12.1.bb} (89%) diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.11.0.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.12.1.bb similarity index 89% rename from meta/recipes-devtools/python/python3-pyproject-metadata_0.11.0.bb rename to meta/recipes-devtools/python/python3-pyproject-metadata_0.12.1.bb index 1e485df338d..9918cae0753 100644 --- a/meta/recipes-devtools/python/python3-pyproject-metadata_0.11.0.bb +++ b/meta/recipes-devtools/python/python3-pyproject-metadata_0.12.1.bb @@ -16,7 +16,7 @@ PYPI_PACKAGE = "pyproject_metadata" inherit pypi python_flit_core -SRC_URI[sha256sum] = "c72fa49418bb7c5a10f25e050c418009898d1c051721d19f98a6fb6da59a66cf" +SRC_URI[sha256sum] = "8809a4df6fe08279b39a8890669506ed3158e0617855ac9aff098fcbe772ae4c" RDEPENDS:${PN} += " \ python3-logging \
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#242747): https://lists.openembedded.org/g/openembedded-core/message/242747 Mute This Topic: https://lists.openembedded.org/mt/120592392/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
