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:           Tue Feb 20 04:38:23 UTC 2024

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

Log Message:
py-cbor2: updated to 5.6.2

5.6.2

- Fixed ``__hash__()`` of the C version of the ``CBORTag`` type crashing when there's a recursive
  reference cycle
- Fixed type annotation for the file object in ``cbor2.dump()``, ``cbor2.load()``, ``CBOREncoder``
  and ``CBORDecoder`` to be ``IO[bytes]`` instead of ``BytesIO``
- Worked around a `CPython bug <https://github.com/python/cpython/issues/99612>`_ that caused
  a ``SystemError`` to be raised, or even a buffer overflow to occur when decoding a long text
  string that contained only ASCII characters
- Changed the return type annotations of ``cbor2.load()`` and ``cbor2.load()`` to return ``Any``
  instead of ``object`` so as not to force users to make type casts


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-cbor2/Makefile \
    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.7 pkgsrc/devel/py-cbor2/Makefile:1.8
--- pkgsrc/devel/py-cbor2/Makefile:1.7  Fri Feb  2 08:10:52 2024
+++ pkgsrc/devel/py-cbor2/Makefile      Tue Feb 20 04:38:22 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2024/02/02 08:10:52 adam Exp $
+# $NetBSD: Makefile,v 1.8 2024/02/20 04:38:22 adam Exp $
 
-DISTNAME=      cbor2-5.6.1
+DISTNAME=      cbor2-5.6.2
 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.7 pkgsrc/devel/py-cbor2/distinfo:1.8
--- pkgsrc/devel/py-cbor2/distinfo:1.7  Fri Feb  2 08:10:52 2024
+++ pkgsrc/devel/py-cbor2/distinfo      Tue Feb 20 04:38:22 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2024/02/02 08:10:52 adam Exp $
+$NetBSD: distinfo,v 1.8 2024/02/20 04:38:22 adam Exp $
 
-BLAKE2s (cbor2-5.6.1.tar.gz) = f3a72ffbf33f71c8275e9ba40a1a882cf3ae32e7c12bee119a1a62f88d0b2746
-SHA512 (cbor2-5.6.1.tar.gz) = 9ddf2c3690780816ff50ff4ed371435ca45b597b706254c37c9f01d1f1a699892e2c945a72e69b5506a803c41692f399b58b4e32d9409a0197c677e537e656b2
-Size (cbor2-5.6.1.tar.gz) = 99268 bytes
+BLAKE2s (cbor2-5.6.2.tar.gz) = 5d1f5ea8566f2741c36f1b522bfbd53ed348a46cc5d29d272b001b4f2308a2c6
+SHA512 (cbor2-5.6.2.tar.gz) = da98aaf17b17b50bdfc4dbecc1e88e70ed6e99f26e9eb4124de0e92ea2d63f827cee3da83c9aeba1af386cf5a7e95d76be30c79b0a8fde7d53ee8c203b2119b9
+Size (cbor2-5.6.2.tar.gz) = 100016 bytes



Home | Main Index | Thread Index | Old Index