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:
Daniël de Kok 2020-12-21 11:35:54 +01:00 committed by Jonathan Ringer
parent b9140da9e2
commit b055fd1100

View file

@ -7,6 +7,7 @@
, regex
, requests
, numpy
, pandas
, parameterized
, protobuf
, sacremoses
@ -18,14 +19,14 @@
buildPythonPackage rec {
pname = "transformers";
version = "4.0.1";
version = "4.1.1";
disabled = isPy39;
src = fetchFromGitHub {
owner = "huggingface";
repo = pname;
rev = "v${version}";
sha256 = "1h53a3n6fdrx3ns1h1ip273hzd9pkm9m1qh41si75csb8mi1dq3d";
sha256 = "1l1gxdsakjmzsgggypq45pnwm87brhlccjfzafs43460pz0wbd6k";
};
propagatedBuildInputs = [
@ -41,6 +42,7 @@ buildPythonPackage rec {
];
checkInputs = [
pandas
parameterized
pytestCheckHook
timeout-decorator