Commit bad58b9e authored by Sebastien Iooss's avatar Sebastien Iooss
Browse files

python3Packages.datasets: 2.6.1 -> 2.9.0

parent 63b59558
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@

buildPythonPackage rec {
  pname = "datasets";
  version = "2.6.1";
  version = "2.9.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";
@@ -30,17 +30,9 @@ buildPythonPackage rec {
    owner = "huggingface";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-5j8HT/DzHH8xssv97g/9kpSgtpaY6daWOGwjasD1psg=";
    hash = "sha256-A6rrChzHHd7vS1KWlF/EZEjp1CEE0mNn4AlMdSYLD/I=";
  };

  patches = [
    (fetchpatch {
      # Backport support for dill<3.7
      url = "https://github.com/huggingface/datasets/pull/5166.patch";
      hash = "sha256-QigpXKHi2B60M/iIWSqvBU9hW5vBu6IHGML22aCMevo=";
    })
  ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace "responses<0.19" "responses"