Hello community, here is the log from the commit of package python-yaql for openSUSE:Factory checked in at 2016-11-15 18:02:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yaql (Old) and /work/SRC/openSUSE:Factory/.python-yaql.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yaql" Changes: -------- --- /work/SRC/openSUSE:Factory/python-yaql/python-yaql.changes 2016-09-30 15:29:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-yaql.new/python-yaql.changes 2016-11-15 18:02:29.000000000 +0100 @@ -1,0 +2,9 @@ +Tue Nov 15 09:27:50 UTC 2016 - [email protected] + +- update to 1.1.1: + * Fix string operators >= and <= + * Extend .slice() method implementation to all Iterables + * Fix typo in YAML example + * Python 3 compatibility issues were fixed + +------------------------------------------------------------------- Old: ---- yaql-1.1.0.tar.gz New: ---- yaql-1.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yaql.spec ++++++ --- /var/tmp/diff_new_pack.0fmyfa/_old 2016-11-15 18:02:30.000000000 +0100 +++ /var/tmp/diff_new_pack.0fmyfa/_new 2016-11-15 18:02:30.000000000 +0100 @@ -17,13 +17,13 @@ Name: python-yaql -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: YAQL - Yet Another Query Language License: Apache-2.0 Group: Development/Languages/Python Url: https://launchpad.net/yaql -Source: https://pypi.python.org/packages/02/a4/2b12d3e56dfdbe0b2a6449f3a4987fa30b06432c11fd7a83044c29c48bde/yaql-%{version}.tar.gz +Source: https://pypi.io/packages/source/y/yaql/yaql-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-pbr # for testing ++++++ yaql-1.1.0.tar.gz -> yaql-1.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/AUTHORS new/yaql-1.1.1/AUTHORS --- old/yaql-1.1.0/AUTHORS 2016-02-11 11:27:25.000000000 +0100 +++ new/yaql-1.1.1/AUTHORS 2016-06-14 17:57:28.000000000 +0200 @@ -3,10 +3,12 @@ Doug Hellmann <[email protected]> Jeremy Stanley <[email protected]> Kirill Zaitsev <[email protected]> +Konstantin Snihyr <[email protected]> Licentious <[email protected]> Monty Taylor <[email protected]> Nikolay Mahotkin <[email protected]> Nikolay Starodubtsev <[email protected]> +Omar Shykhkerimov <[email protected]> Ruslan Kamaldinov <[email protected]> Serg Melikyan <[email protected]> Stan Lagun <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/ChangeLog new/yaql-1.1.1/ChangeLog --- old/yaql-1.1.0/ChangeLog 2016-02-11 11:27:25.000000000 +0100 +++ new/yaql-1.1.1/ChangeLog 2016-06-14 17:57:28.000000000 +0200 @@ -1,6 +1,14 @@ CHANGES ======= +1.1.1 +----- + +* Fix string operators >= and <= +* Extend .slice() method implementation to all Iterables +* Fix typo in YAML example +* Python 3 compatibility issues were fixed + 1.1.0 ----- @@ -175,5 +183,5 @@ * Used @wrap decorator to copy the arguments of context-aware function * Update LICENSE.txt * Add Apache 2.0 license -* Initial commit of YAQL: lexical tokenizer, grammar parser and expression executor of the context-based pluggable functions for basic YAQL operations. Implemented basic set of functions: - loading of data from context - attribute access (including collection iteration) - scoping - collection filtering - comparison operators - arithmetic operators - boolean operators - generation of simple data structures (list, dictionary, tuple) +* Initial commit of YAQL: lexical tokenizer, grammar parser and expression executor of the context-based pluggable functions for basic YAQL operations. Implemented basic set of functions: - loading of data from context - attribute access (including collection iteration) - scoping - collection filtering - comparison operators - arithmetic operators - boolean operators - generation of simple data structures (list, dictionary, tuple) * Initial commit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/PKG-INFO new/yaql-1.1.1/PKG-INFO --- old/yaql-1.1.0/PKG-INFO 2016-02-11 11:27:25.000000000 +0100 +++ new/yaql-1.1.1/PKG-INFO 2016-06-14 17:57:28.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: yaql -Version: 1.1.0 +Version: 1.1.1 Summary: YAQL - Yet Another Query Language Home-page: https://launchpad.net/yaql Author: Stan Lagun diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/doc/source/getting_started.rst new/yaql-1.1.1/doc/source/getting_started.rst --- old/yaql-1.1.0/doc/source/getting_started.rst 2016-02-11 11:27:11.000000000 +0100 +++ new/yaql-1.1.1/doc/source/getting_started.rst 2016-06-14 17:55:19.000000000 +0200 @@ -92,7 +92,7 @@ - order_id: 3 item: Piano quantity: 1 - -customer_id: 3 + - customer_id: 3 name: Diana orders: - order_id: 4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/setup.cfg new/yaql-1.1.1/setup.cfg --- old/yaql-1.1.0/setup.cfg 2016-02-11 11:27:25.000000000 +0100 +++ new/yaql-1.1.1/setup.cfg 2016-06-14 17:57:28.000000000 +0200 @@ -49,7 +49,7 @@ yaql = yaql.cli.run:main [egg_info] +tag_build = tag_date = 0 tag_svn_revision = 0 -tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/yaql/language/specs.py new/yaql-1.1.1/yaql/language/specs.py --- old/yaql-1.1.0/yaql/language/specs.py 2016-02-11 11:27:11.000000000 +0100 +++ new/yaql-1.1.1/yaql/language/specs.py 2016-06-14 17:55:19.000000000 +0200 @@ -79,7 +79,7 @@ continue keys_to_remove.add(k) if v.position is not None: - for v2 in fd.parameters.itervalues(): + for v2 in six.itervalues(fd.parameters): if v2.position is not None and v2.position > v.position: v2.position -= 1 for key in keys_to_remove: @@ -186,7 +186,7 @@ def insert_parameter(self, name, value_type=None, nullable=None, alias=None, overwrite=False): pd = self.set_parameter(name, value_type, nullable, alias, overwrite) - for p in self.parameters.itervalues(): + for p in six.itervalues(self.parameters): if p is pd: continue if p.position is not None and p.position >= pd.position: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/yaql/standard_library/queries.py new/yaql-1.1.1/yaql/standard_library/queries.py --- old/yaql-1.1.0/yaql/standard_library/queries.py 2016-02-11 11:27:11.000000000 +0100 +++ new/yaql-1.1.1/yaql/standard_library/queries.py 2016-06-14 17:55:19.000000000 +0200 @@ -452,6 +452,7 @@ @specs.parameter('length', int) @specs.inject('to_list', yaqltypes.Delegate('to_list', method=True)) def slice_(collection, length, to_list): + collection = iter(collection) while True: res = to_list(itertools.islice(collection, length)) if res: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/yaql/standard_library/strings.py new/yaql-1.1.1/yaql/standard_library/strings.py --- old/yaql-1.1.0/yaql/standard_library/strings.py 2016-02-11 11:27:11.000000000 +0100 +++ new/yaql-1.1.1/yaql/standard_library/strings.py 2016-06-14 17:55:19.000000000 +0200 @@ -39,14 +39,14 @@ @specs.parameter('right', yaqltypes.String()) @specs.name('#operator_>=') def gte(left, right): - return left > right + return left >= right @specs.parameter('left', yaqltypes.String()) @specs.parameter('right', yaqltypes.String()) @specs.name('#operator_<=') def lte(left, right): - return left < right + return left <= right @specs.parameter('args', yaqltypes.String()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/yaql/tests/test_queries.py new/yaql-1.1.1/yaql/tests/test_queries.py --- old/yaql-1.1.0/yaql/tests/test_queries.py 2016-02-11 11:27:11.000000000 +0100 +++ new/yaql-1.1.1/yaql/tests/test_queries.py 2016-06-14 17:55:19.000000000 +0200 @@ -300,6 +300,9 @@ self.assertEqual( [[1, 2], [3, 4], [5]], self.eval('range(1, 6).slice(2)')) + self.assertEqual( + [[1, 2], [3, 4], [5]], + self.eval('[1,2,3,4,5].slice(2)')) def test_split(self): self.assertEqual( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/yaql.egg-info/PKG-INFO new/yaql-1.1.1/yaql.egg-info/PKG-INFO --- old/yaql-1.1.0/yaql.egg-info/PKG-INFO 2016-02-11 11:27:25.000000000 +0100 +++ new/yaql-1.1.1/yaql.egg-info/PKG-INFO 2016-06-14 17:57:28.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: yaql -Version: 1.1.0 +Version: 1.1.1 Summary: YAQL - Yet Another Query Language Home-page: https://launchpad.net/yaql Author: Stan Lagun diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaql-1.1.0/yaql.egg-info/pbr.json new/yaql-1.1.1/yaql.egg-info/pbr.json --- old/yaql-1.1.0/yaql.egg-info/pbr.json 2016-02-11 11:27:25.000000000 +0100 +++ new/yaql-1.1.1/yaql.egg-info/pbr.json 2016-06-14 17:57:28.000000000 +0200 @@ -1 +1 @@ -{"is_release": true, "git_version": "4795713"} \ No newline at end of file +{"is_release": true, "git_version": "9d6866e"} \ No newline at end of file
