pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/py-zstandard



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 21 16:31:15 UTC 2025

Modified Files:
        pkgsrc/archivers/py-zstandard: Makefile PLIST distinfo

Log Message:
py-zstandard: update to 0.25.0.

    PyO3 Rust created upgraded from 0.24 to 0.25. (#273)
    We now use Py_REFCNT(obj) instead of accessing (*obj)->ob_refcnt directly.
    This fixes a nogil / multi-threaded compile error. (#201, #275)
    A zstandard commit to fix qsort detection on BSD operating systems
    has been backported. (#272)
    The PYTHON_ZSTANDARD_IMPORT_POLICY environment variable now has leading
    and trailing whitespace stripped. Values like  cffi and cffi are
    now equivalent to cffi.
    The CI jobs for building wheels have been overhauled to always use
    cibuildwheel and uv (where possible). This change should be backwards
    compatible. But wheel building for this project has historically been
    fragile and there may be unwanted changes. We're optimistic that standardizing
    on uv (except for musllinux ppc64le and s390x where uv isn't available)
    will lead to more stability over time.
    CI now runs tests against the wheels we distribute. Previously, we ran
    tests against a separate build that was theoretically identical. But the
    builds may have been subtly different, leading to preventable bugs in our
    wheels. (Enabling this test coverage did not uncover any failures.)
    The pyproject.toml build backend has been switched from
    setuptools.build_meta:__legacy__ to setuptools.build_meta.
    The setuptools build dependency has been upgraded from <69.0.0 to >=77.0.0.
    Modern versions of setuptools broke
    --config-settings=--build-option=... as part of implementing PEP 660.
    A workaround is to use --config-settings=--global-option=... instead.
    --global-option apparently is deprecated and the setuptools folks have yet
    to figure out how to thread config settings into setup.py invocations.
    (--build-option is sent to the build_wheel command but not the
    build_editable command.)
    Python 3.14 wheels are now built with manylinux_2_28 (versus
    manylinux2014) for older Python versions. This may raise the minimum
    glibc version, effectively dropping support for Debian 8 and 9, Ubuntu
    13.10 through 18.04, Fedora 19 to 28, and RHEL/Centos 7. However, in
    practice most platforms don't container newer glibc symbols and are still
    ABI compatible with manylinux2014 and glibc 2.17.
    We now require cffi >= 2.0.0b on Python 3.14. <3.14 still requires 1.17.
    (#274)
    The cffi backend is now automatically disabled for free-threaded builds
    on Python <3.14, as cffi didn't implement free-threaded support until
    the 2.0 release. (#274)
    Added CI coverage for free-threaded CPython 3.13 and 3.14. We do not yet
    formally support free-threaded builds. (#276)
    The C and Rust backends now declare the GIL as unused.
    The pythoncapi_compat.h file has been upgraded to the latest version. (#278)
    setup.py now depends on packaging and uses packaging.version.Version
    for version comparisons. This removes some deprecation warnings from usage of
    legacy distutils Version classes.
    Relax run-time libzstd version checking in C extension from exactly 1.5.7
    to >=1.5.6. (#254, #267)
    C extension types now (correctly) declare their fully qualified type names
    as zstandard.backend_c.* versus zstd.* before. The names have been
    subtly broken for years. We believe the only practical exposure to this change
    is via pickling (possibly encountered when using the multiprocessing or
    concurrent.futures packages), which would fail to pickle types like
    ZstdError before since the fully qualified type name referenced an
    incorrect and likely missing package (zstd). (#248)


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/archivers/py-zstandard/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/archivers/py-zstandard/PLIST
cvs rdiff -u -r1.29 -r1.30 pkgsrc/archivers/py-zstandard/distinfo

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

Modified files:

Index: pkgsrc/archivers/py-zstandard/Makefile
diff -u pkgsrc/archivers/py-zstandard/Makefile:1.38 pkgsrc/archivers/py-zstandard/Makefile:1.39
--- pkgsrc/archivers/py-zstandard/Makefile:1.38 Thu Aug 28 12:40:15 2025
+++ pkgsrc/archivers/py-zstandard/Makefile      Sun Sep 21 16:31:15 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.38 2025/08/28 12:40:15 pho Exp $
+# $NetBSD: Makefile,v 1.39 2025/09/21 16:31:15 wiz Exp $
 
-DISTNAME=      zstandard-0.24.0
+DISTNAME=      zstandard-0.25.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zstandard/}
 
@@ -21,6 +20,9 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-hypothesis
 CPPFLAGS+=     -DZDICT_QSORT=ZDICT_QSORT_C90
 .endif
 
+# as of 0.25.0
+# 28 errors
+
 # upstream prefers to use its bundled version of zstd
 # https://github.com/indygreg/python-zstandard/blob/0063333790a853360c816101511635865405834f/c-ext/backend_c.c#L137-L151
 #BUILDLINK_API_DEPENDS.zstd+=  zstd>=1.5.7

Index: pkgsrc/archivers/py-zstandard/PLIST
diff -u pkgsrc/archivers/py-zstandard/PLIST:1.10 pkgsrc/archivers/py-zstandard/PLIST:1.11
--- pkgsrc/archivers/py-zstandard/PLIST:1.10    Sun Aug 17 20:43:58 2025
+++ pkgsrc/archivers/py-zstandard/PLIST Sun Sep 21 16:31:15 2025
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.10 2025/08/17 20:43:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2025/09/21 16:31:15 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/zstandard/__init__.py
 ${PYSITELIB}/zstandard/__init__.pyc

Index: pkgsrc/archivers/py-zstandard/distinfo
diff -u pkgsrc/archivers/py-zstandard/distinfo:1.29 pkgsrc/archivers/py-zstandard/distinfo:1.30
--- pkgsrc/archivers/py-zstandard/distinfo:1.29 Sun Aug 17 20:43:58 2025
+++ pkgsrc/archivers/py-zstandard/distinfo      Sun Sep 21 16:31:15 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2025/08/17 20:43:58 wiz Exp $
+$NetBSD: distinfo,v 1.30 2025/09/21 16:31:15 wiz Exp $
 
-BLAKE2s (zstandard-0.24.0.tar.gz) = 162b783aa2073f1b52a803ac284a9bb1ff99f3b134c22ee9357aeca4ac02f0f2
-SHA512 (zstandard-0.24.0.tar.gz) = 6590ddf40958a16894c4239811054f50d07451fe9649bb5ea59918f83826498ce2d5a777f84bb68479de30fcb7308e8d579794b6ad0d3412b736638d85d1c0c2
-Size (zstandard-0.24.0.tar.gz) = 905681 bytes
+BLAKE2s (zstandard-0.25.0.tar.gz) = d00ec4dc262fea466fc89b02ed392a49c1efac45e56973074fd65cc526c24927
+SHA512 (zstandard-0.25.0.tar.gz) = 7e7f73328ec242fbcf3e17de15f8833cb1933139bc6243751d3e23e1d6d95fd5d5e17c9b1af64d59821847d24135a55118f59a8a807d7c319612246653f4b192
+Size (zstandard-0.25.0.tar.gz) = 711513 bytes



Home | Main Index | Thread Index | Old Index