python3Packages.transformers: 4.0.1 -> 4.1.1
Pandas is added to checkInputs, because it is required for the TAPAS tokenization test. Changelog: https://github.com/huggingface/transformers/releases/tag/v4.1.1
This commit is contained in:
parent
b9140da9e2
commit
b055fd1100
1 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
, regex
|
, regex
|
||||||
, requests
|
, requests
|
||||||
, numpy
|
, numpy
|
||||||
|
, pandas
|
||||||
, parameterized
|
, parameterized
|
||||||
, protobuf
|
, protobuf
|
||||||
, sacremoses
|
, sacremoses
|
||||||
|
@ -18,14 +19,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "transformers";
|
pname = "transformers";
|
||||||
version = "4.0.1";
|
version = "4.1.1";
|
||||||
disabled = isPy39;
|
disabled = isPy39;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "huggingface";
|
owner = "huggingface";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1h53a3n6fdrx3ns1h1ip273hzd9pkm9m1qh41si75csb8mi1dq3d";
|
sha256 = "1l1gxdsakjmzsgggypq45pnwm87brhlccjfzafs43460pz0wbd6k";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -41,6 +42,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
pandas
|
||||||
parameterized
|
parameterized
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
timeout-decorator
|
timeout-decorator
|
||||||
|
|
Loading…
Reference in a new issue