Python: regenerate recipes.csv#7801
Merged
Merged
Conversation
Regenerated via `./gradlew :rewrite-python:recipeCsvGenerate` to pick up description and option changes made to the dependency recipes since the CSV was last refreshed on 2026-02-11. Five recipes (`AddDependency`, `ChangeDependency`, `RemoveDependency`, `UpgradeDependencyVersion`, `UpgradeTransitiveDependencyVersion`) now correctly document support for `requirements.txt` / `Pipfile` / `pipenv` and the "not safe as a precondition" warning, and the `DependencyInsight` data table reflects its current schema. The drift went undetected because `recipeCsvValidateContent` only validates CSV formatting, not whether descriptions still match the live `Recipe.getDescription()`. Tracked at openrewrite/rewrite-build-gradle-plugin#176.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rewrite-python/src/main/resources/META-INF/rewrite/recipes.csvvia./gradlew :rewrite-python:recipeCsvGenerateto pick up changes made since the file was last touched on 2026-02-11.AddDependency,ChangeDependency,RemoveDependency,UpgradeDependencyVersion,UpgradeTransitiveDependencyVersion) now correctly document support forrequirements.txt/Pipfile/pipenvand the "not safe as a precondition" warning. Several optiondescriptionfields and theDependencyInsightdata table also caught up.recipeCsvValidateContentonly checks CSV formatting, not whetherdisplayName/descriptionstill match the liveRecipegetters. Tracked at recipeCsvValidateContent doesn't detect drift between CSV and live Recipe.getDescription() rewrite-build-gradle-plugin#176.Test plan
./gradlew :rewrite-python:recipeCsvGenerate(regenerated file)./gradlew :rewrite-python:recipeCsvValidate(passes)