14
0

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

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