perfetto
perfetto copied to clipboard
Update deprecated packages and other debian warnings
I: perfetto source: uses-deprecated-python-stdlib distutils (deprecated in Python 3.10, removed in Python 3.12) [python/setup.py:1]
I: perfetto source: uses-deprecated-python-stdlib pipes (deprecated in Python 3.11, removed in Python 3.13) [tools/compat.py:19]
Not immediately, but we should move away from going to be deprecated modules.
And, there are some best code practices (pickiest) but still we can consider to follow:
P: perfetto source: source-contains-prebuilt-javascript-object [ui/src/base/perfetto_sql_lang/perfetto_sql.grammar.js]
Related: I'm seeing a ResourceWarning: unclosed file from trace_processor/api.py on Python 3.12 with perfetto 0.16.0.
Given that Python 3.13 is now stable and 3.14 is in beta, it might be worth addressing these deprecations to stay ahead of the curve.
Workaround: filter warnings in pytest config.