Report Generator uses deprecated python functions

6 views
Skip to first unread message

Vikas

unread,
Apr 10, 2026, 6:31:00 AMApr 10
to reportlab-users
Hi,

I am getting Deprecation Warnings while using reportlab 4.0 in Python 3.14. Do you have any plans that it would be fixed in your next release?

============================== warnings summary ===============================

:530
:530: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead

.venv\Lib\site-packages\reportlab\lib\rl_safe_eval.py:11: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
haveNameConstant = hasattr(ast,'NameConstant')

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Reply all
Reply to author
Forward
0 new messages