15
0

43 Commits

Author SHA256 Message Date
c6fa0184b5 Accepting request 1240582 from 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 (bsc#1236405,
    CVE-2025-24359)
  * 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/1240582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=21
2025-01-27 19:57:33 +00:00
2a11a765e3 Add information about the fixed CVE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=43
2025-01-27 15:21:08 +00:00
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
c14e972703 Accepting request 1206742 from devel:languages:python
- 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/request/show/1206742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=20
2024-10-10 20:15:05 +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
43c1a46660 Accepting request 1192791 from devel:languages:python
- 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/request/show/1192791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=19
2024-08-09 14:16:02 +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
c76c8fc9a2 Accepting request 1184940 from devel:languages:python
- 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/request/show/1184940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=18
2024-07-03 18:30:41 +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
4f1aaadfc1 Accepting request 1180154 from devel:languages:python
- 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/request/show/1180154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=17
2024-06-12 13:39:03 +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
3a670e7dab Accepting request 1160806 from devel:languages:python
- 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/request/show/1160806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=16
2024-03-25 20:07:49 +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
953ddcfa51 Accepting request 1099490 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1099490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=15
2023-07-19 17:11:37 +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
3866eaddb8 Accepting request 1066270 from devel:languages:python
- update to 0.9.29:
  * bug fixes

OBS-URL: https://build.opensuse.org/request/show/1066270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=14
2023-02-17 15:45:13 +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
79d498752c Accepting request 1039546 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=13
2022-12-02 14:47:26 +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
d9c0c5190e Accepting request 1001657 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1001657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=12
2022-09-07 09:06:36 +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
322cea6fc6 Accepting request 948243 from devel:languages:python
- update to 0.9.26:
  * fix setup.py again

OBS-URL: https://build.opensuse.org/request/show/948243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=11
2022-01-23 17:38:43 +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
a90edb14ae Accepting request 946672 from devel:languages:python
- 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/request/show/946672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=10
2022-01-15 19:05:26 +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
831984a553 Accepting request 873194 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/873194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=9
2021-02-18 19:40:32 +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
9f21c3e3f0 Accepting request 765260 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/765260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=8
2020-01-18 11:17:45 +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
b29da826bd Accepting request 755349 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/755349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=7
2019-12-09 20:37:49 +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
c4c63f0217 Accepting request 743739 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/743739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=6
2019-10-30 13:43:48 +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
8616e4451d Accepting request 730700 from devel:languages:python
- Update to 0.9.15:
  * some doc improvements

OBS-URL: https://build.opensuse.org/request/show/730700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=5
2019-09-16 08:50:48 +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
9de2a8ac7a Accepting request 718567 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/718567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=4
2019-07-26 10:42:16 +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
5d22cb8e13 Accepting request 682133 from devel:languages:python
- Update 0.9.13:
  * Various spelling fixes
  * Error reporting tweaks

OBS-URL: https://build.opensuse.org/request/show/682133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=3
2019-03-06 14:52:29 +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
ef568c6a2e Accepting request 632120 from devel:languages:python
- Fix the test call to work on 42.3

OBS-URL: https://build.opensuse.org/request/show/632120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=2
2018-08-31 08:45:17 +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
74d7e95479 Accepting request 613718 from devel:languages:python
numpy-aware, safe(ish) 'eval' function

OBS-URL: https://build.opensuse.org/request/show/613718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=1
2018-06-15 12:37:38 +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