Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.pystemmer 0 -> 1 attrpath: python3Packages.pystemmer 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/m8k2j7mmlfaa44nphazdbc07wci16xbz-packages.json.drv building '/nix/store/m8k2j7mmlfaa44nphazdbc07wci16xbz-packages.json.drv'... Going to be running update for following packages: - python3.14-pystemmer-3.0.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-pystemmer-3.0.0: UPDATING ... - python3.14-pystemmer-3.0.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pystemmer/default.nix b/pkgs/development/python-modules/pystemmer/default.nix index 8e589b2a48ed..033087055d75 100644 --- a/pkgs/development/python-modules/pystemmer/default.nix +++ b/pkgs/development/python-modules/pystemmer/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pystemmer"; - version = "3.0.0"; + version = "3.1.0"; format = "setuptools"; pyproejct = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "snowballstem"; repo = "pystemmer"; tag = "v${version}"; - hash = "sha256-c3ucbneUo5UBfdrd5Ktl4HriVusvWBEA1brrgahEQ9A="; + hash = "sha256-GPPl6ioB9sB2y8G2hYfu2ksR+D9xNJjK6glMADLnr7M="; }; build-system = [ No auto update branch exists Old version 3.0.0" not present in staging derivation file with contents: { lib, python, fetchFromGitHub, fetchpatch2, buildPythonPackage, cython, setuptools, libstemmer, }: buildPythonPackage (finalAttrs: { pname = "pystemmer"; version = "3.1.0"; pyproject = true; src = fetchFromGitHub { owner = "snowballstem"; repo = "pystemmer"; tag = "v${finalAttrs.version}"; hash = "sha256-GPPl6ioB9sB2y8G2hYfu2ksR+D9xNJjK6glMADLnr7M="; }; patches = [ # These 2 patches should be removed on the next version bump after 3.1.0 (fetchpatch2 { name = "libstemmer-3.1-algorithms.patch"; url = "https://github.com/snowballstem/pystemmer/commit/301c074791708ab2c479808b410480c34183cd9a.patch?full_index=1"; hash = "sha256-830nep2gjlVuVaepsHIkzL/U4fejwK0jH+WujLrOfUs="; }) (fetchpatch2 { name = "dont-hard-code-algorithms-doctest.patch"; url = "https://github.com/snowballstem/pystemmer/commit/77ee7b34fdcd61c78146ae4c6e536a63755db0e6.patch?full_index=1"; hash = "sha256-eEfNFpD6T+prokVnpAOx4rABCPS5YXdbG3xKdJzb48M="; }) ]; build-system = [ cython setuptools ]; postConfigure = '' export PYSTEMMER_SYSTEM_LIBSTEMMER="${lib.getDev libstemmer}/include" ''; env = { NIX_CFLAGS_COMPILE = toString [ "-I${lib.getDev libstemmer}/include" ]; NIX_CFLAGS_LINK = toString [ "-L${libstemmer}/lib" ]; }; pythonImportsCheck = [ "Stemmer" ]; checkPhase = '' runHook preCheck ${python.interpreter} runtests.py runHook postCheck ''; __structuredAttrs = true; meta = { description = "Snowball stemming algorithms, for information retrieval"; homepage = "https://github.com/snowballstem/pystemmer"; license = with lib.licenses; [ bsd3 mit ]; platforms = lib.platforms.unix; }; })