Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 512637e1d09d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 25bf5520bdc0
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 7, 2020

  1. Copy the full SHA
    918d5cf View commit details

Commits on Jul 10, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c2e1c91 View commit details

Commits on Jul 11, 2020

  1. Merge pull request #92546 from danieldk/transformers-0.8.1

    python3Packages.transformers: 3.0.1 -> 3.0.2
    danieldk authored Jul 11, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    25bf552 View commit details
Showing with 6 additions and 6 deletions.
  1. +3 −3 pkgs/development/python-modules/tokenizers/default.nix
  2. +3 −3 pkgs/development/python-modules/transformers/default.nix
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/tokenizers/default.nix
Original file line number Diff line number Diff line change
@@ -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";

6 changes: 3 additions & 3 deletions pkgs/development/python-modules/transformers/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''