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
This commit is contained in:
adam 2024-02-20 04:38:22 +00:00
parent f1d5ca9fb5
commit f2ebf29b78
2 changed files with 6 additions and 6 deletions

View File

@ -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/}

View File

@ -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