From 4b7bd7ad8837398c3e61ac409a56baeba5ac87e85cb30a470f895cb3a7371283 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 19 Jul 2023 11:13:04 +0000 Subject: [PATCH] Accepting request 1099323 from home:ateixeira:branches:devel:languages:python - Update to 0.9.31: * cleanup numpy imports to avoid deprecated functions, add financial functions from numpy_financial module, if installed. * prefer 'user_symbols' when initializing Interpreter, but still support 'usersyms' argument. Will deprecate and remove eventually. * add support of optional (off-by default) "nested symbol table". * update tests to run most tests with symbol tables of dict and nested group type. * general code and testing cleanup. * add config argument to Interpreter to more fully control which nodes are supported * add support for import and importfrom -- off by default * add support for with blocks * add support for f-strings * add support of set and dict comprehension * fix bug with 'int**int' not returning a float. OBS-URL: https://build.opensuse.org/request/show/1099323 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=30 --- asteval-0.9.29.tar.gz | 3 --- asteval-0.9.31.tar.gz | 3 +++ python-asteval.changes | 19 +++++++++++++++++++ python-asteval.spec | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 asteval-0.9.29.tar.gz create mode 100644 asteval-0.9.31.tar.gz diff --git a/asteval-0.9.29.tar.gz b/asteval-0.9.29.tar.gz deleted file mode 100644 index e163546..0000000 --- a/asteval-0.9.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab98c61ba9394149c774ae7861497e9c32580301aa693ca19746997216c31fab -size 42424 diff --git a/asteval-0.9.31.tar.gz b/asteval-0.9.31.tar.gz new file mode 100644 index 0000000..8abbcff --- /dev/null +++ b/asteval-0.9.31.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2da066b6696dba9835c5f7dec63e0ffb5bd2b4e3bb5f0b9a604aeafb17d833d +size 57410 diff --git a/python-asteval.changes b/python-asteval.changes index 3cf5d3b..15ee1bc 100644 --- a/python-asteval.changes +++ b/python-asteval.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Jul 18 18:09:28 UTC 2023 - Antonio Teixeira + +- Update to 0.9.31: + * cleanup numpy imports to avoid deprecated functions, add financial + functions from numpy_financial module, if installed. + * prefer 'user_symbols' when initializing Interpreter, but still support + 'usersyms' argument. Will deprecate and remove eventually. + * add support of optional (off-by default) "nested symbol table". + * update tests to run most tests with symbol tables of dict and nested + group type. + * general code and testing cleanup. + * add config argument to Interpreter to more fully control which nodes are supported + * add support for import and importfrom -- off by default + * add support for with blocks + * add support for f-strings + * add support of set and dict comprehension + * fix bug with 'int**int' not returning a float. + ------------------------------------------------------------------- Thu Feb 16 21:08:13 UTC 2023 - Dirk Müller diff --git a/python-asteval.spec b/python-asteval.spec index 2bad27f..d4408c0 100644 --- a/python-asteval.spec +++ b/python-asteval.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-asteval -Version: 0.9.29 +Version: 0.9.31 Release: 0 Summary: Safe, minimalistic evaluator of python expression using ast module License: MIT