Unverified Commit 9fce08d0 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

Revert "python3Packages.smolagents: temporary fix for transformers compat" (#455676)

parents 591be394 8f64809f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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 = [