pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-asteval



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jun 12 07:49:11 UTC 2026

Modified Files:
        pkgsrc/math/py-asteval: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/math/py-asteval/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/math/py-asteval/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-asteval/Makefile
diff -u pkgsrc/math/py-asteval/Makefile:1.31 pkgsrc/math/py-asteval/Makefile:1.32
--- pkgsrc/math/py-asteval/Makefile:1.31        Mon Dec 22 13:34:35 2025
+++ pkgsrc/math/py-asteval/Makefile     Fri Jun 12 07:49:11 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2025/12/22 13:34:35 adam Exp $
+# $NetBSD: Makefile,v 1.32 2026/06/12 07:49:11 adam Exp $
 
-DISTNAME=      asteval-1.0.8
+DISTNAME=      asteval-1.0.9
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asteval/}

Index: pkgsrc/math/py-asteval/distinfo
diff -u pkgsrc/math/py-asteval/distinfo:1.26 pkgsrc/math/py-asteval/distinfo:1.27
--- pkgsrc/math/py-asteval/distinfo:1.26        Mon Dec 22 13:34:35 2025
+++ pkgsrc/math/py-asteval/distinfo     Fri Jun 12 07:49:11 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2025/12/22 13:34:35 adam Exp $
+$NetBSD: distinfo,v 1.27 2026/06/12 07:49:11 adam Exp $
 
-BLAKE2s (asteval-1.0.8.tar.gz) = 4fcf56145e9eb0dadaf99bebe238edf52d99e1a9fb5bfb0f2ebd1703d8f8c546
-SHA512 (asteval-1.0.8.tar.gz) = c1e123b9fe85229701c1b75a7dd171d929950f1b697ae533425b4ce1695412f59b5d2718ecfd1ee22e03f465c30e524ee020667c32bddd33b21fc62b089268a7
-Size (asteval-1.0.8.tar.gz) = 53989 bytes
+BLAKE2s (asteval-1.0.9.tar.gz) = 4b27433d0f4a1ed9d48e5ae97d4d3d7c0b493ead5f5b72bcc64fb2d8b750e1c8
+SHA512 (asteval-1.0.9.tar.gz) = 5078c04b47b32ef3e69f74a3ae4680c1e0bdc62dd552a0e1b4ce2392b4e1449c51888fde2e692f4b767689872d2cedfa0172bc9e520becd6398f0ec6e370fb46
+Size (asteval-1.0.9.tar.gz) = 55237 bytes



Home | Main Index | Thread Index | Old Index