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
This commit is contained in:
Tomáš Chvátal 2020-03-31 13:30:29 +00:00 committed by Git OBS Bridge
parent 49c9bd418d
commit 138e278a41
4 changed files with 21 additions and 5 deletions

View File

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

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

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

View File

@ -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 <tchvatal@suse.com>

View File

@ -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