Skip to content

Remove deprecated promptflow flavor#18805

Merged
harupy merged 3 commits intomasterfrom
copilot/remove-promptflow-flavor
Nov 12, 2025
Merged

Remove deprecated promptflow flavor#18805
harupy merged 3 commits intomasterfrom
copilot/remove-promptflow-flavor

Conversation

Copy link
Contributor

Copilot AI commented Nov 12, 2025

Related Issues/PRs

#xxx

What changes are proposed in this pull request?

Removes the promptflow flavor completely from the MLflow codebase following its deprecation in 3.6.0.

Deleted:

  • mlflow/promptflow/ - flavor implementation (502 lines)
  • tests/promptflow/ - test suite (134 lines)
  • examples/promptflow/ - example flows (240 lines)
  • Documentation files and API references

Updated:

  • mlflow/__init__.py - removed LazyLoader and exports
  • mlflow/ml-package-versions.yml - removed package configuration
  • mlflow/ml_package_versions.py - removed from package info dict
  • mlflow/telemetry/constant.py - removed from GENAI_MODULES
  • requirements/extra-ml-requirements.txt - removed dependency
  • tests/conftest.py - removed from skip list
  • docs/api_reference/api_inventory.txt - removed 5 API entries
  • docs/src/api_modules.json - removed module reference

Total: 24 files changed, 971 deletions

How is this PR tested?

  • Existing unit/integration tests
  • New unit/integration tests
  • Manual tests

Verified MLflow imports successfully and mlflow.promptflow is not accessible.

Does this PR require documentation update?

  • No. You can skip the rest of this section.
  • Yes. I've updated:
    • Examples
    • API references
    • Instructions

Release Notes

Is this a user-facing change?

  • No. You can skip the rest of this section.
  • Yes. Give a description of this change to be included in the release notes for MLflow users.

The deprecated promptflow flavor has been removed. Users should migrate to alternative solutions as the flavor is no longer available.

What component(s), interfaces, languages, and integrations does this PR affect?

Components

  • area/tracking: Tracking Service, tracking client APIs, autologging
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/scoring: MLflow Model server, model deployment tools, Spark UDFs
  • area/evaluation: MLflow model evaluation features, evaluation metrics, and evaluation workflows
  • area/gateway: MLflow AI Gateway client APIs, server, and third-party integrations
  • area/prompts: MLflow prompt engineering features, prompt templates, and prompt management
  • area/tracing: MLflow Tracing features, tracing APIs, and LLM tracing functionality
  • area/projects: MLproject format, project running backends
  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server
  • area/build: Build and test infrastructure for MLflow
  • area/docs: MLflow documentation pages

How should the PR be classified in the release notes? Choose one:

  • rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section
  • rn/breaking-change - The PR will be mentioned in the "Breaking Changes" section
  • rn/feature - A new user-facing feature worth mentioning in the release notes
  • rn/bug-fix - A user-facing bug fix worth mentioning in the release notes
  • rn/documentation - A user-facing documentation change worth mentioning in the release notes

Should this PR be included in the next patch release?

  • Yes (this PR will be cherry-picked and included in the next patch release)
  • No (this PR will be included in the next minor release)
Original prompt

Goal: Remove the promptflow flavor from the MLflow codebase.
Rationale: In MLflow 3.6.0, we deprecated the promptflow flavor, and in the upcoming release, we are removing it entirely.

Key files to remove/update

  • mlflow/promptflow/
  • tests/promptflow/
  • mlflow/ml-package-versions.yml (promptflaow entry)
  • examples, docs

Thouroughly search promptflow in the codebase to ensure all references/files are removed.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@harupy harupy marked this pull request as ready for review November 12, 2025 08:43
@harupy harupy added rn/none List under Small Changes in Changelogs. and removed rn/none List under Small Changes in Changelogs. labels Nov 12, 2025
@github-actions
Copy link
Contributor

@Copilot Thank you for the contribution! Could you fix the following issue(s)?

⚠ Invalid PR template

This PR does not appear to have been filed using the MLflow PR template. Please copy the PR template from here and fill it out.

Copilot AI and others added 2 commits November 12, 2025 08:48
Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove promptflow flavor from MLflow codebase Remove deprecated promptflow flavor Nov 12, 2025
@github-actions github-actions bot added area/docs Documentation issues area/models MLmodel format, model serialization/deserialization, flavors rn/breaking-change Mention under Breaking Changes in Changelogs. labels Nov 12, 2025
Copy link
Collaborator

@TomeHirata TomeHirata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it seems we didn't mention promptflow flavor in our main doc at all, which is interesting.

@harupy harupy added this pull request to the merge queue Nov 12, 2025
Merged via the queue into master with commit f8cb206 Nov 12, 2025
60 of 102 checks passed
@harupy harupy deleted the copilot/remove-promptflow-flavor branch November 12, 2025 10:55
BenWilson2 pushed a commit to BenWilson2/mlflow that referenced this pull request Nov 14, 2025
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation issues area/models MLmodel format, model serialization/deserialization, flavors rn/breaking-change Mention under Breaking Changes in Changelogs. team-review Trigger a team review request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants