We are stoked to announce the release of: yaql 2.0.0: YAQL - Yet Another Query Language The source is available from: https://opendev.org/openstack/yaql Download the package from: https://pypi.org/project/yaql For more details, please see below. 2.0.0 ^^^^^ Upgrade Notes * Python 2.7 support has been dropped. Last release of yaql to support python 2.7 is OpenStack Train. The minimum version of Python now supported by yaql is Python 3.6. Changes in yaql 1.1.3..2.0.0 ---------------------------- c3bda9e Switch to collections.abc.* 4670f09 Remove six 8fcac72 tox: Set 'ignore_basepython_conflict' 0b006f0 Replace assertItemsEqual with assertCountEqual 356c965 Stop to use the __future__ module. 3309e68 Switch to newer openstackdocstheme and reno versions bfc3c48 Fix hacking min version to 3.0.1 e1eedff Cleanup py27 support 1f35cce Update hacking for Python3 2edd008 Fix docs gate 99f5b07 [ussuri][goal] Drop python 2.7 support and testing 5799a20 Import docs building job 7385a31 Add Python 3 Train unit tests 0701bdb Dropping the py35 testing 0788b6d OpenDev Migration Patch cc20ba6 add python 3.7 unit test job 41367c1 Removed older version of python added 3.5/3.6 e3d285f Update min tox version to 2.0 60408a5 Fix readme Pygments package not found cc70470 add python 3.6 unit test job 31ed1da import zuul job settings from project-config fe4cdef fix tox python3 overrides 74cb81b Make changes to groupBy() backward-compatible a3a83ab Use __slots__ for more yaqltypes dc21a82 Remove setting of version/release from releasenotes 95e8e7c Update the documention for doc migration fafc9a1 Make the CLI YAQL engine entirely configurable 0c758a0 Get rid of Babel dependency since it is not needed Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 4 + HACKING.rst | 2 +- README.rst | 16 - .../notes/drop-py-2-7-4a209eed5ea87ecd.yaml | 6 + releasenotes/source/conf.py | 20 +- requirements.txt | 2 - setup.cfg | 20 +- setup.py | 1 - test-requirements.txt | 6 +- tox.ini | 16 +- yaql/__init__.py | 7 +- yaql/cli/cli_functions.py | 13 +- yaql/cli/run.py | 44 +- yaql/language/contexts.py | 26 +- yaql/language/conventions.py | 5 +- yaql/language/expressions.py | 19 +- yaql/language/lexer.py | 4 +- yaql/language/parser.out | 4757 ++++++++++++++++++++ yaql/language/parser.py | 22 +- yaql/language/runner.py | 22 +- yaql/language/specs.py | 147 +- yaql/language/utils.py | 58 +- yaql/language/yaqltypes.py | 55 +- yaql/standard_library/collections.py | 17 +- yaql/standard_library/legacy.py | 6 +- yaql/standard_library/math.py | 10 +- yaql/standard_library/queries.py | 197 +- yaql/standard_library/regex.py | 4 +- yaql/standard_library/strings.py | 10 +- yaql/standard_library/system.py | 6 +- yaql/standard_library/yaqlized.py | 8 +- yaql/yaql_interface.py | 4 +- yaql/yaqlization.py | 7 +- 45 files changed, 5230 insertions(+), 462 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index ba64763..b3acf1f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2 +1,0 @@ pbr>=1.8 -Babel>=1.3 @@ -5 +3,0 @@ ply -six>=1.9.0 diff --git a/test-requirements.txt b/test-requirements.txt index b76a9b7..182f31e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1 @@ -hacking>=0.12.0,!=0.13.0,<0.14 +hacking>=3.0.1,<3.1.0 # Apache-2.0 @@ -6,2 +5,0 @@ python-subunit>=0.0.18 -sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 -oslosphinx>=2.5.0 @@ -11,2 +8,0 @@ testtools>=1.4.0 - -reno>=1.8.0 # Apache2