Migrate off async-timeout
ProprietaryRetire the async-timeout package, the backport of asyncio.timeout, which Python 3.11 added to the standard library. A project that requires Python 3.11 or later moves to asyncio.timeout and drops the dependency. A project that still supports an older Python uses asyncio.timeout from 3.11 and async-timeout only before it, declared with the marker python_version < "3.11" so that it is not installed on 3.11 or later; it drops the package once org.openrewrite.python.migrate.UpgradeToPython311 raises its Python version. What neither could migrate is marked, and a project still importing async_timeout unguarded keeps its declaration as it is.
org. openrewrite. python. migrate. MigrateAsyncTimeoutmod run . --recipe= org. openrewrite. python. migrate. MigrateAsyncTimeoutInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.