commit python-canonicaljson for openSUSE:Factory
Hello community, here is the log from the commit of package python-canonicaljson for openSUSE:Factory checked in at 2020-09-09 18:05:45 Comparing /work/SRC/openSUSE:Factory/python-canonicaljson (Old) and /work/SRC/openSUSE:Factory/.python-canonicaljson.new.3399 (New) Package is "python-canonicaljson" Wed Sep 9 18:05:45 2020 rev:7 rq:833178 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-canonicaljson/python-canonicaljson.changes 2020-08-14 10:04:21.625318188 +0200 +++ /work/SRC/openSUSE:Factory/.python-canonicaljson.new.3399/python-canonicaljson.changes 2020-09-09 18:11:20.987712145 +0200 @@ -1,0 +2,16 @@ +Tue Sep 8 20:32:44 UTC 2020 - Marcus Rueckert + +- 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. + +--- Old: v1.2.0.tar.gz New: v1.4.0.tar.gz Other differences: -- ++ python-canonicaljson.spec ++ --- /var/tmp/diff_new_pack.Qb3LLr/_old 2020-09-09 18:11:22.355713392 +0200 +++ /var/tmp/diff_new_pack.Qb3LLr/_new 2020-09-09 18:11:22.359713395 +0200 @@ -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 @@ 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} ++ v1.2.0.tar.gz -> v1.4.0.tar.gz ++ 21130 lines of diff (skipped)
commit python-canonicaljson for openSUSE:Factory
Hello community, here is the log from the commit of package python-canonicaljson for openSUSE:Factory checked in at 2020-08-14 10:04:15 Comparing /work/SRC/openSUSE:Factory/python-canonicaljson (Old) and /work/SRC/openSUSE:Factory/.python-canonicaljson.new.3399 (New) Package is "python-canonicaljson" Fri Aug 14 10:04:15 2020 rev:6 rq:826608 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-canonicaljson/python-canonicaljson.changes 2019-03-01 16:48:16.301779873 +0100 +++ /work/SRC/openSUSE:Factory/.python-canonicaljson.new.3399/python-canonicaljson.changes 2020-08-14 10:04:21.625318188 +0200 @@ -1,0 +2,11 @@ +Thu Aug 13 21:28:31 UTC 2020 - Marcus Rueckert + +- Update to 1.2.0: + - JSON from the standard library is used automatically on PyPy. + - Support for Python versions which are end-of-lifed was dropped, +Python >= 3.5 is supported and tested in continuous +integration. + - An API to configure the underlying JSON library was added +(set_json_library). + +--- Old: v1.1.4.tar.gz New: v1.2.0.tar.gz Other differences: -- ++ python-canonicaljson.spec ++ --- /var/tmp/diff_new_pack.3S0IbU/_old 2020-08-14 10:04:26.589320707 +0200 +++ /var/tmp/diff_new_pack.3S0IbU/_new 2020-08-14 10:04:26.593320708 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-canonicaljson # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,7 @@ %define github_user matrix-org %define short_name canonicaljson Name: python-%{short_name}%{psuffix} -Version:1.1.4 +Version:1.2.0 Release:0 Summary:Canonical JSON for Python License:Apache-2.0 ++ v1.1.4.tar.gz -> v1.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.1.4/.gitignore new/python-canonicaljson-1.2.0/.gitignore --- old/python-canonicaljson-1.1.4/.gitignore 2018-05-23 10:28:32.0 +0200 +++ new/python-canonicaljson-1.2.0/.gitignore 2020-07-27 17:42:49.0 +0200 @@ -6,3 +6,4 @@ *.pyc /build/ /dist/ +.python-version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.1.4/.travis/install.sh new/python-canonicaljson-1.2.0/.travis/install.sh --- old/python-canonicaljson-1.1.4/.travis/install.sh 2018-05-23 10:28:32.0 +0200 +++ new/python-canonicaljson-1.2.0/.travis/install.sh 2020-07-27 17:42:49.0 +0200 @@ -5,13 +5,8 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then # osx build uses a 'generic' language which doesn't come with pip case "${TOXENV}" in -py27) -# for py27, use the system python -sudo `dirname $0`/get-pip.py -sudo pip install tox -;; -py36) -# for py36, use homebrew python, which comes with pip. +py38) +# for py38, use homebrew python, which comes with pip. # see also https://docs.brew.sh/Homebrew-and-Python brew upgrade python pip3 install tox @@ -24,5 +19,3 @@ else pip install tox fi - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.1.4/.travis.yml new/python-canonicaljson-1.2.0/.travis.yml --- old/python-canonicaljson-1.1.4/.travis.yml 2018-05-23 10:28:32.0 +0200 +++ new/python-canonicaljson-1.2.0/.travis.yml 2020-07-27 17:42:49.0 +0200 @@ -5,40 +5,30 @@ matrix: include: -- python: 2.7 +- python: 3.6 env: TOXENV=packaging - -- python: 2.7 - env: TOXENV=pep8 - python: 3.6 - env: TOXENV=py3pep8 - -- python: 2.7 - env: TOXENV=py27 - -- os: osx - language: generic - env: TOXENV=py27 - -- python: 3.3 - env: TOXENV=py33 + env: TOXENV=pep8 -- python: 3.4 - env: TOXENV=py34 - - python: 3.5 env: TOXENV=py35 - python: 3.6 env: TOXENV=py36 +- python: 3.7 + env: TOXENV=py37 + +- python: 3.8 + env: TOXENV=py38 + - os: osx language: generic - env: TOXENV=py36 + env: TOXENV=py38 -- python: pypy - env: TOXENV=pypy +- python: pypy3 + env: TOXENV=pypy3 install: - ./.travis/install.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.1.4/CHANGES.md
commit python-canonicaljson for openSUSE:Factory
Hello community, here is the log from the commit of package python-canonicaljson for openSUSE:Factory checked in at 2019-03-01 16:48:14 Comparing /work/SRC/openSUSE:Factory/python-canonicaljson (Old) and /work/SRC/openSUSE:Factory/.python-canonicaljson.new.28833 (New) Package is "python-canonicaljson" Fri Mar 1 16:48:14 2019 rev:5 rq:680066 version:1.1.4 Changes: --- /work/SRC/openSUSE:Factory/python-canonicaljson/python-canonicaljson.changes 2018-04-25 10:02:49.831586949 +0200 +++ /work/SRC/openSUSE:Factory/.python-canonicaljson.new.28833/python-canonicaljson.changes 2019-03-01 16:48:16.301779873 +0100 @@ -1,0 +2,7 @@ +Thu Feb 28 09:34:15 UTC 2019 - Tomáš Chvátal + +- Update to 1.1.4: + * Fix error when encoding non-BMP characters on UCS-2 python builds (fixes issue #12). +- Use same syntax for test multibuild like in other pkgs + +--- Old: python-canonicaljson-1.1.3.tar.gz New: v1.1.4.tar.gz Other differences: -- ++ python-canonicaljson.spec ++ --- /var/tmp/diff_new_pack.9cbwyE/_old 2019-03-01 16:48:16.989779615 +0100 +++ /var/tmp/diff_new_pack.9cbwyE/_new 2019-03-01 16:48:16.993779614 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python +# spec file for package python-canonicaljson # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,94 +12,77 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# Define just "test" as a package in _multibuild file to distinguish test -# instructions here -%if "@BUILD_FLAVOR@" == "" -%define _test 0 -%define name_ext %nil +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test %else -%define _test 1 -%define name_ext -test +%define psuffix %{nil} +%bcond_with test %endif - %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define github_user matrix-org %define short_name canonicaljson -%define pkg_name python-%{short_name} -Name: %{pkg_name}%{?name_ext} -Version:1.1.3 +Name: python-%{short_name}%{psuffix} +Version:1.1.4 Release:0 Summary:Canonical JSON for Python License:Apache-2.0 Group: Development/Languages/Python -Url:https://github.com/%{github_user}/%{pkg_name} -Source: https://github.com/%{github_user}/%{pkg_name}/archive/v%{version}/%{pkg_name}-%{version}.tar.gz -BuildRequires: python-rpm-macros -%if 0%{?_test} -BuildRequires: python-%{short_name} -%else -BuildRequires: %{python_module base} -BuildRequires: %{python_module frozendict} +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: fdupes -Requires: python-frozendict +BuildRequires: python-rpm-macros +Requires: python-frozendict >= 1.0 Requires: python-simplejson Requires: python-six -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - -%if 0%{?_test} -%else -%python_subpackages +%if %{with test} +BuildRequires: %{python_module %{short_name}} %endif +%python_subpackages %description This is a Python module which encodes objects and arrays into JSON as per -RFC 7159. +RFC 7159. * Sorts object keys so that it yields the same result each time. * Has no insignificant whitespace to make the output as small as possible. -* Escapes only the characters that must be escaped, U+ to U+0019 / - U+0022 / U+0056, to keep the output as small as possible. +* Escapes only the characters that must be escaped, U+ to U+0019 / + U+0022 / U+0056, to keep the output as small as possible. * Uses the shortest escape sequence for each escaped character. * Encodes the JSON as UTF-8. * Can encode frozendict immutable dictionaries. %prep -%if 0%{?_test} -# workaround to prevent post/install failing assuming this file for whatever -# reason -touch %{_sourcedir}/%{short_name} -%else -%setup -q -n %{pkg_name}-%{version} -%endif +%setup -q -n python-canonicaljson-%{version} %build -%if 0%{?_test}
commit python-canonicaljson for openSUSE:Factory
Hello community, here is the log from the commit of package python-canonicaljson for openSUSE:Factory checked in at 2018-04-25 10:02:44 Comparing /work/SRC/openSUSE:Factory/python-canonicaljson (Old) and /work/SRC/openSUSE:Factory/.python-canonicaljson.new (New) Package is "python-canonicaljson" Wed Apr 25 10:02:44 2018 rev:4 rq:600741 version:1.1.3 Changes: --- /work/SRC/openSUSE:Factory/python-canonicaljson/python-canonicaljson.changes 2018-04-24 15:32:33.551460011 +0200 +++ /work/SRC/openSUSE:Factory/.python-canonicaljson.new/python-canonicaljson.changes 2018-04-25 10:02:49.831586949 +0200 @@ -1,0 +2,5 @@ +Mon Apr 23 13:57:00 UTC 2018 - jeng...@inai.de + +- Update descriptions. + +--- Other differences: -- ++ python-canonicaljson.spec ++ --- /var/tmp/diff_new_pack.P6JHsG/_old 2018-04-25 10:02:51.259534555 +0200 +++ /var/tmp/diff_new_pack.P6JHsG/_new 2018-04-25 10:02:51.263534408 +0200 @@ -33,7 +33,7 @@ Name: %{pkg_name}%{?name_ext} Version:1.1.3 Release:0 -Summary:Canonical JSON +Summary:Canonical JSON for Python License:Apache-2.0 Group: Development/Languages/Python Url:https://github.com/%{github_user}/%{pkg_name} @@ -60,15 +60,13 @@ %endif %description -%{short_name} -== +This is a Python module which encodes objects and arrays into JSON as per +RFC 7159. -Features - -* Encodes objects and arrays as RFC 7159 JSON. -* Sorts object keys so that you get the same result each time. -* Has no inignificant whitespace to make the output as small as possible. -* Escapes only the characters that must be escaped, U+ to U+0019 / U+0022 / U+0056, to keep the output as small as possible. +* Sorts object keys so that it yields the same result each time. +* Has no insignificant whitespace to make the output as small as possible. +* Escapes only the characters that must be escaped, U+ to U+0019 / + U+0022 / U+0056, to keep the output as small as possible. * Uses the shortest escape sequence for each escaped character. * Encodes the JSON as UTF-8. * Can encode frozendict immutable dictionaries.
commit python-canonicaljson for openSUSE:Factory
Hello community, here is the log from the commit of package python-canonicaljson for openSUSE:Factory checked in at 2018-04-24 15:32:27 Comparing /work/SRC/openSUSE:Factory/python-canonicaljson (Old) and /work/SRC/openSUSE:Factory/.python-canonicaljson.new (New) Package is "python-canonicaljson" Tue Apr 24 15:32:27 2018 rev:3 rq:599793 version:1.1.3 Changes: --- /work/SRC/openSUSE:Factory/python-canonicaljson/python-canonicaljson.changes 2018-04-22 14:40:35.990882999 +0200 +++ /work/SRC/openSUSE:Factory/.python-canonicaljson.new/python-canonicaljson.changes 2018-04-24 15:32:33.551460011 +0200 @@ -1,0 +2,10 @@ +Sun Apr 22 20:17:08 UTC 2018 - ok...@suse.com + +- Add missing runtime requirement 'python-six' + +--- +Sun Apr 22 19:53:27 UTC 2018 - ok...@suse.com + +- Add package self-test based on multibuild + +--- New: _multibuild Other differences: -- ++ python-canonicaljson.spec ++ --- /var/tmp/diff_new_pack.0Ufxr1/_old 2018-04-24 15:32:35.087404441 +0200 +++ /var/tmp/diff_new_pack.0Ufxr1/_new 2018-04-24 15:32:35.091404296 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-canonicaljson +# spec file for package python # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -16,29 +16,48 @@ # +# Define just "test" as a package in _multibuild file to distinguish test +# instructions here +%if "@BUILD_FLAVOR@" == "" +%define _test 0 +%define name_ext %nil +%else +%define _test 1 +%define name_ext -test +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define github_user matrix-org %define short_name canonicaljson -Name: python-%{short_name} +%define pkg_name python-%{short_name} +Name: %{pkg_name}%{?name_ext} Version:1.1.3 Release:0 Summary:Canonical JSON License:Apache-2.0 Group: Development/Languages/Python -Url:https://github.com/%{github_user}/%{name} -Source: https://github.com/%{github_user}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Url:https://github.com/%{github_user}/%{pkg_name} +Source: https://github.com/%{github_user}/%{pkg_name}/archive/v%{version}/%{pkg_name}-%{version}.tar.gz +BuildRequires: python-rpm-macros +%if 0%{?_test} +BuildRequires: python-%{short_name} +%else BuildRequires: %{python_module base} BuildRequires: %{python_module frozendict} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module simplejson} BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch Requires: python-frozendict Requires: python-simplejson +Requires: python-six +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%if 0%{?_test} +%else %python_subpackages +%endif %description %{short_name} @@ -55,12 +74,26 @@ * Can encode frozendict immutable dictionaries. %prep -%setup -q -n %{name}-%{version} +%if 0%{?_test} +# workaround to prevent post/install failing assuming this file for whatever +# reason +touch %{_sourcedir}/%{short_name} +%else +%setup -q -n %{pkg_name}-%{version} +%endif %build +%if 0%{?_test} +python -c "import %{short_name}" +%else %python_build +%endif %install +%if 0%{?_test} +# disable debug packages in package test to prevent error about missing files +%define debug_package %{nil} +%else %python_install %fdupes %{buildroot}%{_prefix} @@ -69,4 +102,6 @@ %doc README.rst LICENSE %{python_sitelib}/* +%endif + %changelog ++ _multibuild ++ test
commit python-canonicaljson for openSUSE:Factory
Hello community, here is the log from the commit of package python-canonicaljson for openSUSE:Factory checked in at 2018-04-22 14:40:30 Comparing /work/SRC/openSUSE:Factory/python-canonicaljson (Old) and /work/SRC/openSUSE:Factory/.python-canonicaljson.new (New) Package is "python-canonicaljson" Sun Apr 22 14:40:30 2018 rev:2 rq:599476 version:1.1.3 Changes: --- /work/SRC/openSUSE:Factory/python-canonicaljson/python-canonicaljson.changes 2017-08-08 11:58:45.076150406 +0200 +++ /work/SRC/openSUSE:Factory/.python-canonicaljson.new/python-canonicaljson.changes 2018-04-22 14:40:35.990882999 +0200 @@ -1,0 +2,10 @@ +Fri Apr 20 18:08:21 UTC 2018 - ok...@suse.com + +- Cleanup duplicate files in singlespec package with fdupes + +--- +Fri Apr 20 18:05:19 UTC 2018 - ok...@suse.com + +- Update to 1.1.3 + +--- Old: python-canonicaljson-1.0.0.tar.gz New: python-canonicaljson-1.1.3.tar.gz Other differences: -- ++ python-canonicaljson.spec ++ --- /var/tmp/diff_new_pack.VbEAco/_old 2018-04-22 14:40:37.614824237 +0200 +++ /var/tmp/diff_new_pack.VbEAco/_new 2018-04-22 14:40:37.614824237 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-canonicaljson # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define github_user matrix-org %define short_name canonicaljson Name: python-%{short_name} -Version:1.0.0 +Version:1.1.3 Release:0 Summary:Canonical JSON License:Apache-2.0 @@ -31,6 +31,7 @@ BuildRequires: %{python_module frozendict} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module simplejson} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -61,6 +62,7 @@ %install %python_install +%fdupes %{buildroot}%{_prefix} %files %{python_files} %defattr(-,root,root,-) ++ python-canonicaljson-1.0.0.tar.gz -> python-canonicaljson-1.1.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.0.0/.gitignore new/python-canonicaljson-1.1.3/.gitignore --- old/python-canonicaljson-1.0.0/.gitignore 2015-08-21 20:06:51.0 +0200 +++ new/python-canonicaljson-1.1.3/.gitignore 2018-04-13 10:56:44.0 +0200 @@ -1,7 +1,8 @@ -.coverage -.tox/ +/.coverage +/.idea/ +/.tox/ __pycache__/ *.egg-info/ *.pyc -build/ -dist/ +/build/ +/dist/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.0.0/.travis.yml new/python-canonicaljson-1.1.3/.travis.yml --- old/python-canonicaljson-1.0.0/.travis.yml 2015-08-21 20:06:51.0 +0200 +++ new/python-canonicaljson-1.1.3/.travis.yml 2018-04-13 10:56:44.0 +0200 @@ -1,12 +1,36 @@ language: python -env: -- TOXENV=packaging -- TOXENV=pep8 -- TOXENV=py3pep8 -- TOXENV=py27 -- TOXENV=py33 -- TOXENV=py34 -- TOXENV=pypy + +# tell travis to cache ~/.cache/pip +cache: pip + +matrix: + include: +- python: 2.7 + env: TOXENV=packaging + +- python: 2.7 + env: TOXENV=pep8 + +- python: 3.6 + env: TOXENV=py3pep8 + +- python: 2.7 + env: TOXENV=py27 + +- python: 3.3 + env: TOXENV=py33 + +- python: 3.4 + env: TOXENV=py34 + +- python: 3.5 + env: TOXENV=py35 + +- python: 3.6 + env: TOXENV=py36 + +- python: pypy + env: TOXENV=pypy install: - pip install tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-canonicaljson-1.0.0/CHANGES.md new/python-canonicaljson-1.1.3/CHANGES.md --- old/python-canonicaljson-1.0.0/CHANGES.md 1970-01-01 01:00:00.0 +0100 +++ new/python-canonicaljson-1.1.3/CHANGES.md 2018-04-13 10:56:44.0 +0200 @@ -0,0 +1,25 @@ +Version 1.1.3 released 2018-04-13 + + * Bump depencency on frozendict to >=1.0, to fix conflicts with older + versions. + +Version 1.1.2 released 2018-04-12 + + * Fix escaping of control characters U+ to U+001F AGAIN, which was STILL + broken in the previous release + +Version 1.1.1 released 2018-04-11 + + * Fix escaping of control characters U+ to U+001F, which was broken in + the previous release + +Version 1.1.0 released 2018-04-06 + + * Significant performance improvements +