Subject: CVS commit: pkgsrc/devel/py-cbor2
From: Adam Ciarcinski
Date: 2024-01-23 19:27:50
Message id: 20240123182750.DF3A2FA42@cvs.NetBSD.org

Log Message:
py-cbor2: updated to 5.6.0

5.6.0

- Added the ``cbor2`` command line tool (for ``pipx run cbor2``)
- Added support for native date encoding (bschoenmaeckers)
- Made the C extension mandatory when the environment variable \ 
``CBOR2_BUILD_C_EXTENSION`` is set
  to ``1``.
- Fixed ``SystemError`` in the C extension when decoding a ``Fractional`` with a bad
  number of arguments or a non-tuple value
- Fixed ``SystemError`` in the C extension when the decoder object hook raises an
  exception
- Fixed a segmentation fault when decoding invalid unicode data
- Fixed infinite recursion when trying to hash a CBOR tag whose value points to \ 
the tag
  itself
- Fixed ``MemoryError`` when maliciously constructed bytestrings or string \ 
(declared to be absurdly
  large) are being decoded
- Fixed ``UnicodeDecodeError`` from failed parsing of a UTF-8 text string not \ 
being wrapped as
  ``CBORDecodeValueError``
- Fixed ``TypeError`` or ``ZeroDivisionError`` from a failed decoding of \ 
``Fraction`` not being
  wrapped as ``CBORDecodeValueError``
- Fixed ``TypeError`` or ``ValueError`` from a failed decoding of ``UUID`` not \ 
being wrapped as
  ``CBORDecodeValueError``
- Fixed ``TypeError`` from a failed decoding of ``MIMEMessage`` not being wrapped as
  ``CBORDecodeValueError``
- Fixed ``OverflowError``, ``OSError`` or ``ValueError`` from a failed decoding \ 
of epoch-based
  ``datetime`` not being wrapped as ``CBORDecodeValueError``

Files:
RevisionActionfile
1.6modifypkgsrc/devel/py-cbor2/Makefile
1.3modifypkgsrc/devel/py-cbor2/PLIST
1.6modifypkgsrc/devel/py-cbor2/distinfo