From 78dad85b64a1ca5290f751edddc237dab87ebee7 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 5 Apr 2023 16:57:15 -0400 Subject: [PATCH] Revert "python3Packages.catboost: 1.0.5 -> 1.1.1" This reverts commit 3626e3084a65c2a36ab70420d9624d3449b1556b. --- pkgs/development/python-modules/catboost/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/catboost/default.nix b/pkgs/development/python-modules/catboost/default.nix index 9c4b4d8049e9..1939b7c13a6d 100644 --- a/pkgs/development/python-modules/catboost/default.nix +++ b/pkgs/development/python-modules/catboost/default.nix @@ -5,7 +5,8 @@ buildPythonPackage rec { pname = "catboost"; - version = "1.1.1"; + # nixpkgs-update: no auto update + version = "1.0.5"; disabled = pythonOlder "3.4"; @@ -13,7 +14,7 @@ buildPythonPackage rec { owner = "catboost"; repo = "catboost"; rev = "refs/tags/v${version}"; - hash = "sha256-bqnUHTTRan/spA5y4LRt/sIUYpP3pxzdN/4wHjzgZVY="; + hash = "sha256-ILemeZUBI9jPb9G6F7QX/T1HaVhQ+g6y7YmsT6DFCJk"; }; nativeBuildInputs = [ clang_12 ]; @@ -41,6 +42,11 @@ buildPythonPackage rec { dontUseSetuptoolsCheck = true; pythonImportsCheck = [ "catboost" ]; + passthru = { + # Do not update to catboost 1.1.x because the patch doesn't apply cleanly + skipBulkUpdate = true; + }; + meta = with lib; { description = "High-performance library for gradient boosting on decision trees."; longDescription = ''