15
0

21 Commits

Author SHA256 Message Date
8760b4335a Accepting request 1240526 from home:glaubitz:branches:devel:languages:python
- Update to 1.0.6
  * drop testing and support for Python3.8, add Python 3.13,
    change document to reflect this.
  * implement safe_getattr and safe_format functions; fix bugs
    in UNSAFE_ATTRS and UNSAFE_ATTRS_DTYPES usage
  * make all procedure attributes private to curb access to AST
    nodes, which can be exploited
  * improvements to error messages, including use ast functions
    to construct better error messages
  * remove import of numpy.linalg, as documented
  * update doc description for security advisory

OBS-URL: https://build.opensuse.org/request/show/1240526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=42
2025-01-27 13:48:13 +00:00
4e9e57ba76 - update to 1.0.5:
* more work on handling errors, including fixing #133 and
    adding more comprehensive tests for #129 and #132
- update to 1.0.4:
  * fix error handling that might result in null exception
- update to 1.0.3:
  * functions ("Procedures") defined within asteval have a `
    _signature()` method, now use in repr
  * add support for deleting subscript
  * nested symbol tables now have a  Group() function
  * update coverage config
  * cleanups of exception handling :  errors must now have an
    exception
  * several related fixes to suppress repeated exceptions: see GH
    #132 and #129
  * make non-boolean return values from comparison operators
    behave like Python - not immediately testing as bool

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=40
2024-10-10 15:41:57 +00:00
34dd94b27d - update to 1.0.2:
* fix NameError handling in expression code
  * make exception messages more Python-like
- update to 1.0.1:
  * security fixes, based on audit by Andrew Effenhauser, Ayman
    Hammad, and Daniel Crowley, IBM X-Force Security Research
    division
  * remove numpy modules polynomial, fft, linalg by default for
    security concerns
  * disallow string.format(), improve security of f-string
    evaluation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=38
2024-08-09 06:58:52 +00:00
3778f16399 - update to 1.0.0:
* fix (again) nested list comprehension (Issues #127 and #126).
  * add more testing of multiple list comprehensions.
  * more complete support for Numpy 2, and removal of many Numpy
    symbols that have been long deprecated.
  * remove AST nodes deprecated in Python 3.8.
  * clean up build files and outdated tests.
  * fixes to codecov configuration.
  * update docs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=36
2024-07-02 20:14:36 +00:00
a2ff623c82 - update to 0.9.33:
* fixes for multiple list comprehensions (addressing #126)
  * add testing with optionally installed numpy_financial to CI
  * test existence of all numpy imports to better safeguard
    against missing functions (for safer numpy 2 transition)
  * update rendered doc to include PDF and zipped HTML

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=34
2024-06-12 09:58:41 +00:00
c74f60ee20 - update to 0.9.32:
* add deprecations message for numpy functions to be removed in
    numpy 2.0
  * comparison operations use try/except for short-circuiting
    instead of checking for numpy arrays (addressing #123)
  * add Python 3.12 to testing
  * move repository from "newville" to "lmfit" organization
  * update doc theme, GitHub locations pointed to by docs, other
    doc tweaks.
- Update to 0.9.28
- update to 0.9.27:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=32
2024-03-22 19:39:45 +00:00
4b7bd7ad88 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
2023-07-19 11:13:04 +00:00
a9ba451131 - update to 0.9.29:
* bug fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=28
2023-02-16 21:08:19 +00:00
b586c6c0cb Accepting request 1039411 from home:yarunachalam:branches:devel:languages:python
- Update to 0.9.28 
  * add support for Python 3.11
  * add support for multiple list comprehensions
  * improve performance of making the initial symbol table,
    and Interpreter creation, including better checking for index_tricks attributes

OBS-URL: https://build.opensuse.org/request/show/1039411
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=26
2022-12-02 10:45:25 +00:00
4d56a0c503 Accepting request 1001519 from home:yarunachalam:branches:devel:languages:python
- update to 0.9.27: 
  * more cleanups

OBS-URL: https://build.opensuse.org/request/show/1001519
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=24
2022-09-07 08:17:17 +00:00
0d01e11e23 - update to 0.9.26:
* fix setup.py again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=23
2022-01-23 16:39:59 +00:00
80321716fb - update to 0.9.25:
* fixes import errors for Py3.6 and 3.7, setting version with
    importlib_metadata.version if available.
  * use setuptools_scm and importlib for version
  * treat all __dunder__ attributes of all objects as inherently unsafe.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=22
2022-01-15 16:48:36 +00:00
e13095c03c Accepting request 873123 from home:bnavigator:branches:devel:languages:python
- Update to 0.9.22
  * another important but small fix for Python 3.9
  * Merge branch 'nested_interrupts_returns'
- Drop hard numpy requirement, don't test on python36

OBS-URL: https://build.opensuse.org/request/show/873123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=20
2021-02-17 16:45:00 +00:00
Tomáš Chvátal
96178d7def Accepting request 765256 from home:mcalabkova:branches:devel:languages:python
- update to 0.9.18
  * drop python2
  * few fixes

OBS-URL: https://build.opensuse.org/request/show/765256
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=18
2020-01-17 12:55:06 +00:00
Todd R
8bf626efbf Accepting request 755348 from home:TheBlackCat:branches:devel:languages:python:numeric
Update to 0.9.17

OBS-URL: https://build.opensuse.org/request/show/755348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=16
2019-12-09 17:47:07 +00:00
Tomáš Chvátal
4fa555e15a Accepting request 743629 from home:TheBlackCat:branches:devel:languages:python
Update to 0.9.16

OBS-URL: https://build.opensuse.org/request/show/743629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=14
2019-10-29 07:47:45 +00:00
Tomáš Chvátal
06bd65226d - Update to 0.9.15:
* some doc improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=12
2019-09-13 12:10:04 +00:00
Tomáš Chvátal
b719661604 Accepting request 718563 from home:pgajdos
- version update to 0.9.14
  * no upstream changelog

OBS-URL: https://build.opensuse.org/request/show/718563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=10
2019-07-25 13:50:11 +00:00
Tomáš Chvátal
40e4c7c625 - Update 0.9.13:
* Various spelling fixes
  * Error reporting tweaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=8
2019-03-06 12:18:41 +00:00
Tomáš Chvátal
1883c361d4 - Fix the test call to work on 42.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=6
2018-08-29 10:27:36 +00:00
Todd R
2d3762f355 Accepting request 613717 from devel:languages:python:misc
numpy-aware, safe(ish) 'eval' function

OBS-URL: https://build.opensuse.org/request/show/613717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=1
2018-06-03 04:04:54 +00:00