forked from pool/python-python-rapidjson
Accepting request 946528 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/946528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-rapidjson?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 13 23:07:04 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to v1.5
|
||||||
|
* Fix serialization bug when using DM_UNIX_TIME in a non-C locale
|
||||||
|
context
|
||||||
|
- Release 1.1 - 1.4
|
||||||
|
* wheel related
|
||||||
|
- Release 1.1
|
||||||
|
* Reduce decoder memory consumption by uniquifiying keys in the
|
||||||
|
loaded dictionaries
|
||||||
|
* Implement an alternative way of transmogrify JSON objects,
|
||||||
|
similar to json's object_pairs_hook load option (issue #154)
|
||||||
|
- Release 1.0
|
||||||
|
* Require Python 3.6 or greater
|
||||||
|
* New serialization options, iterable_mode and mapping_mode, to
|
||||||
|
give some control on how generic iterables and mappings get
|
||||||
|
encoded (fix issue #149 and issue #150)
|
||||||
|
* Internal refactorings, folding "skipkeys" and "sort_keys"
|
||||||
|
arguments into the mapping_mode options, respectively as
|
||||||
|
MM_SKIP_NON_STRING_KEYS and MM_SORT_KEYS: "old" arguments kept
|
||||||
|
for backward compatibility
|
||||||
|
* Bump major version to 1, tag as "production/stable" and switch
|
||||||
|
to a simpler X.Y versioning schema
|
||||||
|
- Release 0.9.4
|
||||||
|
* Fix memory leak loading an invalid JSON (issue #148)
|
||||||
|
- Release 0.9.3
|
||||||
|
* Fix access to Encoder instance attributes (issue #147)
|
||||||
|
- Release 0.9.2
|
||||||
|
* Use current master version of rapidjson
|
||||||
|
* Enable GH Actions-based test workflow, thanks to Martin Thoma
|
||||||
|
(PR #143)
|
||||||
|
* Produce Python 3.9 wheels, disable testing under Python < 3.6
|
||||||
|
* Make the character used for indentation in pretty mode a
|
||||||
|
parameter (issue #135)
|
||||||
|
* Handle wider precision range in timestamps fractional seconds
|
||||||
|
(PR 133), thanks to Karl Seguin
|
||||||
|
* Add comparison benchmarks against orjson and hyperjson (issue
|
||||||
|
#130 and PR #131, thanks to Sebastian Pipping)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 10 10:08:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Tue Mar 10 10:08:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-rapidjson
|
# spec file for package python-python-rapidjson
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,10 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
# check git submodule and update devel:libraries:c_c++/rapidjson
|
||||||
|
%define rjversion 1.1.0+git20211015.4d6cb081
|
||||||
Name: python-python-rapidjson
|
Name: python-python-rapidjson
|
||||||
Version: 0.9.1
|
Version: 1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python wrapper around rapidjson
|
Summary: Python wrapper around rapidjson
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -33,7 +35,7 @@ BuildRequires: %{python_module pytz}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: rapidjson-devel
|
BuildRequires: rapidjson-devel = %{rjversion}
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -55,11 +57,12 @@ instances) and JSON Schema validation capabilities.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%pytest_arch tests
|
%pytest_arch tests -s
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGE* README*
|
%doc CHANGES.rst README.rst
|
||||||
%license LICENSE*
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/rapidjson.*.so
|
||||||
|
%{python_sitearch}/python_rapidjson-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5820f6dd3ca2a247269cce7bd3cae42edb078e925fff130e519bff9946c5cbcf
|
|
||||||
size 1043203
|
|
3
python-rapidjson-1.5.tar.gz
Normal file
3
python-rapidjson-1.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1d3cc08f5afaf5fbb4eeae901ab58b85b106b098cf11f1f426384180e1560fa0
|
||||||
|
size 1051423
|
Reference in New Issue
Block a user