Skip to content

refactor: remove deprecated MLflow Recipes support#220

Open
veenaramesh wants to merge 4 commits into
databricks:testfrom
veenaramesh:refactor/remove-mlflow-recipes
Open

refactor: remove deprecated MLflow Recipes support#220
veenaramesh wants to merge 4 commits into
databricks:testfrom
veenaramesh:refactor/remove-mlflow-recipes

Conversation

@veenaramesh

Copy link
Copy Markdown
Collaborator

Summary

  • Remove input_include_mlflow_recipes parameter from schema, tests, and example configs
  • Delete all recipe template files: TrainWithMLflowRecipes.py, recipe.yaml, profiles/, steps/, training tests
  • Clean up update_layout.tmpl, READMEs, and test parametrize decorators

Depends on #219 (simplify-project-structure).

Test plan

  • databricks bundle init no longer prompts for MLflow Recipes
  • Generated project does not contain recipe-related files
  • All existing test combinations still pass

Move all Databricks notebooks out of nested notebooks/ subdirectories
to sit alongside their sibling helper modules. This eliminates the
%cd .. hacks that were needed to import from parent directories and
simplifies the project layout for a data science workflow.

Moves:
- training/notebooks/*.py → training/*.py
- validation/notebooks/ModelValidation.py → validation/ModelValidation.py
- deployment/*/notebooks/*.py → deployment/*/*.py
- feature_engineering/notebooks/*.py → feature_engineering/*.py
- monitoring/notebooks/*.py → monitoring/*.py

Updates all resource YAMLs, update_layout.tmpl, and README references.

Co-authored-by: Isaac
Databricks bundle deployments set the notebook CWD correctly, so
the notebook_path/%cd $notebook_path pattern is unnecessary. Sibling
imports work naturally after the flatten-notebooks change.

Also inlines the trivial get_deployed_model_stage_for_env helper
(a dict lookup) to eliminate cross-directory sys.path.append in
deploy.py and BatchInference.py.

Co-authored-by: Isaac
No longer needed with databricks bundle init.

Co-authored-by: Isaac
Remove the input_include_mlflow_recipes parameter and all associated
template files: TrainWithMLflowRecipes.py, recipe.yaml, profiles/,
steps/, training data, README, __init__.py, and recipe-specific tests.

Clean up update_layout.tmpl skip entries, remove dead recipes branches
from README tree diagrams, and simplify conditionals throughout.

Co-authored-by: Isaac
@veenaramesh veenaramesh force-pushed the refactor/remove-mlflow-recipes branch from 7421c35 to 1a24c0c Compare June 12, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant