pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/py-simplejson
Module Name: pkgsrc
Committed By: adam
Date: Fri Apr 24 10:24:23 UTC 2026
Modified Files:
pkgsrc/converters/py-simplejson: Makefile distinfo
Log Message:
py-simplejson: updated to 4.1.0
Version 4.1.0 released 2026-04-22
* The C extension now accelerates encoding when ``indent=`` is set.
Previously the encoder fell back to the pure-Python implementation
whenever a non-None ``indent`` was passed; now the C encoder emits
the newline-plus-indent prefix, the level-aware item separator, and
the closing indent directly. A representative nested-dict workload
benchmarks about 4-5x faster end-to-end, and the ``indent=0`` and
empty-container edge cases continue to match the Python output
byte-for-byte.
* The C extension now emits PEP 678 ``exc.add_note()`` annotations on
serialization failures, matching the pure-Python encoder. A chained
error on ``{'a': [1, object(), 3]}`` produces the same three notes
(``when serializing object object``, ``when serializing list item 1``,
``when serializing dict item 'a'``) whether the speedups are loaded
or not, so the add_note assertions in ``test_errors.py`` no longer
need ``indent=2`` to force the Python path.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/converters/py-simplejson/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/converters/py-simplejson/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/converters/py-simplejson/Makefile
diff -u pkgsrc/converters/py-simplejson/Makefile:1.58 pkgsrc/converters/py-simplejson/Makefile:1.59
--- pkgsrc/converters/py-simplejson/Makefile:1.58 Mon Apr 20 13:02:41 2026
+++ pkgsrc/converters/py-simplejson/Makefile Fri Apr 24 10:24:23 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2026/04/20 13:02:41 adam Exp $
+# $NetBSD: Makefile,v 1.59 2026/04/24 10:24:23 adam Exp $
-DISTNAME= simplejson-4.0.1
+DISTNAME= simplejson-4.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/simplejson/}
Index: pkgsrc/converters/py-simplejson/distinfo
diff -u pkgsrc/converters/py-simplejson/distinfo:1.45 pkgsrc/converters/py-simplejson/distinfo:1.46
--- pkgsrc/converters/py-simplejson/distinfo:1.45 Mon Apr 20 13:02:41 2026
+++ pkgsrc/converters/py-simplejson/distinfo Fri Apr 24 10:24:23 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.45 2026/04/20 13:02:41 adam Exp $
+$NetBSD: distinfo,v 1.46 2026/04/24 10:24:23 adam Exp $
-BLAKE2s (simplejson-4.0.1.tar.gz) = 7f3f79784af6638429561771eff5cf8b1281af6e9bba7a8b72c5223e469224be
-SHA512 (simplejson-4.0.1.tar.gz) = eeeb67a2266abea57d6ecd3cfc29d741ae899059fc918f9b92029138c864a20d73a85d9d451a7dfdef417da13270b794e81c28e4ed92f82f8ce68f712a931acc
-Size (simplejson-4.0.1.tar.gz) = 115959 bytes
+BLAKE2s (simplejson-4.1.0.tar.gz) = 46c5312c7e146044a234273eac5baade67c8b57a1956529bdf4db50982271089
+SHA512 (simplejson-4.1.0.tar.gz) = 1cc9a34cc4f3217fda7b46ed38119827508051e3ef0f3e8f13c794c24446b553f198ddc06a94363ed70ba60032edd13aede7c40d323f8d27657735bb662589cc
+Size (simplejson-4.1.0.tar.gz) = 118653 bytes
Home |
Main Index |
Thread Index |
Old Index