Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.transformers_4 0 -> 1 attrpath: python3Packages.transformers_4 Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] Going to be running update for following packages: - python3.13-transformers-4.57.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-transformers-4.57.6: UPDATING ... - python3.13-transformers-4.57.6: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/transformers/4.nix b/pkgs/development/python-modules/transformers/4.nix index 273c3d60fb75..5b0b0312cc4e 100644 --- a/pkgs/development/python-modules/transformers/4.nix +++ b/pkgs/development/python-modules/transformers/4.nix @@ -59,14 +59,14 @@ buildPythonPackage (finalAttrs: { pname = "transformers"; - version = "4.57.6"; + version = "5.3.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "transformers"; tag = "v${finalAttrs.version}"; - hash = "sha256-a78ornUAYlOpr30iFdq1oUiWQTm6GeT0iq8ras5i3DQ="; + hash = "sha256-5FzsPIG4dFTR2WgcZbdmVwwwY9Dkqu5aprl5uIIalD0="; }; build-system = [ setuptools ]; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python3Packages.transformers_4 Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . python3Packages.transformers_4 --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python3Packages.transformers_4/lib/customisation.nix:445:7: 444| // { 445| drvPath = | ^ 446| assert condition; … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python3Packages.transformers_4/lib/customisation.nix:445:7: 444| // { 445| drvPath = | ^ 446| assert condition; … in the condition of the assert statement at /var/cache/nixpkgs-update/worker/worktree/python3Packages.transformers_4/lib/customisation.nix:446:9: 445| drvPath = 446| assert condition; | ^ 447| drv.drvPath; (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'python3.13-transformers-5.3.0' in /var/cache/nixpkgs-update/worker/worktree/python3Packages.transformers_4/pkgs/development/python-modules/transformers/4.nix:198 because it is marked as broken a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix.