Find deprecated profile module

Proprietary

The pure-Python profile module was deprecated in Python 3.15 and is scheduled for removal in Python 3.17. Use profiling.tracing (new in 3.15) or cProfile, which provide a compatible API but no custom timers or bias calibration.

org.openrewrite.python.migrate.FindProfileModule
mod run . --recipe=org.openrewrite.python.migrate.FindProfileModule

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.