Hello community, here is the log from the commit of package python-jsonpatch for openSUSE:Factory checked in at 2015-06-24 20:50:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-02-13 08:35:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes 2015-06-24 20:50:54.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Jun 22 14:36:43 UTC 2015 - [email protected] + +- update to 1.11.0: + * bump version to 1.11 + * Fix tests for Python 3.2 + * bump version to 1.10 + * Require pypandoc instead of pandoc for setup.py + * Fix make_patch with unicode paths + * Enable container-based builds on Travis-CI +- Update Requires according to requirements.txt +------------------------------------------------------------------- Old: ---- jsonpatch-1.9.tar.gz New: ---- jsonpatch-1.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsonpatch.spec ++++++ --- /var/tmp/diff_new_pack.IeADho/_old 2015-06-24 20:50:54.000000000 +0200 +++ /var/tmp/diff_new_pack.IeADho/_new 2015-06-24 20:50:54.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-jsonpatch -Version: 1.9 +Version: 1.11 Release: 0 Summary: Python - JSON-Patches License: BSD-3-Clause @@ -26,7 +26,7 @@ Source: http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-jsonpointer -Requires: python-jsonpointer >= 1.5 +Requires: python-jsonpointer >= 1.9 Requires(post): update-alternatives Requires(postun): update-alternatives Requires(pre): coreutils ++++++ jsonpatch-1.9.tar.gz -> jsonpatch-1.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.9/PKG-INFO new/jsonpatch-1.11/PKG-INFO --- old/jsonpatch-1.9/PKG-INFO 2014-11-03 21:42:26.000000000 +0100 +++ new/jsonpatch-1.11/PKG-INFO 2015-05-08 18:10:53.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: jsonpatch -Version: 1.9 +Version: 1.11 Summary: Apply JSON-Patches (RFC 6902) Home-page: https://github.com/stefankoegl/python-json-patch Author: Stefan Kögl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.9/jsonpatch.egg-info/PKG-INFO new/jsonpatch-1.11/jsonpatch.egg-info/PKG-INFO --- old/jsonpatch-1.9/jsonpatch.egg-info/PKG-INFO 2014-11-03 21:42:26.000000000 +0100 +++ new/jsonpatch-1.11/jsonpatch.egg-info/PKG-INFO 2015-05-08 18:10:53.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: jsonpatch -Version: 1.9 +Version: 1.11 Summary: Apply JSON-Patches (RFC 6902) Home-page: https://github.com/stefankoegl/python-json-patch Author: Stefan Kögl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.9/jsonpatch.egg-info/requires.txt new/jsonpatch-1.11/jsonpatch.egg-info/requires.txt --- old/jsonpatch-1.9/jsonpatch.egg-info/requires.txt 2014-11-03 21:42:26.000000000 +0100 +++ new/jsonpatch-1.11/jsonpatch.egg-info/requires.txt 2015-05-08 18:10:53.000000000 +0200 @@ -1 +1 @@ -jsonpointer>=1.5 +jsonpointer>=1.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.9/jsonpatch.py new/jsonpatch-1.11/jsonpatch.py --- old/jsonpatch-1.9/jsonpatch.py 2014-11-03 18:49:38.000000000 +0100 +++ new/jsonpatch-1.11/jsonpatch.py 2015-05-08 18:07:25.000000000 +0200 @@ -51,7 +51,7 @@ # Will be parsed by setup.py to determine package metadata __author__ = 'Stefan Kögl <[email protected]>' -__version__ = '1.9' +__version__ = '1.11' __website__ = 'https://github.com/stefankoegl/python-json-patch' __license__ = 'Modified BSD License' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.9/requirements.txt new/jsonpatch-1.11/requirements.txt --- old/jsonpatch-1.9/requirements.txt 2014-11-03 18:49:06.000000000 +0100 +++ new/jsonpatch-1.11/requirements.txt 2015-05-08 18:03:57.000000000 +0200 @@ -1 +1 @@ -jsonpointer>=1.5 +jsonpointer>=1.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpatch-1.9/tests.py new/jsonpatch-1.11/tests.py --- old/jsonpatch-1.9/tests.py 2014-07-03 22:43:36.000000000 +0200 +++ new/jsonpatch-1.11/tests.py 2015-05-08 18:03:57.000000000 +0200 @@ -351,6 +351,14 @@ res = patch.apply(src) self.assertEqual(res, dst) + def test_make_patch_unicode(self): + """ Test if unicode keys and values are handled correctly """ + src = {} + dst = {'\xee': '\xee'} + patch = jsonpatch.make_patch(src, dst) + res = patch.apply(src) + self.assertEqual(res, dst) + class InvalidInputTests(unittest.TestCase):
