Accepting request 1143992 from devel:languages:python

- update to 1.0.7:
  * remove inline macro for msvc
  * do not fallback on build error
  * fix: build status badge
  * Drop python2 support
  * Drop Python 3.6 support
  * try Cython 3.0
  * sphinx-related work

  * bugfixes
 * unpacker: Default value of input limits are smaller than before to
    into UnpackValueError. If you want to catch all exception during unpack,

OBS-URL: https://build.opensuse.org/request/show/1143992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msgpack?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2024-02-06 15:32:27 +00:00 committed by Git OBS Bridge
commit a73d5064c8
4 changed files with 22 additions and 14 deletions

BIN
msgpack-1.0.5.tar.gz (Stored with Git LFS)

Binary file not shown.

3
msgpack-1.0.7.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Nov 27 19:33:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.0.7:
* remove inline macro for msvc
* do not fallback on build error
* fix: build status badge
* Drop python2 support
* Drop Python 3.6 support
* try Cython 3.0
* sphinx-related work
-------------------------------------------------------------------
Mon May 8 07:20:01 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
@ -32,7 +44,7 @@ Mon Jan 10 23:20:31 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.0.3:
* add python 3.10 support
* bugfixes
* bugfixes
-------------------------------------------------------------------
Sun Dec 20 13:22:55 UTC 2020 - Dirk Müller <dmueller@suse.com>
@ -77,10 +89,10 @@ Thu Mar 7 21:33:19 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
* Unpacker(max_buffer_len=N) configures max_*_len options from N, instead
of static default sizes.
* max_bin_len, max_str_len, and max_ext_len are deprecated.
* unpacker: Default value of input limits are smaller than before to
* unpacker: Default value of input limits are smaller than before to
avoid DoS attack
* Unpacker doesn't wrap underlaying ValueError (including UnicodeError)
into UnpackValueError. If you want to catch all exception during unpack,
into UnpackValueError. If you want to catch all exception during unpack,
you need to use try ... except Exception with minimum try code block.
* PackValueError and PackOverflowError are also removed. You need to catch
normal ValueError and OverflowError.
@ -190,7 +202,7 @@ Tue Nov 18 13:14:12 UTC 2014 - toddrme2178@gmail.com
Bugs fixed
- Unpacker doesn't increment refcount of hooks. Hooks may be GCed while unpacking.
- Unpacker may read unfilled internal buffer.
-------------------------------------------------------------------
Sun Dec 8 15:02:40 UTC 2013 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-msgpack
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,9 @@
#
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-msgpack
Version: 1.0.5
Version: 1.0.7
Release: 0
Summary: MessagePack (de)serializer
License: Apache-2.0
@ -35,10 +34,6 @@ BuildRequires: python-rpm-macros
# was renamed at 0.5.0
Provides: python-msgpack-python = %{version}
Obsoletes: python-msgpack-python < 0.5.0
%ifpython2
Provides: %{oldpython}-msgpack-python = %{version}
Obsoletes: %{oldpython}-msgpack-python < 0.5.0
%endif
%python_subpackages
%description
@ -56,6 +51,7 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand rm -v %{buildroot}%{$python_sitearch}/msgpack/*.h
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check