codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Python
  3. Upgrade to Python 3.15

Upgrade to Python 3.15

Proprietary

Migrate deprecated and removed APIs for Python 3.15 compatibility, applying every earlier upgrade first.

org.openrewrite.python.migrate.UpgradeToPython315
$ mod run . --recipe=org.openrewrite.python.migrate.UpgradeToPython315

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.

Recipe
  1. Upgrade to Python 3.14
  2. Replace glob.glob1() with glob.glob(root_dir=...)
  3. Replace keyword-argument NamedTuple fields with a field list
  4. Pass [] to a NamedTuple with no fields
  5. Pass {} to a TypedDict with no fields
  6. Replace importlib.resources.files(package=...) with anchor=...
  7. Replace module __cached__ with __spec__.cached
  8. Find removed glob.glob0()
  9. Find removed PurePath.is_reserved()
  10. Find removed load_module() on import loaders
  11. Find removed sre_* modules
  12. Find removed http.server.CGIHTTPRequestHandler
  13. Find removed typing.no_type_check_decorator
  14. Find removed ctypes.SetPointerType()
  15. Find removed platform.java_ver()
  16. Find removed wave marker methods
  17. Find removed co_lnotab on code objects
  18. Find deprecated profile module
  19. Find deprecated webbrowser.MacOSXOSAScript
  20. org.openrewrite.python.migrate.UpgradePythonVersionTo315
© Moderne, 2026
PrivacyTerms