14
0
forked from pool/python-cbor2

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
This commit is contained in:
2023-12-15 09:42:11 +00:00
committed by Git OBS Bridge
parent 912bb95a7f
commit 01db3c0b1b
4 changed files with 34 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7
size 86909

BIN
cbor2-5.5.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Dec 14 09:18:38 UTC 2023 - Petr Gajdos <pgajdos@suse.com>
- 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
* **5.5.0** (2023-10-21)
* 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
-------------------------------------------------------------------
Sun Jun 11 13:37:55 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -18,13 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-cbor2
Version: 5.4.6
Version: 5.5.1
Release: 0
Summary: Pure Python CBOR (de)serializer with extensive tag support
License: MIT
URL: https://github.com/agronholm/cbor2
Source: https://files.pythonhosted.org/packages/source/c/cbor2/cbor2-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 61}
@@ -38,7 +39,7 @@ BuildRequires: python-rpm-macros
Pure Python CBOR (de)serializer with extensive tag support
%prep
%setup -q -n cbor2-%{version}
%autosetup -p1 -n cbor2-%{version}
# Remove test dependency on pytest-cov
sed -i 's/--cov//' pyproject.toml
@@ -49,7 +50,7 @@ export LANG=en_US.UTF8
%install
export LANG=en_US.UTF8
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
export LANG=en_US.UTF8
@@ -58,6 +59,8 @@ export LANG=en_US.UTF8
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitearch}/*
%{python_sitearch}/*.so
%{python_sitearch}/cbor2
%{python_sitearch}/cbor2*-info
%changelog