You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the release, make release-test runs python3 selftest.py:
❯ python3 selftest.py...Running selftest:<doctest __main__.testimage[57]>:1: DeprecationWarning: ImageMath.eval is deprecated and will be removed in Pillow 12 (2025-10-15). Use ImageMath.lambda_eval or ImageMath.unsafe_eval instead. im = ImageMath.eval("float(im + 20)", im=im.convert("L"))--- 59 tests passed.
During the release,
make release-test
runspython3 selftest.py
:Here's the
eval
:Pillow/selftest.py
Line 142 in 33a73b5
Shall we rewrite it as
lambda_eval
, catch the deprecation warning, or just remove it?The text was updated successfully, but these errors were encountered: