pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-project-metadata



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jul  6 07:13:22 UTC 2026

Modified Files:
        pkgsrc/devel/py-project-metadata: Makefile distinfo

Log Message:
py-project-metadata: update to 0.12.1.

0.12.1

Fixes:

    Collect a config error instead of raising a raw TypeError when project.dynamic contains a non-string (unhashable) entry with all_errors=True.

0.12.0

Features:

    Support PEP 808 (partially dynamic project metadata) (METADATA 2.6).
    Add support for Python 3.15.
    Warn (PEP 685) 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.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-project-metadata/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-project-metadata/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-project-metadata/Makefile
diff -u pkgsrc/devel/py-project-metadata/Makefile:1.11 pkgsrc/devel/py-project-metadata/Makefile:1.12
--- pkgsrc/devel/py-project-metadata/Makefile:1.11      Mon Feb 16 11:45:34 2026
+++ pkgsrc/devel/py-project-metadata/Makefile   Mon Jul  6 07:13:22 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2026/02/16 11:45:34 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2026/07/06 07:13:22 wiz Exp $
 
-DISTNAME=      pyproject_metadata-0.11.0
+DISTNAME=      pyproject_metadata-0.12.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyproject-metadata/}

Index: pkgsrc/devel/py-project-metadata/distinfo
diff -u pkgsrc/devel/py-project-metadata/distinfo:1.7 pkgsrc/devel/py-project-metadata/distinfo:1.8
--- pkgsrc/devel/py-project-metadata/distinfo:1.7       Mon Feb 16 11:45:34 2026
+++ pkgsrc/devel/py-project-metadata/distinfo   Mon Jul  6 07:13:22 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2026/02/16 11:45:34 wiz Exp $
+$NetBSD: distinfo,v 1.8 2026/07/06 07:13:22 wiz Exp $
 
-BLAKE2s (pyproject_metadata-0.11.0.tar.gz) = 9923f93e98aa9475fd5f4088a13c4fb683f4711ce81cc6d0bba78a626d304625
-SHA512 (pyproject_metadata-0.11.0.tar.gz) = c26e6deef7fa34147079006934d79846bba39289f87a1c30fabb5d378b7596bb13f4719686a94350d03933960459b351ba55bebbf0f16558984e40d92f05f784
-Size (pyproject_metadata-0.11.0.tar.gz) = 43799 bytes
+BLAKE2s (pyproject_metadata-0.12.1.tar.gz) = 39677ecaf2febff06308af68828a748dcf55f111e746eba077d2bdcbb9589a04
+SHA512 (pyproject_metadata-0.12.1.tar.gz) = f2a6e2379cc27b9209e9fae2156707fe2b4d17aa2b46f32ab73e36ac8c7777d2534ed59bb50d1f17bc53e92826c5993bdb590cdc3f45f3cde36bc5e8a5c35bd3
+Size (pyproject_metadata-0.12.1.tar.gz) = 48457 bytes



Home | Main Index | Thread Index | Old Index