1
0
forked from pool/python-cbor2

39 Commits

Author SHA256 Message Date
860dee7bfb Accepting request 1314563 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1314563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=18
2025-10-30 16:10:52 +00:00
31f1f8651d - Update to 5.7.1
* Improved performance on decoding large definite bytestrings
  * Fixed a read(-1) vulnerability caused by boundary handling error

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=37
2025-10-30 13:18:28 +00:00
aad6eaab4d Accepting request 1307718 from devel:languages:python
- update to 5.7.0:
  * Added support for Python 3.14 (no free-threading support yet,
    sorry)
  * Dropped support for Python 3.8
  * Added support for encoding indefinite containers
  * Added complex number support (tag 43000)

OBS-URL: https://build.opensuse.org/request/show/1307718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=17
2025-09-29 14:37:20 +00:00
a6c86ae467 - update to 5.7.0:
* Added support for Python 3.14 (no free-threading support yet,
    sorry)
  * Dropped support for Python 3.8
  * Added support for encoding indefinite containers
  * Added complex number support (tag 43000)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=35
2025-09-29 10:21:47 +00:00
fd17d68952 Accepting request 1298978 from devel:languages:python
- Make the libalternatives transition conditional

OBS-URL: https://build.opensuse.org/request/show/1298978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=16
2025-08-12 15:05:09 +00:00
c9f7b13f08 - Make the libalternatives transition conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=33
2025-08-12 08:01:34 +00:00
fdfe39a01d Accepting request 1288516 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1288516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=15
2025-06-26 09:39:02 +00:00
9f8bb43810 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=31
2025-06-25 11:44:47 +00:00
ed59bf6373 Accepting request 1243333 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1243333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=14
2025-02-05 16:21:21 +00:00
84b6145434 - Update to 5.6.3 (bsc#1220096, CVE-2024-26134):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=29
2025-01-29 11:47:20 +00:00
0c6379bf3c Accepting request 1217046 from devel:languages:python
- update to 5.6.5:
  * Published binary wheels for Python 3.13

OBS-URL: https://build.opensuse.org/request/show/1217046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=13
2024-10-23 19:09:46 +00:00
6f747eba62 - update to 5.6.5:
* Published binary wheels for Python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=27
2024-10-22 13:48:05 +00:00
4e4816b20e Accepting request 1179021 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1179021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=12
2024-06-07 13:03:25 +00:00
8f26a6b682 Accepting request 1178996 from home:glaubitz:branches:devel:languages:python
- Update to 5.6.4
  * Fixed compilation of C extension failing on GCC 14
  * Fixed compiler warnings when building C extension
- Drop patches for issues fixed upstream
  * https://github.com/agronholm/cbor2/pull/238.patch

OBS-URL: https://build.opensuse.org/request/show/1178996
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=25
2024-06-06 13:46:51 +00:00
4428b713f9 Accepting request 1178786 from home:glaubitz:branches:devel:languages:python
- Update to 5.6.3
  * Fixed decoding of epoch-based dates being affected by the local
    time zone in the C extension
- from version 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
- from version 5.6.1
  * Fixed use-after-free in the decoder's C version when prematurely encountering
    the end of stream
  * Fixed the C version of the decoder improperly raising ``CBORDecodeEOF`` when
    decoding a text string longer than 65536 bytes
- from version 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

OBS-URL: https://build.opensuse.org/request/show/1178786
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=24
2024-06-06 06:55:12 +00:00
efb2683975 Accepting request 1133371 from devel:languages:python
- update to 5.5.1:
  * Fixed ``CBORSimpleValue`` allowing the use of reserved values
    (24 to 31) which resulted in invalid byte sequences
  * Fixed encoding of simple values from 20 to 23 producing the
    wrong byte sequences
  * The ``cbor2.encoder``, ``cbor2.decoder`` or ``cbor2.types``
    modules were deprecated – import their contents directly
    from ``cbor2`` from now on. The old modules will be removed
    in the next major release.
  * Added support for Python 3.12
  * Added type annotations
  * Dropped support for Python 3.7
  * Fixed bug in the ``fp`` attribute of the built-in version of
    ``CBORDecoder`` and ``CBOREncoder`` where the getter returns
    an invalid pointer if the ``read`` method of the file was a
    built-in method

  * Bump requirement to 3.7+
  * Fix segfault when initializing CBORTag with incorrect arguments
  * Fix sphinx build warnings
  * Fix SystemErrors when using C-backend, meaningful exceptions now raised
  * Fix precision loss when decoding base10 decimal fractions
  * Made CBORTag handling consistent between python and C-module
  * Feature: Ignore semantic tag used for file magic 55799 AKA "Self-Described CBOR" (kalcutter)
  * BACKWARD INCOMPATIBLE CBOR does not have a bare DATE type,
  * Optional Pure C implementation by waveform80 that functions

OBS-URL: https://build.opensuse.org/request/show/1133371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=11
2023-12-15 20:49:53 +00:00
79e3c43b1b (24 to 31) which resulted in invalid byte sequences
modules were deprecated – import their contents directly
    from ``cbor2`` from now on. The old modules will be removed
    in the next major release.
    ``CBORDecoder`` and ``CBOREncoder`` where the getter returns
    an invalid pointer if the ``read`` method of the file was a
    built-in method
  * Bump requirement to 3.7+
  * Fix segfault when initializing CBORTag with incorrect arguments
  * Fix sphinx build warnings
  * Fix SystemErrors when using C-backend, meaningful exceptions now raised
  * Fix precision loss when decoding base10 decimal fractions
  * Made CBORTag handling consistent between python and C-module
  * Feature: Ignore semantic tag used for file magic 55799 AKA "Self-Described CBOR" (kalcutter)
  * BACKWARD INCOMPATIBLE CBOR does not have a bare DATE type,
  * Optional Pure C implementation by waveform80 that functions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=22
2023-12-15 09:42:50 +00:00
01db3c0b1b Accepting request 1133145 from home:pgajdos:python
pmmu version update

OBS-URL: https://build.opensuse.org/request/show/1133145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=21
2023-12-15 09:42:11 +00:00
a5a2e035cd Accepting request 1092388 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=10
2023-06-12 13:26:25 +00:00
912bb95a7f Accepting request 1092307 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=19
2023-06-11 20:12:39 +00:00
82dd33088a Accepting request 1056835 from devel:languages:python
- update to 5.4.6:
  * Fix tag decoding error
  * fix potential memory leak
  * Bump requirement to 3.7+

OBS-URL: https://build.opensuse.org/request/show/1056835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=9
2023-01-08 20:25:39 +00:00
e5ca668790 - update to 5.4.6:
* Fix tag decoding error
  * fix potential memory leak
  * Bump requirement to 3.7+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=17
2023-01-07 23:39:28 +00:00
afbf1732e4 Accepting request 946692 from devel:languages:python
- update to 5.4.2:
  * Fix segfault when initializing CBORTag with incorrect arguments 
  * Fix sphinx build warnings 
  * Fix SystemErrors when using C-backend, meaningful exceptions now raised 
  * Fix precision loss when decoding base10 decimal fractions 
  * Made CBORTag handling consistent between python and C-module

OBS-URL: https://build.opensuse.org/request/show/946692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=8
2022-01-16 23:22:47 +00:00
045136184e - update to 5.4.2:
* Fix segfault when initializing CBORTag with incorrect arguments 
  * Fix sphinx build warnings 
  * Fix SystemErrors when using C-backend, meaningful exceptions now raised 
  * Fix precision loss when decoding base10 decimal fractions 
  * Made CBORTag handling consistent between python and C-module

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=16
2022-01-15 17:52:28 +00:00
79bf25c878 Accepting request 898419 from devel:languages:python
- update to 5.4.0:
  * Added new feature stringrefs, which makes repetitive dictionary structures
    more compact. Use with care since support for this is rare in other CBOR
    implementations.
  * This release includes some bugfixes around decoding invalid data, which may
    improve security on decoding untrusted data.

OBS-URL: https://build.opensuse.org/request/show/898419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=7
2021-06-09 19:52:37 +00:00
946e1d986c - update to 5.4.0:
* Added new feature stringrefs, which makes repetitive dictionary structures
    more compact. Use with care since support for this is rare in other CBOR
    implementations.
  * This release includes some bugfixes around decoding invalid data, which may
    improve security on decoding untrusted data.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=14
2021-06-08 12:55:22 +00:00
b02cd08f0c Accepting request 887881 from devel:languages:python
- update to 5.2.0:
  * Final version tested with Python 2.7 and 3.5
  * README: Announce deprecation of Python 2.7, 3.5
  * README: More detail and examples
  * Bugfix: Fix segfault on loading huge arrays with C-backend (Sekenre)
  * Build system: Allow packagers to force C-backend building or disable using env var (jameshilliard)
  * Feature: :module:`cbor2.tool` Command line diagnostic tool (Sekenre)
  * Feature: Ignore semantic tag used for file magic 55799 AKA "Self-Described CBOR" (kalcutter)

OBS-URL: https://build.opensuse.org/request/show/887881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=6
2021-04-23 15:50:38 +00:00
a3788d7272 - update to 5.2.0:
* Final version tested with Python 2.7 and 3.5
  * README: Announce deprecation of Python 2.7, 3.5
  * README: More detail and examples
  * Bugfix: Fix segfault on loading huge arrays with C-backend (Sekenre)
  * Build system: Allow packagers to force C-backend building or disable using env var (jameshilliard)
  * Feature: :module:`cbor2.tool` Command line diagnostic tool (Sekenre)
  * Feature: Ignore semantic tag used for file magic 55799 AKA "Self-Described CBOR" (kalcutter)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=12
2021-04-22 20:18:26 +00:00
d568a04ef6 Accepting request 828448 from devel:languages:python
- Update to version 5.1.2
 * Refcount bug in C lib causing intermittent segfaults on shutdown
 * Fractional seconds parsing in datetimes

OBS-URL: https://build.opensuse.org/request/show/828448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=5
2020-08-21 17:16:19 +00:00
fdc481e11b - Update to version 5.1.2
* Refcount bug in C lib causing intermittent segfaults on shutdown
 * Fractional seconds parsing in datetimes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=10
2020-08-21 10:07:35 +00:00
5e07149833 Accepting request 789799 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/789799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=4
2020-03-30 21:06:46 +00:00
Tomáš Chvátal
2320e4f712 Accepting request 789781 from home:mcalabkova:branches:devel:languages:python
- update to version 5.1.0
  * Minor API change :class:`CBORSimpleValue` is now a subclass of namedtuple and allows
    all numeric comparisons. This brings functional parity between C and Python modules.
  * Fixes for C-module on big-endian systems including floating point decoding, smallint encoding,
    and boolean argument handling. Tested on s390x and MIPS32.
  * Increase version requred of setuptools during install due to unicode errors.

OBS-URL: https://build.opensuse.org/request/show/789781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=8
2020-03-30 14:54:22 +00:00
4b1fd5d706 Accepting request 782823 from devel:languages:python
py38 fix

OBS-URL: https://build.opensuse.org/request/show/782823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=3
2020-03-10 08:51:10 +00:00
Tomáš Chvátal
a1cc94e09e - On python3 this package is compiled, so mark it such
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=6
2020-03-09 08:31:44 +00:00
ed762196f0 Accepting request 766911 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/766911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=2
2020-01-25 12:24:31 +00:00
Tomáš Chvátal
90933a6f0e Accepting request 766900 from home:mcalabkova:branches:devel:languages:python
Tom, please, how do I enable the skipped tests (even if the functionality is apparently not needed)?

- update to version 5.0.1
  * Fix deprecation warning on python 3.7, 3.8
  * BACKWARD INCOMPATIBLE CBOR does not have a bare DATE type, 
    encoding dates as datetimes is disabled by default
  * few major changes in the API, see docs/versionhistory.rst
  * Optional Pure C implementation by waveform80 that functions 
    identically to the pure Python implementation
  * Drop Python 3.3 and 3.4 support from the build process
  * Added support for encoding and decoding IPv4 and IPv6 addresses

OBS-URL: https://build.opensuse.org/request/show/766900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=4
2020-01-24 14:18:02 +00:00
57823cde3e Accepting request 681227 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/681227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=1
2019-03-05 11:20:36 +00:00
Tomáš Chvátal
f35416bc9e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=2 2019-03-04 09:11:56 +00:00
Tomáš Chvátal
0462e3979a Accepting request 677293 from home:jayvdb:moban
- Initial spec for v4.1.2

OBS-URL: https://build.opensuse.org/request/show/677293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=1
2019-03-04 09:11:23 +00:00