python3Packages.mlflow: 3.12.0 -> 3.14.0 (#532943)

This commit is contained in:
Gaétan Lepage
2026-06-25 19:36:02 +00:00
committed by GitHub
6 changed files with 14 additions and 5 deletions
@@ -40,7 +40,7 @@ buildPythonPackage (finalAttrs: {
owner = "mlflow";
repo = "mlflow";
rev = "v${finalAttrs.version}";
hash = "sha256-OxhM+KCem0sb9cwtyzrUD/MGfoiiCfgU47qipYRDaFk=";
hash = "sha256-e11ZncpvThb1Nt6OH+O6Do74N3dphxBiK/HIeLQMxAw=";
};
sourceRoot = "${finalAttrs.src.name}/libs/skinny";
@@ -27,7 +27,7 @@ buildPythonPackage (finalAttrs: {
owner = "mlflow";
repo = "mlflow";
rev = "v${finalAttrs.version}";
hash = "sha256-OxhM+KCem0sb9cwtyzrUD/MGfoiiCfgU47qipYRDaFk=";
hash = "sha256-e11ZncpvThb1Nt6OH+O6Do74N3dphxBiK/HIeLQMxAw=";
};
sourceRoot = "${finalAttrs.src.name}/libs/tracing";
@@ -27,7 +27,7 @@
buildPythonPackage (finalAttrs: {
pname = "mlflow";
version = "3.12.0";
version = "3.14.0";
format = "wheel";
__structuredAttrs = true;
@@ -39,7 +39,7 @@ buildPythonPackage (finalAttrs: {
format = "wheel";
dist = "py3";
python = "py3";
hash = "sha256-4cKO1MSFV8xSx2bxfxylgmdT3fJB1D8w+ZxF9+prPOA=";
hash = "sha256-2/d/fNtbXA7Fm0ZxxhcwsbkUtN/3ookuJnpUfLVFT1Y=";
};
# Nix-wrapped python populates sys.path via NIX_PYTHONPATH/site hooks,
@@ -1,6 +1,6 @@
--- a/mlflow/server/__init__.py
+++ b/mlflow/server/__init__.py
@@ -471,6 +471,11 @@
@@ -474,6 +474,11 @@
else tempfile.mkdtemp()
)
+ # In Nix-packaged environments sys.path is populated by wrappers but
@@ -109,6 +109,11 @@ buildPythonPackage (finalAttrs: {
'';
disabledTestPaths = [
# MlflowVisBackend uses the deprecated mlflow filesystem store, which is
# throws an error since mlflow 3.13. See upstream issue:
# https://github.com/open-mmlab/mmengine/issues/1687
"tests/test_visualizer/test_vis_backend.py::TestMLflowVisBackend"
# Require unpackaged aim
"tests/test_visualizer/test_vis_backend.py::TestAimVisBackend"
@@ -133,6 +133,10 @@ buildPythonPackage (finalAttrs: {
];
disabledTestPaths = [
# MLFlowLogger uses the deprecated mlflow filesystem store, which throws an
# error since mlflow 3.13. See https://github.com/NixOS/nixpkgs/pull/532943
"tests/torchtune/training/test_metric_logging.py::TestMLFlowLogger"
# TypeError: HfHubHTTPError.__init__() missing 1 required keyword-only argument: 'response'
"tests/torchtune/_cli/test_download.py::TestTuneDownloadCommand::test_download_calls_snapshot"
"tests/torchtune/_cli/test_download.py::TestTuneDownloadCommand::test_gated_repo_error_no_token"