python3Packages.datasets: 1.1.2 -> 1.4.1
Changelogs: https://github.com/huggingface/datasets/releases/tag/1.3.0 https://github.com/huggingface/datasets/releases/tag/1.4.0 https://github.com/huggingface/datasets/releases/tag/1.4.1
This commit is contained in:
parent
7ceb2fb023
commit
7692044abd
1 changed files with 9 additions and 3 deletions
|
@ -3,6 +3,8 @@
|
|||
, fetchFromGitHub
|
||||
, dill
|
||||
, filelock
|
||||
, fsspec
|
||||
, huggingface-hub
|
||||
, multiprocess
|
||||
, numpy
|
||||
, pandas
|
||||
|
@ -14,18 +16,20 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "datasets";
|
||||
version = "1.1.2";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-upXZ2rOfmjnJbDo6RMGeHv/fe10RQAf/zwDWWKdt6SA=";
|
||||
hash = "sha256-is8TS84varARWyfeDTbQH0pcYFTk0PcEyK183emB4GE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dill
|
||||
filelock
|
||||
fsspec
|
||||
huggingface-hub
|
||||
multiprocess
|
||||
numpy
|
||||
pandas
|
||||
|
@ -36,7 +40,9 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"tqdm>=4.27,<4.50.0"' '"tqdm>=4.27"'
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue