From 8f64809f5615b2f914c4cf768447512b0567dfbe Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 25 Oct 2025 20:44:31 -0400 Subject: [PATCH] Revert "python3Packages.smolagents: temporary fix for transformers compat" No longer needed. This reverts commit e362bff9a3541b66413594874135d3cb720f0e59. --- pkgs/development/python-modules/smolagents/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/development/python-modules/smolagents/default.nix b/pkgs/development/python-modules/smolagents/default.nix index 86e6a46ea26a..651f53a55a50 100644 --- a/pkgs/development/python-modules/smolagents/default.nix +++ b/pkgs/development/python-modules/smolagents/default.nix @@ -62,15 +62,6 @@ buildPythonPackage rec { hash = "sha256-X9tJfNxF2icULyma0dWIQEllY9oKaCB+MQ4JJTdzhz4="; }; - # TODO: remove at the next release - # ImportError: cannot import name 'require_soundfile' from 'transformers.testing_utils' - # Caused by: https://github.com/huggingface/transformers/commit/1ecd52e50a31e7c344c32564e0484d7e9a0f2256 - # Fixed in: https://github.com/huggingface/smolagents/pull/1625 - postPatch = '' - substituteInPlace tests/test_types.py \ - --replace-fail "require_soundfile" "require_torchcodec" - ''; - build-system = [ setuptools ]; dependencies = [