Merge pull request #132294 from fabaff/bump-datasets

python3Packages.datasets: 1.8.0 -> 1.11.0
This commit is contained in:
Fabian Affolter 2021-08-02 22:49:34 +02:00 committed by GitHub
commit 5c7a7dd541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "datasets";
version = "1.8.0";
version = "1.11.0";
src = fetchFromGitHub {
owner = "huggingface";
repo = pname;
rev = version;
sha256 = "sha256-is8TS84varARWyfeDTbQH0pcYFTk0PcEyK183emB4GE=";
sha256 = "0pm14cp7xaagpf4j96v0ybi5gn3r9p0if3pc197ckwx6sw3lx29p";
};
propagatedBuildInputs = [
@ -39,12 +39,6 @@ buildPythonPackage rec {
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.
doCheck = false;