We contentedly announce the release of: yaql 3.1.0 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. 3.1.0 ^^^^^ Upgrade Notes ************* * Python 3.6 and 3.7 are no longer supported. The minimum python version currently supported is 3.8. Bug Fixes ********* * The localtz YAQL function now returns daylight saving time when daylight saving is actually enabled in the system. Previously it returned daylight saving time if the system time zone has daylight saving time. Changes in yaql 3.0.0..3.1.0 ---------------------------- bacaa70 Use pbr to detect version 5a34da2 add pyproject.toml to support pip 23.1 343a4a2 tox: Remove basepython 1fe08af pre-commit: Bump versions b7ec3e5 Enable E721 e258f36 Document use of parent context with where operator deffd2d Drop unused fixtures library de23b01 Use per-commit to run style checks 820034d Remove unnecessary 'x' bit c054a36 Run pyupgrade to clean up Python 2 syntaxes 82a1eb0 Drop unnecessary 'x' bit from doc config file 8b158b4 Declare Python 3.12 support a3029db Remove old excludes 61e61a6 Remove Python 3.6/7 support again 269f966 Fix localtz() function Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 30 ++++++++ README.rst | 3 + pyproject.toml | 3 + .../notes/bug-2052593-f683555b24f1fba7.yaml | 6 ++ .../notes/remove-py36-37-b4292e584fe8ead5.yaml | 5 ++ releasenotes/source/conf.py | 17 +++-- setup.cfg | 5 +- test-requirements.txt | 3 - tox.ini | 12 ++-- yaql/__init__.py | 15 ++-- yaql/cli/cli_functions.py | 14 ++-- yaql/cli/run.py | 0 yaql/language/contexts.py | 14 ++-- yaql/language/exceptions.py | 78 ++++++++++---------- yaql/language/expressions.py | 24 +++---- yaql/language/factory.py | 8 +-- yaql/language/lexer.py | 2 +- yaql/language/parser.out | 2 +- yaql/language/parser.py | 4 +- yaql/language/specs.py | 8 +-- yaql/language/utils.py | 4 +- yaql/language/yaqltypes.py | 84 +++++++++++----------- yaql/legacy.py | 4 +- yaql/standard_library/collections.py | 21 ++---- yaql/standard_library/date_time.py | 2 +- yaql/standard_library/queries.py | 17 ++--- yaql/standard_library/strings.py | 2 +- yaql/standard_library/system.py | 6 +- yaql/standard_library/yaqlized.py | 2 +- yaql/yaql_interface.py | 2 +- 38 files changed, 232 insertions(+), 208 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index fdc78c8..318b06e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,2 +0,0 @@ -hacking>=6.1.0,<6.2.0 # Apache-2.0 - @@ -4 +1,0 @@ coverage>=3.6 -fixtures>=1.3.1
participants (1)
-
no-reply@openstack.org