Hello community,
here is the log from the commit of package python-jsonpatch for openSUSE:Factory checked in at 2015-02-13 08:35:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonpatch (Old)
and /work/SRC/openSUSE:Factory/.python-jsonpatch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonpatch"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes 2014-11-18 22:45:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes 2015-02-13 08:35:10.000000000 +0100
@@ -1,0 +2,15 @@
+Wed Feb 4 14:28:36 UTC 2015 - tbechtold@suse.com
+
+- update to version 1.9:
+ * bump version to 1.9
+ * require jsonpointer>=1.5
+ * Use ABCs instead of list/dict, fixes #33
+ * Convert readme from markdown to rst for PyPI
+ * Added Python 3.4 and PyPy3 to the build matrix.
+ * bump version to 1.8
+ * Fix installation of commandline scripts (fixes #31)
+ * raise JsonPatchException on missing patch attributes
+ * Add wheel as dev dependency for wheel packages
+- Requires(pre) coreutils to be able to use "rm" cmd
+
+-------------------------------------------------------------------
Old:
----
jsonpatch-1.7.tar.gz
New:
----
jsonpatch-1.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonpatch.spec ++++++
--- /var/tmp/diff_new_pack.LrZHBh/_old 2015-02-13 08:35:10.000000000 +0100
+++ /var/tmp/diff_new_pack.LrZHBh/_new 2015-02-13 08:35:10.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jsonpatch
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
Name: python-jsonpatch
-Version: 1.7
+Version: 1.9
Release: 0
Summary: Python - JSON-Patches
License: BSD-3-Clause
@@ -26,9 +26,10 @@
Source: http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-jsonpointer
-Requires: python-jsonpointer >= 1.3
+Requires: python-jsonpointer >= 1.5
Requires(post): update-alternatives
Requires(postun): update-alternatives
+Requires(pre): coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
++++++ jsonpatch-1.7.tar.gz -> jsonpatch-1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.7/PKG-INFO new/jsonpatch-1.9/PKG-INFO
--- old/jsonpatch-1.7/PKG-INFO 2014-07-03 22:07:40.000000000 +0200
+++ new/jsonpatch-1.9/PKG-INFO 2014-11-03 21:42:26.000000000 +0100
@@ -1,12 +1,34 @@
Metadata-Version: 1.1
Name: jsonpatch
-Version: 1.7
+Version: 1.9
Summary: Apply JSON-Patches (RFC 6902)
Home-page: https://github.com/stefankoegl/python-json-patch
Author: Stefan Kögl
Author-email: stefan@skoegl.net
License: Modified BSD License
-Description: UNKNOWN
+Description: python-json-patch [![Build Status](https://secure.travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch) [![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master) ![Downloads](https://pypip.in/d/jsonpatch/badge.png) ![Version](https://pypip.in/v/jsonpatch/badge.png)
+ =================
+ Applying JSON Patches in Python
+ -------------------------------
+
+ Library to apply JSON Patches according to
+ [RFC 6902](http://tools.ietf.org/html/rfc6902)
+
+ See Sourcecode for Examples
+
+ * Website: https://github.com/stefankoegl/python-json-patch
+ * Repository: https://github.com/stefankoegl/python-json-patch.git
+ * Documentation: https://python-json-patch.readthedocs.org/
+ * PyPI: https://pypi.python.org/pypi/jsonpatch
+ * Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
+ * Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
+
+ Running external tests
+ ----------------------
+ To run external tests (such as those from https://github.com/json-patch/json-patch-tests) use ext_test.py
+
+ ./ext_tests.py ../json-patch-tests/tests.json
+
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.7/jsonpatch.egg-info/PKG-INFO new/jsonpatch-1.9/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-1.7/jsonpatch.egg-info/PKG-INFO 2014-07-03 22:07:40.000000000 +0200
+++ new/jsonpatch-1.9/jsonpatch.egg-info/PKG-INFO 2014-11-03 21:42:26.000000000 +0100
@@ -1,12 +1,34 @@
Metadata-Version: 1.1
Name: jsonpatch
-Version: 1.7
+Version: 1.9
Summary: Apply JSON-Patches (RFC 6902)
Home-page: https://github.com/stefankoegl/python-json-patch
Author: Stefan Kögl
Author-email: stefan@skoegl.net
License: Modified BSD License
-Description: UNKNOWN
+Description: python-json-patch [![Build Status](https://secure.travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch) [![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master) ![Downloads](https://pypip.in/d/jsonpatch/badge.png) ![Version](https://pypip.in/v/jsonpatch/badge.png)
+ =================
+ Applying JSON Patches in Python
+ -------------------------------
+
+ Library to apply JSON Patches according to
+ [RFC 6902](http://tools.ietf.org/html/rfc6902)
+
+ See Sourcecode for Examples
+
+ * Website: https://github.com/stefankoegl/python-json-patch
+ * Repository: https://github.com/stefankoegl/python-json-patch.git
+ * Documentation: https://python-json-patch.readthedocs.org/
+ * PyPI: https://pypi.python.org/pypi/jsonpatch
+ * Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
+ * Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
+
+ Running external tests
+ ----------------------
+ To run external tests (such as those from https://github.com/json-patch/json-patch-tests) use ext_test.py
+
+ ./ext_tests.py ../json-patch-tests/tests.json
+
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.7/jsonpatch.egg-info/SOURCES.txt new/jsonpatch-1.9/jsonpatch.egg-info/SOURCES.txt
--- old/jsonpatch-1.7/jsonpatch.egg-info/SOURCES.txt 2014-07-03 22:07:40.000000000 +0200
+++ new/jsonpatch-1.9/jsonpatch.egg-info/SOURCES.txt 2014-11-03 21:42:26.000000000 +0100
@@ -12,6 +12,5 @@
jsonpatch.egg-info/PKG-INFO
jsonpatch.egg-info/SOURCES.txt
jsonpatch.egg-info/dependency_links.txt
-jsonpatch.egg-info/entry_points.txt
jsonpatch.egg-info/requires.txt
jsonpatch.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.7/jsonpatch.egg-info/entry_points.txt new/jsonpatch-1.9/jsonpatch.egg-info/entry_points.txt
--- old/jsonpatch-1.7/jsonpatch.egg-info/entry_points.txt 2014-07-03 22:07:40.000000000 +0200
+++ new/jsonpatch-1.9/jsonpatch.egg-info/entry_points.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-[console_scripts]
-jsonpatch = jsonpatch:main
-jsondiff = jsondiff:main
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.7/jsonpatch.egg-info/requires.txt new/jsonpatch-1.9/jsonpatch.egg-info/requires.txt
--- old/jsonpatch-1.7/jsonpatch.egg-info/requires.txt 2014-07-03 22:07:40.000000000 +0200
+++ new/jsonpatch-1.9/jsonpatch.egg-info/requires.txt 2014-11-03 21:42:26.000000000 +0100
@@ -1 +1 @@
-jsonpointer>=1.3
\ No newline at end of file
+jsonpointer>=1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.7/jsonpatch.py new/jsonpatch-1.9/jsonpatch.py
--- old/jsonpatch-1.7/jsonpatch.py 2014-07-03 22:03:46.000000000 +0200
+++ new/jsonpatch-1.9/jsonpatch.py 2014-11-03 18:49:38.000000000 +0100
@@ -42,11 +42,16 @@
import json
import sys
+try:
+ from collections.abc import MutableMapping, MutableSequence
+except ImportError:
+ from collections import MutableMapping, MutableSequence
+
from jsonpointer import JsonPointer, JsonPointerException
# Will be parsed by setup.py to determine package metadata
__author__ = 'Stefan Kögl