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
|
, fetchFromGitHub
|
||||||
, dill
|
, dill
|
||||||
, filelock
|
, filelock
|
||||||
|
, fsspec
|
||||||
|
, huggingface-hub
|
||||||
, multiprocess
|
, multiprocess
|
||||||
, numpy
|
, numpy
|
||||||
, pandas
|
, pandas
|
||||||
|
@ -14,18 +16,20 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datasets";
|
pname = "datasets";
|
||||||
version = "1.1.2";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "huggingface";
|
owner = "huggingface";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-upXZ2rOfmjnJbDo6RMGeHv/fe10RQAf/zwDWWKdt6SA=";
|
hash = "sha256-is8TS84varARWyfeDTbQH0pcYFTk0PcEyK183emB4GE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
dill
|
dill
|
||||||
filelock
|
filelock
|
||||||
|
fsspec
|
||||||
|
huggingface-hub
|
||||||
multiprocess
|
multiprocess
|
||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
|
@ -36,7 +40,9 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
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.
|
# Tests require pervasive internet access.
|
||||||
|
|
Loading…
Reference in a new issue