From 720410d251d50853f1ced7fe443f8a7e8b35edbc4f565e34c249d63702ede204 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 19:34:38 +0000 Subject: [PATCH 1/2] - 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/package/show/devel:languages:python/python-msgpack?expand=0&rev=33 --- msgpack-1.0.5.tar.gz | 3 --- msgpack-1.0.7.tar.gz | 3 +++ python-msgpack.changes | 20 ++++++++++++++++---- python-msgpack.spec | 7 +------ 4 files changed, 20 insertions(+), 13 deletions(-) delete mode 100644 msgpack-1.0.5.tar.gz create mode 100644 msgpack-1.0.7.tar.gz diff --git a/msgpack-1.0.5.tar.gz b/msgpack-1.0.5.tar.gz deleted file mode 100644 index 9498d0d..0000000 --- a/msgpack-1.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c075544284eadc5cddc70f4757331d99dcbc16b2bbd4849d15f8aae4cf36d31c -size 127834 diff --git a/msgpack-1.0.7.tar.gz b/msgpack-1.0.7.tar.gz new file mode 100644 index 0000000..299d91e --- /dev/null +++ b/msgpack-1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:572efc93db7a4d27e404501975ca6d2d9775705c2d922390d878fcf768d92c87 +size 166311 diff --git a/python-msgpack.changes b/python-msgpack.changes index 67ae146..f057972 100644 --- a/python-msgpack.changes +++ b/python-msgpack.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Nov 27 19:33:29 UTC 2023 - Dirk Müller + +- 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 @@ -32,7 +44,7 @@ Mon Jan 10 23:20:31 UTC 2022 - Dirk Müller - update to 1.0.3: * add python 3.10 support - * bugfixes + * bugfixes ------------------------------------------------------------------- Sun Dec 20 13:22:55 UTC 2020 - Dirk Müller @@ -77,10 +89,10 @@ Thu Mar 7 21:33:19 UTC 2019 - Ondřej Súkup * 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 diff --git a/python-msgpack.spec b/python-msgpack.spec index 7bca022..5236428 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -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 From 4273e906aa1ada76963a44056760eba2abf2afbafbbe2ad7510ba22792951e2f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 4 Feb 2024 11:50:09 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgpack?expand=0&rev=34 --- python-msgpack.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-msgpack.spec b/python-msgpack.spec index 5236428..ddef401 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -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 @@ -51,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