Merge pull request #92546 from danieldk/transformers-0.8.1

python3Packages.transformers: 3.0.1 -> 3.0.2
This commit is contained in:
Daniël de Kok 2020-07-11 16:50:55 +02:00 committed by GitHub
commit 25bf5520bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -32,16 +32,16 @@ let
};
in rustPlatform.buildRustPackage rec {
pname = "tokenizers";
version = "0.8.0";
version = "0.8.1.rc1";
src = fetchFromGitHub {
owner = "huggingface";
repo = pname;
rev = "python-v${version}";
sha256 = "0f5r1wm5ybyk3jvihj1g98y7ihq0iklg0pwkaa11pk1gv0k869w3";
sha256 = "1bzvfffnjjskx8zlq1qsqfd47570my2wnbq4ip8i1hkz10q900qv";
};
cargoSha256 = "131bvf35q5n65mq6zws1rp5fn2qkfwfg9sbxi5y6if24n8fpdz4m";
cargoSha256 = "0s5z3g1njb7wlyb32ba6xas4zc62c3zhmp1mrvghmaxpvljp6k7b";
sourceRoot = "source/bindings/python";

View File

@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "transformers";
version = "3.0.1";
version = "3.0.2";
src = fetchFromGitHub {
owner = "huggingface";
repo = pname;
rev = "v${version}";
sha256 = "1l8l82zi021sq5dnzlbjx3wx0n4yy7k96n3m2fr893y9lfkhhd8z";
sha256 = "0rdlikh2qilwd0s9f3zif51p1q7sp3amxaccqic8p5qm6dqpfpz6";
};
propagatedBuildInputs = [
@ -44,7 +44,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "tokenizers == 0.8.0-rc4" "tokenizers>=0.8,<0.9"
--replace "tokenizers == 0.8.1.rc1" "tokenizers>=0.8"
'';
preCheck = ''