Skip to content

azureml-mlflow 1.62.0.post5 dependency constraints block required mlflow and cryptography security upgrades #48745

Description

@LoretoSanchez
  • Package Name: azureml-mlflow
  • Package Version: 1.62.0.post5
  • Operating System: Linux (Kubernetes workload)
  • Python Version: 3.11

Describe the bug

We use azureml-mlflow for remote MLflow tracking against an Azure Machine Learning Workspace from a Kubernetes workload.

The latest available version, azureml-mlflow 1.62.0.post5, currently introduces dependency constraints that prevent us from applying required security upgrades:

  • mlflow-skinny <= 3.13.0
  • cryptography < 49.0.0

Our security scanning requires:

  • mlflow >= 3.15.0
  • cryptography >= 50.0.0

Because azureml-mlflow is required for our azureml:// MLflow tracking URI, removing the package is not currently an option without changing the Azure ML tracking architecture.

To Reproduce

  1. Create a Python 3.11 environment.
  2. Install or declare azureml-mlflow==1.62.0.post5.
  3. Attempt to resolve the environment with mlflow>=3.15.0.
  4. Attempt to resolve the environment with cryptography>=50.0.0.
  5. The dependency resolver cannot satisfy these requirements together with the constraints introduced by azureml-mlflow.

Expected behavior

There should be a supported version of azureml-mlflow that is compatible with current secure versions of MLflow and its dependencies, or documented guidance for customers who need to remediate these dependency vulnerabilities while continuing to use an Azure Machine Learning Workspace as the remote MLflow tracking backend.

Screenshots

N/A

Additional context

Our application already uses Azure Machine Learning SDK v2 (azure-ai-ml / MLClient) to access the workspace.

MLflow is used for experiment tracking, metrics, parameters, artifacts, and model registry operations against the Azure ML Workspace.

According to the current Azure ML documentation, azureml-mlflow is still required when configuring remote MLflow tracking against an Azure Machine Learning Workspace from compute outside Azure ML.

Could you please confirm:

  1. Whether a new azureml-mlflow release is planned that relaxes these dependency constraints.
  2. Whether there is a currently supported alternative that allows us to keep Azure ML Workspace as the MLflow tracking backend while upgrading MLflow.
  3. What the recommended remediation path is for customers blocked from security upgrades by these constraints.

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Machine LearningService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions