Replace configparser.SafeConfigParser with ConfigParser

Proprietary

The configparser.SafeConfigParser class was deprecated in Python 3.2 and removed in Python 3.12. Replace with configparser.ConfigParser.

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

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

Recipe list

It runs these recipes, in this order.

  1. Change import