Skip to content

Python: register all existing recipes#6815

Merged
greg-at-moderne merged 1 commit intomainfrom
greg-python-changeimport-bundle
Feb 25, 2026
Merged

Python: register all existing recipes#6815
greg-at-moderne merged 1 commit intomainfrom
greg-python-changeimport-bundle

Conversation

@greg-at-moderne
Copy link
Contributor

@greg-at-moderne greg-at-moderne commented Feb 25, 2026

What's changed?

Adding all existing recipes under rewrite-python to the modules activate() function.

What's your motivation?

So that these recipes are installed.
Some recipe libraries already started depending on them and if they are not activated, then the execution might fail with:

Caused by io.moderne.jsonrpc.JsonRpcException: {code=-32603, message='Recipe not found: org.openrewrite.python.ChangeImport'}
  io.moderne.jsonrpc.JsonRpc$1.compute(JsonRpc.java:78)
  java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)

@greg-at-moderne greg-at-moderne self-assigned this Feb 25, 2026
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Feb 25, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review February 25, 2026 11:27
@greg-at-moderne greg-at-moderne merged commit 602ec88 into main Feb 25, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-python-changeimport-bundle branch February 25, 2026 11:27
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant