From 75ac5e48935a724fcf24bccdef37ce6d0a35c9e3 Mon Sep 17 00:00:00 2001 From: gquetel Date: Fri, 19 Jun 2026 09:15:58 +0200 Subject: [PATCH] python3Packages.torchtune: fix tests with mlflow 3.14 --- pkgs/development/python-modules/torchtune/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/torchtune/default.nix b/pkgs/development/python-modules/torchtune/default.nix index 75f169d0c78d..04e344e4195a 100644 --- a/pkgs/development/python-modules/torchtune/default.nix +++ b/pkgs/development/python-modules/torchtune/default.nix @@ -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"