Skip to content

fix(batch-pipelines): pin mlflow version for azureml-mlflow compatibi…#3801

Open
trimicrosoft wants to merge 1 commit intomainfrom
tritruong/notebooks-failure-investigate
Open

fix(batch-pipelines): pin mlflow version for azureml-mlflow compatibi…#3801
trimicrosoft wants to merge 1 commit intomainfrom
tritruong/notebooks-failure-investigate

Conversation

@trimicrosoft
Copy link
Copy Markdown
Contributor

@trimicrosoft trimicrosoft commented Mar 11, 2026

…lity

Pin mlflow==2.8.1 to ensure the azureml-mlflow plugin correctly registers the azureml:// URI scheme on Python 3.8.5. The unpinned mlflow resolved to an incompatible version, causing UnsupportedModelRegistryStoreURIException in prepare.py.

Also fix jobtools -> joblib typo in both conda.yml files.

Description

Checklist

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

@trimicrosoft trimicrosoft force-pushed the tritruong/notebooks-failure-investigate branch 5 times, most recently from 3e2c08a to cde7b7d Compare March 16, 2026 20:43
…lity

Update conda environments in both batch pipeline examples to fix
UnsupportedModelRegistryStoreURIException caused by azureml-mlflow
not registering the azureml:// URI scheme plugin on Python 3.8.

Changes:
- Upgrade Python from 3.8.5 (EOL) to 3.10 for Ubuntu 22.04 compat
- Unpin mlflow to let azureml-mlflow pull compatible version
- Fix jobtools -> joblib typo (prepare.py imports joblib)
- Remove outdated pins on cloudpickle, dask, and pandas
- Keep scikit-learn==1.1.2 pinned for ColumnTransformer pickle compat

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@trimicrosoft trimicrosoft force-pushed the tritruong/notebooks-failure-investigate branch from cde7b7d to ecf3d52 Compare March 16, 2026 21:29
- jobtools
- cloudpickle==1.6.0
- dask==2.30.0
- scikit-learn==1.1.2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

upgrade to address CVE-2024-5206

- datasets
- jobtools
- cloudpickle==1.6.0
- dask==2.30.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

upgrade to address CVE-2021-42343

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.

2 participants