Subject: CVS commit: pkgsrc/devel/py-cbor2
From: Adam Ciarcinski
Date: 2024-02-20 05:38:23
Message id: 20240220043823.1CAA7F9F4@cvs.NetBSD.org

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

Files:
RevisionActionfile
1.8modifypkgsrc/devel/py-cbor2/Makefile
1.8modifypkgsrc/devel/py-cbor2/distinfo