Replace deprecated calendar month constants with uppercase

Proprietary

Replace the deprecated mixed-case calendar constants calendar.January and calendar.February with calendar.JANUARY and calendar.FEBRUARY. The mixed-case constants were deprecated in Python 3.12.

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

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
  2. Change import