pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cbor2



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct  1 18:45:16 UTC 2026

Modified Files:
        pkgsrc/devel/py-cbor2: Makefile distinfo

Log Message:
py-cbor2: updated to 6.1.5

6.1.5

- Fixed :class:`CBORSimpleValue` hashing inconsistently with the integer it compares equal to
- Fixed canonical encoding with value sharing enabled emitting shared references to container
  keys that were never written to the stream, because the throwaway encoding used to sort the keys
  registered them as shared values; the output then failed to decode, or decoded with the wrong
  keys substituted in
- Fixed shared references (tag 29) to a map or an unhandled tag resolving to the raw
  :class:`dict` or :class:`CBORTag` instead of the value returned by ``object_hook`` or
  ``tag_hook``, a regression from 5.x
- Fixed the encoder not giving a nested stringref namespace (tag 256) its own index space
- Fixed the decoder returning its internal break marker as a value when a break stop code
  appeared where a data item was expected
- Fixed a ``PanicException`` when trying to decode an epoch-form date (tag 100) with a payload near
  ``i32::MAX`` which then overflowed the addition instead of raising a clean decode error
- Fixed the decoder accepting a string-form datetime (tag 0) without a UTC offset and returning
  a naive :class:`~datetime.datetime` instead of rejecting it
- Fixed a reused :class:`CBOREncoder` no longer flushing its output or resetting its shared
  container and string reference tracking after an ``encode()`` call had raised an exception


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-cbor2/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-cbor2/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-cbor2/Makefile
diff -u pkgsrc/devel/py-cbor2/Makefile:1.21 pkgsrc/devel/py-cbor2/Makefile:1.22
--- pkgsrc/devel/py-cbor2/Makefile:1.21 Tue Aug 11 05:42:12 2026
+++ pkgsrc/devel/py-cbor2/Makefile      Thu Oct  1 18:45:16 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2026/08/11 05:42:12 adam Exp $
+# $NetBSD: Makefile,v 1.22 2026/10/01 18:45:16 adam Exp $
 
-DISTNAME=      cbor2-6.1.4
+DISTNAME=      cbor2-6.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cbor2/}

Index: pkgsrc/devel/py-cbor2/distinfo
diff -u pkgsrc/devel/py-cbor2/distinfo:1.19 pkgsrc/devel/py-cbor2/distinfo:1.20
--- pkgsrc/devel/py-cbor2/distinfo:1.19 Tue Aug 11 05:42:12 2026
+++ pkgsrc/devel/py-cbor2/distinfo      Thu Oct  1 18:45:16 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2026/08/11 05:42:12 adam Exp $
+$NetBSD: distinfo,v 1.20 2026/10/01 18:45:16 adam Exp $
 
 BLAKE2s (autocfg-1.5.0.crate) = d9738bc6755bf80a73705691ef930ca883cd58e4a2d1162b5c0a09cdc7029304
 SHA512 (autocfg-1.5.0.crate) = f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08
@@ -6,9 +6,9 @@ Size (autocfg-1.5.0.crate) = 18729 bytes
 BLAKE2s (bigdecimal-0.4.10.crate) = 9f463d819252ec820d657de9d8d95a73924071f13181255dbedcc0047ef2c235
 SHA512 (bigdecimal-0.4.10.crate) = 706b7e33a2b375fc84ab6b617382145dd65e38e361498774493fad240a399e5a5e5f948604c831e9ca65eaa36df12ec7197c51fc80487680849129775d9256fc
 Size (bigdecimal-0.4.10.crate) = 126514 bytes
-BLAKE2s (cbor2-6.1.4.tar.gz) = 0de51a669058bfe9e2d946c6921fcb8c122b07870b94153658c7de2cd8dc9773
-SHA512 (cbor2-6.1.4.tar.gz) = f16de2df37b45864f2580a96a7edb632ce961c8f858780912497584641cbb3f5c9c1f0eba37d9c20439e6efc96074c6a87f5b4917bf66c2e61059ed5dfa8ae32
-Size (cbor2-6.1.4.tar.gz) = 90840 bytes
+BLAKE2s (cbor2-6.1.5.tar.gz) = f34e2b9e3f7bf05985695c64e391279370031ee94c3c6ab85c222520a54645a9
+SHA512 (cbor2-6.1.5.tar.gz) = b33b6f7e588f533a0d097bfcb25d9997d6e64e02e37d2079e9a902e7a3202513728b3db57f4bebb45396bdf39d6660f346978c8aab3307a5e1d2c1c41f6845d7
+Size (cbor2-6.1.5.tar.gz) = 94232 bytes
 BLAKE2s (cfg-if-1.0.4.crate) = 517b7cff4f133f9b02492c0db281822fd02c24941a7aa4f9b1502895dc5e58d9
 SHA512 (cfg-if-1.0.4.crate) = 176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d
 Size (cfg-if-1.0.4.crate) = 9360 bytes



Home | Main Index | Thread Index | Old Index