Commit 488f5080 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.minio: fix test on Python 3.12

parent 99c1fe49
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@ buildPythonPackage rec {
    hash = "sha256-hZn1T75JbnJ5lIyWnX3f8r6OET/d6ZltuRr6jjYOp2o=";
  };

  postPatch = ''
    substituteInPlace tests/unit/crypto_test.py \
      --replace-fail "assertEquals" "assertEqual"
  '';

  nativeBuildInputs = [
    setuptools
  ];