python3Packages.datasets: 1.8.0 -> 1.11.0

This commit is contained in:
Fabian Affolter 2021-08-01 12:31:17 +02:00
parent 8a0739ba6d
commit 2d3fb59dbf

View file

@ -16,13 +16,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "datasets"; pname = "datasets";
version = "1.8.0"; version = "1.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "huggingface"; owner = "huggingface";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-is8TS84varARWyfeDTbQH0pcYFTk0PcEyK183emB4GE="; sha256 = "0pm14cp7xaagpf4j96v0ybi5gn3r9p0if3pc197ckwx6sw3lx29p";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -39,12 +39,6 @@ buildPythonPackage rec {
xxhash xxhash
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace '"tqdm>=4.27,<4.50.0"' '"tqdm>=4.27"' \
--replace "huggingface_hub==0.0.2" "huggingface_hub>=0.0.2"
'';
# Tests require pervasive internet access. # Tests require pervasive internet access.
doCheck = false; doCheck = false;