14
0

Accepting request 833178 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/833178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-canonicaljson?expand=0&rev=7
This commit is contained in:
2020-09-09 16:05:45 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 6 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Sep 8 20:32:44 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.4.0:
- Fix producing non-standard JSON for Infinity, -Infinity, and
NaN. This could cause errors when encoding objects into
canonical JSON that previously used to work, but were
incompatible with JSON implementations in other languages.
- Use UTF-8 to fix ASCII encoding errors when data containing
Unicode was attempted to be pretty-printed.
- Update to 1.3.0:
- The minimum version of simplejson was bumped to 3.14.0.
- Obsolete workaround for slow encoding of Unicode characters was
removed.
- New APIs were added to iteratively encode JSON.
-------------------------------------------------------------------
Thu Aug 13 21:28:31 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -28,7 +28,7 @@
%define github_user matrix-org
%define short_name canonicaljson
Name: python-%{short_name}%{psuffix}
Version: 1.2.0
Version: 1.4.0
Release: 0
Summary: Canonical JSON for Python
License: Apache-2.0
@@ -37,11 +37,11 @@ URL: https://github.com/matrix-org/python-canonicaljson
Source: https://github.com/matrix-org/python-canonicaljson/archive/v%{version}.tar.gz
BuildRequires: %{python_module frozendict >= 1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module simplejson}
BuildRequires: %{python_module simplejson >= 3.14.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-frozendict >= 1.0
Requires: python-simplejson
Requires: python-simplejson >= 3.14.0
Requires: python-six
BuildArch: noarch
%if %{with test}

View File

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

3
v1.4.0.tar.gz Normal file
View File

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