Hello community,
here is the log from the commit of package python-jmespath for openSUSE:Factory
checked in at 2020-03-27 00:19:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jmespath (Old)
and /work/SRC/openSUSE:Factory/.python-jmespath.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jmespath"
Fri Mar 27 00:19:49 2020 rev:16 rq:783711 version:0.9.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jmespath/python-jmespath.changes
2019-04-08 10:30:50.867175586 +0200
+++
/work/SRC/openSUSE:Factory/.python-jmespath.new.3160/python-jmespath.changes
2020-03-27 00:19:50.508091608 +0100
@@ -1,0 +2,6 @@
+Wed Mar 11 09:37:57 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 0.9.5:
+ * * Fix syntax warnings on python 3.8
+
+-------------------------------------------------------------------
Old:
----
jmespath-0.9.4.tar.gz
New:
----
jmespath-0.9.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jmespath.spec ++++++
--- /var/tmp/diff_new_pack.PoOjET/_old 2020-03-27 00:19:51.644092159 +0100
+++ /var/tmp/diff_new_pack.PoOjET/_new 2020-03-27 00:19:51.644092159 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jmespath
#
-# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jmespath
-Version: 0.9.4
+Version: 0.9.5
Release: 0
Summary: Python module for declarative JSON document element extraction
License: MIT
++++++ jmespath-0.9.4.tar.gz -> jmespath-0.9.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jmespath-0.9.4/PKG-INFO new/jmespath-0.9.5/PKG-INFO
--- old/jmespath-0.9.4/PKG-INFO 2019-02-25 00:10:48.000000000 +0100
+++ new/jmespath-0.9.5/PKG-INFO 2020-02-24 22:43:16.000000000 +0100
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: jmespath
-Version: 0.9.4
+Version: 0.9.5
Summary: JSON Matching Expressions
Home-page: https://github.com/jmespath/jmespath.py
Author: James Saryerwinnie
Author-email: [email protected]
License: MIT
-Description-Content-Type: UNKNOWN
Description: JMESPath
========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jmespath-0.9.4/jmespath/__init__.py
new/jmespath-0.9.5/jmespath/__init__.py
--- old/jmespath-0.9.4/jmespath/__init__.py 2019-02-25 00:08:19.000000000
+0100
+++ new/jmespath-0.9.5/jmespath/__init__.py 2020-02-24 22:43:09.000000000
+0100
@@ -1,7 +1,7 @@
from jmespath import parser
from jmespath.visitor import Options
-__version__ = '0.9.4'
+__version__ = '0.9.5'
def compile(expression):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jmespath-0.9.4/jmespath/visitor.py
new/jmespath-0.9.5/jmespath/visitor.py
--- old/jmespath-0.9.4/jmespath/visitor.py 2019-02-25 00:08:17.000000000
+0100
+++ new/jmespath-0.9.5/jmespath/visitor.py 2020-02-24 22:43:09.000000000
+0100
@@ -29,9 +29,9 @@
# Also need to consider that:
# >>> 0 in [True, False]
# True
- if x is 0 or x is 1:
+ if type(x) is int and (x == 0 or x == 1):
return y is True or y is False
- elif y is 0 or y is 1:
+ elif type(y) is int and (y == 0 or y == 1):
return x is True or x is False
@@ -257,7 +257,7 @@
def visit_not_expression(self, node, value):
original_result = self.visit(node['children'][0], value)
- if original_result is 0:
+ if type(original_result) is int and original_result == 0:
# Special case for 0, !0 should be false, not true.
# 0 is not a special cased integer in jmespath.
return False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jmespath-0.9.4/jmespath.egg-info/PKG-INFO
new/jmespath-0.9.5/jmespath.egg-info/PKG-INFO
--- old/jmespath-0.9.4/jmespath.egg-info/PKG-INFO 2019-02-25
00:10:48.000000000 +0100
+++ new/jmespath-0.9.5/jmespath.egg-info/PKG-INFO 2020-02-24
22:43:16.000000000 +0100
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: jmespath
-Version: 0.9.4
+Version: 0.9.5
Summary: JSON Matching Expressions
Home-page: https://github.com/jmespath/jmespath.py
Author: James Saryerwinnie
Author-email: [email protected]
License: MIT
-Description-Content-Type: UNKNOWN
Description: JMESPath
========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jmespath-0.9.4/setup.py new/jmespath-0.9.5/setup.py
--- old/jmespath-0.9.4/setup.py 2019-02-25 00:08:19.000000000 +0100
+++ new/jmespath-0.9.5/setup.py 2020-02-24 22:43:09.000000000 +0100
@@ -7,7 +7,7 @@
setup(
name='jmespath',
- version='0.9.4',
+ version='0.9.5',
description='JSON Matching Expressions',
long_description=io.open('README.rst', encoding='utf-8').read(),
author='James Saryerwinnie',
++++++ test_hypothesis.py ++++++
--- /var/tmp/diff_new_pack.PoOjET/_old 2020-03-27 00:19:51.744092207 +0100
+++ /var/tmp/diff_new_pack.PoOjET/_new 2020-03-27 00:19:51.748092209 +0100
@@ -32,7 +32,9 @@
MAX_EXAMPLES = int(os.environ.get('JP_MAX_EXAMPLES', 1000))
BASE_SETTINGS = {
'max_examples': MAX_EXAMPLES,
- 'suppress_health_check': [HealthCheck.too_slow],
+ 'suppress_health_check': [HealthCheck.too_slow,
+ HealthCheck.filter_too_much,
+ HealthCheck.data_too_large],
}