python310Packages.rapidfuzz 0 -> 1 attrpath: python310Packages.rapidfuzz Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/fzqgybdsnl8j66nasicbh7hrfzw9c7pg-packages.json.drv building '/nix/store/fzqgybdsnl8j66nasicbh7hrfzw9c7pg-packages.json.drv'... Going to be running update for following packages: - python3.10-rapidfuzz-3.5.2 Press Enter key to continue... Running update for: - python3.10-rapidfuzz-3.5.2: UPDATING ... - python3.10-rapidfuzz-3.5.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix index 6bde7864d2af..e0f08e24d06a 100644 --- a/pkgs/development/python-modules/rapidfuzz/default.nix +++ b/pkgs/development/python-modules/rapidfuzz/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "rapidfuzz"; - version = "3.5.2"; + version = "3.6.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "maxbachmann"; repo = "RapidFuzz"; rev = "refs/tags/v${version}"; - hash = "sha256-D7Z0xKqAJAPKSAEK+3Mpz/LaEKqKYczp+m6SqfzufwA="; + hash = "sha256-QJVRT+d/IIGxkWfSNoXFSmbW017+8CTKuWD4W+TzvBs="; }; nativeBuildInputs = [ No auto update branch exists Old version 3.5.2" not present in staging derivation file with contents: { lib , stdenv , buildPythonPackage , pythonOlder , fetchFromGitHub , cmake , cython_3 , ninja , scikit-build , setuptools , numpy , hypothesis , pandas , pytestCheckHook , rapidfuzz-cpp , taskflow }: buildPythonPackage rec { pname = "rapidfuzz"; version = "3.6.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "maxbachmann"; repo = "RapidFuzz"; rev = "refs/tags/v${version}"; hash = "sha256-OO8ztnildJ8nmI1crGW4FfA8uKVo7MZPlDguEatOzyA="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "Cython==3.0.3" "Cython" ''; nativeBuildInputs = [ cmake cython_3 ninja scikit-build setuptools ]; dontUseCmakeConfigure = true; buildInputs = [ rapidfuzz-cpp taskflow ]; preBuild = '' export RAPIDFUZZ_BUILD_EXTENSION=1 '' + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' export CMAKE_ARGS="-DCMAKE_CXX_COMPILER_AR=$AR -DCMAKE_CXX_COMPILER_RANLIB=$RANLIB" ''; env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.cc.isClang && stdenv.isDarwin) [ "-fno-lto" # work around https://github.com/NixOS/nixpkgs/issues/19098 ]); passthru.optional-dependencies = { full = [ numpy ]; }; preCheck = '' export RAPIDFUZZ_IMPLEMENTATION=cpp ''; nativeCheckInputs = [ hypothesis pandas pytestCheckHook ]; disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ # segfaults "test_cdist" ]; pythonImportsCheck = [ "rapidfuzz.distance" "rapidfuzz.fuzz" "rapidfuzz.process" "rapidfuzz.utils" ]; meta = with lib; { description = "Rapid fuzzy string matching"; homepage = "https://github.com/maxbachmann/RapidFuzz"; changelog = "https://github.com/maxbachmann/RapidFuzz/blob/${src.rev}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; }