Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.invoke 0 -> 1 attrpath: python3Packages.invoke 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] this derivation will be built: /nix/store/d9gscmf8vkk3cl8bbqc4nbk421sks92h-packages.json.drv building '/nix/store/d9gscmf8vkk3cl8bbqc4nbk421sks92h-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - python3.14-invoke-2.2.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-invoke-2.2.1: UPDATING ... - python3.14-invoke-2.2.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/invoke/default.nix b/pkgs/development/python-modules/invoke/default.nix index 77f77a7e47ad..08da1a786961 100644 --- a/pkgs/development/python-modules/invoke/default.nix +++ b/pkgs/development/python-modules/invoke/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "invoke"; - version = "2.2.1"; + version = "3.0.3"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-UVv0m0pIkyt5sCRZA0jaIvOcSULf+ZGtH7i4uuob5wc="; + hash = "sha256-Q3tqYiIjgkOAv7TmT2EnEaa2SMeV9WXvyGJa9m+1fww="; }; postPatch = '' No auto update branch exists Old version 2.2.1" not present in staging derivation file with contents: { lib, stdenv, bash, buildPythonPackage, fetchPypi, setuptools, }: buildPythonPackage (finalAttrs: { pname = "invoke"; version = "3.0.3"; pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Q3tqYiIjgkOAv7TmT2EnEaa2SMeV9WXvyGJa9m+1fww="; }; postPatch = '' sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py ''; build-system = [ setuptools ]; # errors with vendored libs doCheck = false; pythonImportsCheck = [ "invoke" ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' mkdir -p $out/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions} $out/bin/inv --print-completion-script=zsh >$out/share/zsh/site-functions/_inv $out/bin/inv --print-completion-script=bash >$out/share/bash-completion/completions/inv.bash $out/bin/inv --print-completion-script=fish >$out/share/fish/vendor_completions.d/inv.fish ''; meta = { description = "Pythonic task execution"; changelog = "https://www.pyinvoke.org/changelog.html"; homepage = "https://www.pyinvoke.org/"; license = lib.licenses.bsd2; maintainers = [ ]; }; })