safe_infer was moved to astroid.util in 3.0.0 and importing it from helpersissues a deprecation warning:
/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/perflint/comprehension_checker.py:78: DeprecationWarning: Import safe_infer from astroid.util; this shim in astroid.helpers will be removed.
safe_infer
was moved toastroid.util
in 3.0.0 and importing it fromhelpers
issues a deprecation warning: