Hello community,

here is the log from the commit of package python-jsondiff for openSUSE:Factory 
checked in at 2019-10-08 19:57:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsondiff (Old)
 and      /work/SRC/openSUSE:Factory/.python-jsondiff.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jsondiff"

Tue Oct  8 19:57:12 2019 rev:4 rq:735642 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsondiff/python-jsondiff.changes  
2019-06-03 18:56:08.604411650 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsondiff.new.2352/python-jsondiff.changes    
    2019-10-08 19:57:13.500324224 +0200
@@ -1,0 +2,6 @@
+Fri Oct  4 15:22:38 UTC 2019 - Marketa Calabkova <mcalabk...@suse.com>
+
+- Update to version 1.2.0
+  * Deprecate the jsondiff command due to conflicts with json-patch
+
+-------------------------------------------------------------------

Old:
----
  jsondiff-1.1.2.tar.gz

New:
----
  jsondiff-1.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jsondiff.spec ++++++
--- /var/tmp/diff_new_pack.a4tL4C/_old  2019-10-08 19:57:13.908323002 +0200
+++ /var/tmp/diff_new_pack.a4tL4C/_new  2019-10-08 19:57:13.908323002 +0200
@@ -18,13 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jsondiff
-Version:        1.1.2
+Version:        1.2.0
 Release:        0
 Summary:        Module to diff JSON and JSON-like structures in Python
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/ZoomerAnalytics/jsondiff
 Source:         
https://files.pythonhosted.org/packages/source/j/jsondiff/jsondiff-%{version}.tar.gz
+BuildRequires:  %{python_module nose-random}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -47,13 +47,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Tests do not run in py3 and upstream is not much worried about that
-#%%python_expand nosetests-%{$python_bin_suffix}
+%python_expand nosetests-%{$python_bin_suffix}
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst
 %{python_sitelib}/*
+%python3_only %{_bindir}/jdiff
 %python3_only %{_bindir}/jsondiff
 
 %changelog

++++++ jsondiff-1.1.2.tar.gz -> jsondiff-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsondiff-1.1.2/PKG-INFO new/jsondiff-1.2.0/PKG-INFO
--- old/jsondiff-1.1.2/PKG-INFO 2018-05-31 23:45:46.000000000 +0200
+++ new/jsondiff-1.2.0/PKG-INFO 2019-06-23 17:14:39.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: jsondiff
-Version: 1.1.2
+Version: 1.2.0
 Summary: Diff JSON and JSON-like structures in Python
 Home-page: https://github.com/ZoomerAnalytics/jsondiff
 Author: Zoomer Analytics LLC
 Author-email: eric.reyno...@zoomeranalytics.com
 License: UNKNOWN
-Description-Content-Type: UNKNOWN
 Description: UNKNOWN
 Keywords: json,diff,diffing,difference,patch,delta,dict,LCS
 Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsondiff-1.1.2/jsondiff/__init__.py 
new/jsondiff-1.2.0/jsondiff/__init__.py
--- old/jsondiff-1.1.2/jsondiff/__init__.py     2018-05-31 23:41:25.000000000 
+0200
+++ new/jsondiff-1.2.0/jsondiff/__init__.py     2019-06-23 17:09:31.000000000 
+0200
@@ -1,4 +1,4 @@
-__version__ = '1.1.2'
+__version__ = '1.2.0'
 
 import sys
 import json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsondiff-1.1.2/jsondiff/cli.py 
new/jsondiff-1.2.0/jsondiff/cli.py
--- old/jsondiff-1.1.2/jsondiff/cli.py  2016-12-05 10:23:30.000000000 +0100
+++ new/jsondiff-1.2.0/jsondiff/cli.py  2019-06-23 17:09:06.000000000 +0200
@@ -1,6 +1,7 @@
 import argparse
 import jsondiff
 import json
+import warnings
 import sys
 
 def main():
@@ -35,6 +36,9 @@
 
             json.dump(x, sys.stdout, indent=args.indent)
 
+def main_deprecated():
+    warnings.warn("jsondiff is deprecated. Use jdiff instead.", 
DeprecationWarning)
+    main()
 
 if __name__ == '__main__':
     main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsondiff-1.1.2/jsondiff.egg-info/PKG-INFO 
new/jsondiff-1.2.0/jsondiff.egg-info/PKG-INFO
--- old/jsondiff-1.1.2/jsondiff.egg-info/PKG-INFO       2018-05-31 
23:45:46.000000000 +0200
+++ new/jsondiff-1.2.0/jsondiff.egg-info/PKG-INFO       2019-06-23 
17:14:39.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: jsondiff
-Version: 1.1.2
+Version: 1.2.0
 Summary: Diff JSON and JSON-like structures in Python
 Home-page: https://github.com/ZoomerAnalytics/jsondiff
 Author: Zoomer Analytics LLC
 Author-email: eric.reyno...@zoomeranalytics.com
 License: UNKNOWN
-Description-Content-Type: UNKNOWN
 Description: UNKNOWN
 Keywords: json,diff,diffing,difference,patch,delta,dict,LCS
 Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsondiff-1.1.2/jsondiff.egg-info/entry_points.txt 
new/jsondiff-1.2.0/jsondiff.egg-info/entry_points.txt
--- old/jsondiff-1.1.2/jsondiff.egg-info/entry_points.txt       2018-05-31 
23:45:46.000000000 +0200
+++ new/jsondiff-1.2.0/jsondiff.egg-info/entry_points.txt       2019-06-23 
17:14:39.000000000 +0200
@@ -1,3 +1,4 @@
 [console_scripts]
-jsondiff = jsondiff.cli:main
+jdiff = jsondiff.cli:main
+jsondiff = jsondiff.cli:main_deprecated
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsondiff-1.1.2/setup.py new/jsondiff-1.2.0/setup.py
--- old/jsondiff-1.1.2/setup.py 2017-03-26 13:00:13.000000000 +0200
+++ new/jsondiff-1.2.0/setup.py 2019-06-23 17:09:06.000000000 +0200
@@ -21,7 +21,8 @@
     ],
     entry_points={
         'console_scripts': [
-            'jsondiff=jsondiff.cli:main'
+            'jsondiff=jsondiff.cli:main_deprecated',
+            'jdiff=jsondiff.cli:main'
         ]
     }
 )


Reply via email to