From 138e278a4138c3834fbc7434d0e851d8d4a4a8621d4af251d7798865cbf9e673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 31 Mar 2020 13:30:29 +0000 Subject: [PATCH] Accepting request 790146 from home:pgajdos:python - version update to 1.0.0 * Remove Python 2 support from the msgpack/_cmsgpack. msgpack/fallback still supports Python 2. * Remove encoding option from the Packer and Unpacker. * Unpacker: The default value of max_buffer_type is changed to 100MiB. * Unpacker: strict_map_key is True by default now. * Unpacker: String map keys are interned. * Drop old buffer protocol support. * Support Timestamp type. * Support serializing and decerializing datetime object with tzinfo. * Unpacker: Fix Unpacker.read_bytes() in fallback implementation. (#352) OBS-URL: https://build.opensuse.org/request/show/790146 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgpack?expand=0&rev=22 --- msgpack-0.6.2.tar.gz | 3 --- msgpack-1.0.0.tar.gz | 3 +++ python-msgpack.changes | 14 ++++++++++++++ python-msgpack.spec | 6 ++++-- 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 msgpack-0.6.2.tar.gz create mode 100644 msgpack-1.0.0.tar.gz diff --git a/msgpack-0.6.2.tar.gz b/msgpack-0.6.2.tar.gz deleted file mode 100644 index 777b315..0000000 --- a/msgpack-0.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830 -size 119062 diff --git a/msgpack-1.0.0.tar.gz b/msgpack-1.0.0.tar.gz new file mode 100644 index 0000000..b1d2467 --- /dev/null +++ b/msgpack-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0 +size 232331 diff --git a/python-msgpack.changes b/python-msgpack.changes index f99f31b..3b9691b 100644 --- a/python-msgpack.changes +++ b/python-msgpack.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Mar 31 12:18:12 UTC 2020 - pgajdos@suse.com + +- version update to 1.0.0 + * Remove Python 2 support from the msgpack/_cmsgpack. msgpack/fallback still supports Python 2. + * Remove encoding option from the Packer and Unpacker. + * Unpacker: The default value of max_buffer_type is changed to 100MiB. + * Unpacker: strict_map_key is True by default now. + * Unpacker: String map keys are interned. + * Drop old buffer protocol support. + * Support Timestamp type. + * Support serializing and decerializing datetime object with tzinfo. + * Unpacker: Fix Unpacker.read_bytes() in fallback implementation. (#352) + ------------------------------------------------------------------- Thu Mar 12 07:25:36 UTC 2020 - Tomáš Chvátal diff --git a/python-msgpack.spec b/python-msgpack.spec index 204ae48..548bb31 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -17,9 +17,11 @@ %define oldpython python +# Remove Python 2 support from the msgpack/_cmsgpack +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-msgpack -Version: 0.6.2 +Version: 1.0.0 Release: 0 Summary: MessagePack (de)serializer License: Apache-2.0 @@ -62,7 +64,7 @@ export CFLAGS="%{optflags}" %pytest_arch %files %{python_files} -%doc README.rst +%doc README.md %license COPYING %{python_sitearch}/msgpack %{python_sitearch}/msgpack-%{version}-py*.egg-info