From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 17 11:02:44 2024 Received: (at submit) by debbugs.gnu.org; 17 Jan 2024 16:02:44 +0000 Received: from localhost ([127.0.0.1]:53089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQ8NH-0005Pw-U0 for submit@debbugs.gnu.org; Wed, 17 Jan 2024 11:02:44 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQ8NF-0005PZ-1h for submit@debbugs.gnu.org; Wed, 17 Jan 2024 11:02:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQ8N3-0001J6-2x for guix-patches@gnu.org; Wed, 17 Jan 2024 11:02:32 -0500 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQ8N0-0007pY-Io for guix-patches@gnu.org; Wed, 17 Jan 2024 11:02:28 -0500 Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-68009cb4669so59311866d6.1 for ; Wed, 17 Jan 2024 08:02:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1705507344; x=1706112144; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=25JydqUxVdFvYrG1vy5Mjw8iPzO1sD4Nb8WSQBRe6tI=; b=i407MZdlUPsfzCL8InB53rXs0xmOBK4ob31ZDSp/oiwCuJlyb0xLlmvUQjN2TfkrjG ZVyVa+3YLNjNHd0YwURdY7zI/DhGB/LD5QMqAgav28/PD/9qUr8vBFc2Cix14pLWLwTY ZIJ352XblHZcuYSB4bF8Mn+SHx9XvDTEErOXfAGDdyLyTWZjByPBshe3wP0JUx2YR3HP thcLyYmgT2mQOd9PD+A9dbnfNJFGBg29dg2YgYeTiqeSMxN1qSaLxEmMDW5k6xDv+u5x h4kqW5QhNQHRY/bKh66ykykjHQc+PHN13MDt92Qvxu/cjH7+PxIFkI0Mr1rgWPY0prn3 ZnAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705507344; x=1706112144; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=25JydqUxVdFvYrG1vy5Mjw8iPzO1sD4Nb8WSQBRe6tI=; b=CNO9Qkj6ShM0ybnkSe79VhSYbgM5KBeQj9mcVBWZNTsi8vxWspocW84oj4z04j5R8l txIl/94KaeF1IWk8v00/L8KYFcXLO/eUKgINq8qa60ZRMjqHivpGr7QtHzxbwL/6aqax L9UfiDEtocMErvrlucNKfQiyzWTCwjGE3LT30dnxOA/fxm6VyeEOLLUGRwUJhgJOnZVr 2YPNiMLwYjxVSljm5DubpcgaTzNE5/SXgMv2+zcIn/dFP6xPWSBC6qy50LB4eZdUAaUj Sqv5n1kU9FsBzDnIQP1T7q40uIkKP2TdZ907uQtcFlAxWtBUFmnTWxKLWZWEtujWerOv zkOg== X-Gm-Message-State: AOJu0YyOPc6BJc30FYVVONCxNrSIPyYwskoYMw3RMc4didIaV253D+zM u5IMQBrZuSA8ribnnqlNTw0M8a7Oq3nqaF83wNsPHHGanTI= X-Google-Smtp-Source: AGHT+IFhnhdZFeNOeYjZYcABhjINl7d65TV0ZSH2lhAaHdkqXcUaT6SxiVXBP5czaSoTzPf0q0xRtg== X-Received: by 2002:a05:6214:f0d:b0:681:3157:3cbf with SMTP id gw13-20020a0562140f0d00b0068131573cbfmr12048939qvb.46.1705507344245; Wed, 17 Jan 2024 08:02:24 -0800 (PST) Received: from ip-172-31-16-52.us-east-2.compute.internal (ec2-3-141-183-131.us-east-2.compute.amazonaws.com. [3.141.183.131]) by smtp.gmail.com with ESMTPSA id l10-20020a0ce84a000000b0068174a6a87bsm1187248qvo.109.2024.01.17.08.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 08:02:23 -0800 (PST) From: Greg Hogan To: guix-patches@gnu.org Subject: [PATCH] gnu: python-scikit-learn-extra: Update to 0.3.0-0f95d8d. Date: Wed, 17 Jan 2024 16:02:19 +0000 Message-Id: <20240117160219.13336-1-code@greghogan.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::f31; envelope-from=code@greghogan.com; helo=mail-qv1-xf31.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: Greg Hogan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Includes patch from upstream to fix test error building against recently updated sklearn to 1.3 as described in https://github.com/scikit-learn-contrib/scikit-learn-extra/issues/171 * gnu/packages/machine-learning.scm (python-scikit-learn-extra): Update to 0.3.0-0f95d8d. Change-Id: Ie5137497484dc18f3815bddb2299bcbd4e11b1e9 --- gnu/packages/machine-learning.scm | 88 ++++++++++++++++--------------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 1540018347..5b0445a6b9 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1670,52 +1670,54 @@ (define-public python-scikit-learn (license license:bsd-3))) (define-public python-scikit-learn-extra - (package - (name "python-scikit-learn-extra") - (version "0.3.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/scikit-learn-contrib/scikit-learn-extra") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0yy6ka94ss88f3r7b6mpjf1l8lnv7aabhsg844pigfj8lfiv0wvl")))) - (build-system pyproject-build-system) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-after 'build 'build-ext - (lambda _ - (invoke "python" "setup.py" "build_ext" - "--inplace"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; Restrict OpenBLAS threads to prevent segfaults while testing! - (setenv "OPENBLAS_NUM_THREADS" "1") - - ;; Some tests require write access to $HOME. - (setenv "HOME" "/tmp") - - ;; Step out of the source directory to avoid interference; - ;; we want to run the installed code with extensions etc. - (with-directory-excursion "/tmp" - (invoke "pytest" "-vv" "--pyargs" - "sklearn_extra" - ;; ignore tests that require network - "-k" "not test_build")))))))) - (propagated-inputs (list python-numpy python-scikit-learn python-scipy)) - (native-inputs (list python-pytest python-pytest-cov python-cython)) - (home-page "https://github.com/scikit-learn-contrib/scikit-learn-extra") - (synopsis "Set of tools for scikit-learn") - (description - "This package provides a Python module for machine learning that extends + (let* ((commit "0f95d8dda4c69f9de4fb002366041adcb1302f3b") + (revision "0")) + (package + (name "python-scikit-learn-extra") + (version (git-version "0.3.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/scikit-learn-contrib/scikit-learn-extra") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a248sff1psfwzmngj465gzyisq20d83nzpwpq2cspxhih51m6j9")))) + (build-system pyproject-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-ext + (lambda _ + (invoke "python" "setup.py" "build_ext" + "--inplace"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Restrict OpenBLAS threads to prevent segfaults while testing! + (setenv "OPENBLAS_NUM_THREADS" "1") + + ;; Some tests require write access to $HOME. + (setenv "HOME" "/tmp") + + ;; Step out of the source directory to avoid interference; + ;; we want to run the installed code with extensions etc. + (with-directory-excursion "/tmp" + (invoke "pytest" "-vv" "--pyargs" + "sklearn_extra" + ;; ignore tests that require network + "-k" "not test_build")))))))) + (propagated-inputs (list python-numpy python-scikit-learn python-scipy)) + (native-inputs (list python-pytest python-pytest-cov python-cython)) + (home-page "https://github.com/scikit-learn-contrib/scikit-learn-extra") + (synopsis "Set of tools for scikit-learn") + (description + "This package provides a Python module for machine learning that extends scikit-learn. It includes algorithms that are useful but do not satisfy the scikit-learn inclusion criteria, for instance due to their novelty or lower citation number.") - (license license:bsd-3))) + (license license:bsd-3)))) (define-public python-thinc (package base-commit: 604ff7e28eead3ae8bd5e27136565e619a89e744 -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 24 09:59:40 2024 Received: (at 68533-done) by debbugs.gnu.org; 24 Jan 2024 14:59:40 +0000 Received: from localhost ([127.0.0.1]:46256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSej6-00029c-6G for submit@debbugs.gnu.org; Wed, 24 Jan 2024 09:59:40 -0500 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:48337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSej4-00029M-9I for 68533-done@debbugs.gnu.org; Wed, 24 Jan 2024 09:59:38 -0500 Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-6dde5d308c6so3180245a34.0 for <68533-done@debbugs.gnu.org>; Wed, 24 Jan 2024 06:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1706108367; x=1706713167; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=73OwFL+3l02L/3rpknDleVfrhOCIDjKMQ3qhzjqbmSU=; b=tuMCTrF3mTqiMO5fpb9MKL2LnSlHt/bF+QQrZQTV4nbmFRdnJUpUN8M9SuxF1oOv4m 5qYQJVC/yzD/Z007KnDie8hkrNddAbCDkldHoMQKuv09tNAwB3gMS6ktWWvvRjxCMUxs qNX5niDYFF6WqPXkazg3gofZ5Ksmwx3fAijeZ5DchTbkINWXBr68fhnS0RpcZpcv26lA gRSd8Cvu0WtfuGVltiJywHiV9WJhpSXbz+t5YNkbmM1RayPGoKVZntTUK5Gcb17Hz8br Or0pJLJtJzilhzQnPLRJWneRHdI9q2uRU1eilApWCNgFp4sdW40mYSrvQdJeXyvYANtv BlbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706108367; x=1706713167; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=73OwFL+3l02L/3rpknDleVfrhOCIDjKMQ3qhzjqbmSU=; b=EPdWglUfVwmStqW99izelROFQRhHVBfOaFIuZlsXPD9VmZDBAystyUOOhV0mwCo1H3 zmgVnYHL+m6cuc+Eg3GJC7j7z+ek/c6mTrFeTzFuBuCq8M71LURqztI5YoFkOIZyJYQ1 She1srr/UXPcLNmCudOB/RkNQtlTmIiAK8lbbNYAOljv0cqc6R5vhMJFpIhRgL1OiMBM TyqOmLLHizr4OEuns/Xde89hwUJo3/gF3jTITDxn5IpGe83rvyH9KqH2G9/eusTV2r9B avjoFl8v0Nk9ofx1gufKQE8CV2C2x/Z3B8PPjk7PqzADhvwsmY6ywqbUA4xb+yEZypy+ k+yA== X-Gm-Message-State: AOJu0Yzj9x55V1E+d7dXxss6y1iHbqLi62m5HHAMB9FRswKAiidu7TaM EtillNtEC0B5ld2EC/8ShkwV0gEd4fMoajreIflm6C51nj/EmkDHoTUpls4qky8PnezJqyw/hsa GKtLmWzbtyLlB54w/+Ho+SSpavEbZCdA322MMjnGfSndJchyqN1s7YA== X-Google-Smtp-Source: AGHT+IFF3Wu2Oq7XO1ikRig2m6yWXvG7ecdhwsekWqGDXIQCOYcylVn6FyNOhlLSdmjfagX4AU12YbHBpblHGKo3zsA= X-Received: by 2002:a05:6870:3288:b0:205:fdd4:f2de with SMTP id q8-20020a056870328800b00205fdd4f2demr2982565oac.37.1706108366962; Wed, 24 Jan 2024 06:59:26 -0800 (PST) MIME-Version: 1.0 References: <20240117160219.13336-1-code@greghogan.com> In-Reply-To: <20240117160219.13336-1-code@greghogan.com> From: Greg Hogan Date: Wed, 24 Jan 2024 09:59:16 -0500 Message-ID: Subject: Re: [PATCH] gnu: python-scikit-learn-extra: Update to 0.3.0-0f95d8d. To: 68533-done@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68533-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fixed in 6a22f65d661d65491bab2fc45da8ed6d6414f5ff From unknown Thu Jun 19 14:02:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Feb 2024 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator