Replace importlib.resources.files(package=...) with anchor=...

Proprietary

The package parameter of importlib.resources.files() was deprecated in Python 3.12 and removed in Python 3.15. Pass the same value as anchor instead.

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

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