CVS log for pkgsrc/math/py-asteval/Makefile
Up to [cvs.NetBSD.org] / pkgsrc / math / py-asteval
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Aug 24 12:03:22 2026 UTC (2 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
HEAD
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
py-asteval: updated to 1.0.10
1.0.10
Fix comprehension loop variables leaking into the symbol table
Reject assignment to unsafe attribute, including all "dunder" attributes
Update security advisory guidelines in SECURITY.md
Add CodeQL analysis workflow configuration
Fix typo raising exception where node is not defined
Use ndarray.reshape instead of assigning to ndarray.shape to avoid NumPy deprecation.
Add some testing of implemented/non-implemented nodes
Update docs to use breeze theme
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jun 12 07:49:11 2026 UTC (5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base,
pkgsrc-2026Q2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
py-asteval: updated to 1.0.9
1.0.9
This fixes some usage problem and is also meant to address the securirty advisories GHSA-89v8-rhwq-hf77
and GHSA-9w56-46f6-3qhx
Changes:
Fix unpacking of nested tuples in comprehensions
Fix error with lambda functions, so that calls from top level should clear previous errors and exceptions should clear the callstack before re-raising
Add try/except for import of ctypes, so that this module is not required from asteval to run
Update PyPI stats link in README
Remove the "exiting exceptions", 'SystemExit' and 'GeneratorExit' from the symbol table to remove the possibily of such an exception in asteval from exiting the calling application.
Make exception handling of BaseExceptions that are not also Exceptions (most notably, KeyboardInterrupt, which is not removed from the symbol table) more explicit, converting these to RuntimeError.
Add 'ctypes', 'dump, and 'tofile' as unsafe attributes of numpyndarrays, so that these cannot be acccessed.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Dec 22 13:34:35 2025 UTC (10 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base,
pkgsrc-2026Q1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
py-asteval: updated to 1.0.8
1.0.8
Fixes and improvements:
fix bug so that return from a Procedure does not interrupt the calling code block
remove numpy.memmap from default methods
add discussion of numpy functions/objects that can open files
add support and tests for lambda expressions
add default permissions to github actions
update README, doc, remove cruft
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Nov 11 10:29:35 2025 UTC (12 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base,
pkgsrc-2025Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3
lines
py-asteval: updated to 1.0.7
1.0.7
return in while, for, and with blocks in functions properly signal an immediate exit of the function.
fix augassign to retain line numbers for exceptions properly.
make sure that "unsafe_modules" should not be accessed even if imported and exposed by other modules
cleanup unused nodes
tweaks and fixes to docs
drop testing with Python 3.9
add testing for Python 3.14
update pyproject.toml from the endless churn from PyPA, to move the location and formatting for the LICENSE, to continue compliance with the endless churn from PyPA.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Apr 15 16:31:37 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2
lines
Fix PLIST after py-setuptools update; bump depends and revision
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 20 06:08:34 2025 UTC (21 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base,
pkgsrc-2025Q1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
py-asteval: updated to 1.0.6
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
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:40 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base,
pkgsrc-2024Q4
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2
lines
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Oct 14 06:45:49 2024 UTC (2 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -3
lines
*: clean-up after python38 removal
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Oct 3 09:00:49 2024 UTC (2 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
py-asteval: updated to 1.0.5
1.0.5
bugfix:
more work on handling errors
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Sep 15 15:38:42 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base,
pkgsrc-2024Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
py-asteval: updated to 1.0.4
1.0.4
Unknown changes
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Sep 13 19:17:34 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
py-asteval: updated to 1.0.3
1.0.3
Unknown changes
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Aug 2 07:36:54 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
py-asteval: updated to 1.0.2
1.0.2
Unknown changes
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jul 22 17:52:42 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3
lines
py-asteval: updated to 1.0.1
1.0.1
Unknown changes
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri May 24 11:51:59 2024 UTC (2 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base,
pkgsrc-2024Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
py-asteval: updated to 0.9.33
0.9.33
Unknown changes
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Mar 4 08:00:45 2024 UTC (2 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -7
lines
py-asteval: updated to 0.9.32
0.9.32
Unknown changes
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jul 17 07:19:25 2023 UTC (3 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
py-asteval: updated to 0.9.31
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", based on a Group object that can be accessed from Python either with dict syntax (ie aeval.symtable['x']) or with object attribute access (aeval.symtable.x). In addition, symbols can be found by looking first in the top-level symbol table and then in sub-Groups named in symtable._searchgroups, allowing for a more hierarchical, nested symbol table. This should be considered experimental and is off by default. The make_symbol_table() function gains a nested=False argument to control whether to use this option.
update tests to run most tests with symbol tables of dict and nested group type.
general code and testing cleanup.
0.9.30
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.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jul 1 08:37:38 2023 UTC (3 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
*: restrict py-numpy users to 3.9+ in preparation for update
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Feb 14 17:49:26 2023 UTC (3 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
py-asteval: updated to 0.9.29
0.9.29
bug fixes
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:12:18 2022 UTC (4 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -8
lines
py-asteval: updated to 0.9.28
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
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 8 17:14:39 2022 UTC (4 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
py-asteval: updated to 0.9.27
0.9.27
more cleanups
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jan 17 08:56:48 2022 UTC (4 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -4
lines
py-asteval: updated to 0.9.26
0.9.26:
fix setup.py again
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:54:12 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1
lines
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 30 13:05:35 2021 UTC (4 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Forget about Python 3.6
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 4 13:56:13 2021 UTC (5 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
py-asteval: updated to 0.9.25
0.9.25
fixes import errors for Py3.6 and 3.7, setting version with importlib_metadata.version if available.
also fixes CI testing with github actions so that the proper version of Python is actually used in the test!
0.9.24
use setuptools_scm and importlib for version
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 29 08:42:00 2021 UTC (5 years, 4 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1
lines
py-numpy: "Python version >= 3.7 required."
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 12 13:11:50 2021 UTC (5 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
py-asteval: updated to 0.9.23
0.9.23:
treat all __dunder__ attributes of all objects as inherently unsafe.
0.9.22:
update doc and license for 0.9.22
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Feb 8 08:34:37 2021 UTC (5 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
py-asteval: updated to 0.9.21
0.9.21:
another important but small fix for Python 3.9
0.9.20:
doc update
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 5 21:05:09 2020 UTC (6 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
py-asteval: updated to 0.9.19
0.9.19:
erge branch 'nested_interrupts_returns'
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 27 07:23:25 2020 UTC (6 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3
lines
py-asteval: updated to 0.9.18
0.9.18:
clarify that 0.9.17 was the final version to support Py2.7
0.9.17:
add 3.8 to travis config
0.9.16:
auto-run codecov only if numpy is installed
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Oct 19 14:21:25 2019 UTC (7 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
py-asteval: updated to 0.9.15
0.9.15:
some doc improvements
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 15 06:46:36 2019 UTC (7 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2
lines
py-asteval: updated to 0.9.14
0.9.14:
Safe numpy
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 11 10:07:04 2018 UTC (8 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
py-asteval: updated to 0.9.13
0.9.13:
Bug fixes.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Apr 14 05:31:08 2018 UTC (8 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
py-asteval: added version 0.9.12
ASTEVAL is a safe(ish) evaluator of Python expressions and statements, using
Python's ast module. The idea is to provide a simple, safe, and robust
miniature mathematical language that can handle user-input. The emphasis here
is on mathematical expressions, and so many functions from numpy are imported
and used if available.
CVSweb <webmaster@jp.NetBSD.org>