perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

Update deprecated packages and other debian warnings

Open sashwinbalaji opened this issue 1 year ago • 1 comments

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]

sashwinbalaji avatar Nov 07 '25 20:11 sashwinbalaji

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.

benoitperrin avatar Jan 08 '26 18:01 benoitperrin