From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2K9QE606l2OO4AAAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 15:29:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eGBREq06l2N92QAAG6o9tA (envelope-from ) for ; Mon, 12 Dec 2022 15:29:01 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB4CA3911F for ; Mon, 12 Dec 2022 15:29:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4jmw-0005jP-Uy; Mon, 12 Dec 2022 09:28:14 -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 1p4jml-0005TP-Gc for guix-patches@gnu.org; Mon, 12 Dec 2022 09:28:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4jml-0006Cj-8y for guix-patches@gnu.org; Mon, 12 Dec 2022 09:28:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4jml-0007UW-2f for guix-patches@gnu.org; Mon, 12 Dec 2022 09:28:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60009] [PATCH 02/18] gnu: python-hyperopt: Update to 0.2.7. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Dec 2022 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60009 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 60009@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 60009-submit@debbugs.gnu.org id=B60009.167085525128653 (code B ref 60009); Mon, 12 Dec 2022 14:28:02 +0000 Received: (at 60009) by debbugs.gnu.org; 12 Dec 2022 14:27:31 +0000 Received: from localhost ([127.0.0.1]:53262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4jmE-0007S5-MT for submit@debbugs.gnu.org; Mon, 12 Dec 2022 09:27:31 -0500 Received: from sender3-of-o57.zoho.com ([136.143.184.57]:21736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4jmD-0007Rs-3v for 60009@debbugs.gnu.org; Mon, 12 Dec 2022 09:27:29 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1670855246; cv=none; d=zohomail.com; s=zohoarc; b=Edp0D38R4IW3mA0aKkFBBsKseV5O7a021maiNEF9bXSDkfL0vE8Whlhtz0yRJ5WjX0S2d2HSI/OmT0DvPIav6uWMwqpN7SE9yA56vnqJg34j9zsGKlljMa7s/c9EUUsisUjGqYlkKDGtZ6r5JPJs+Y1Di/PPXlxnQTH2pXqq4HM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670855246; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=KWmVAVCjSRVQaXzflRd6IXdJBNoQFS3pft6odi6wybA=; b=Wqh7H0EPh+1lFtVQrTTKR/b1VYq8di6k+IUw9cDme6isG7DjYzE4aO4fo4kkkrxyXD4Rb5MwNsXQrhZik7DhdAQcI0DCn2qj4TMDEyJFVfCX/FoiTp9Lao6U1aGyCiAq/cC9gMoWCRQFzVVk75Cl59Tk9XP9dsJFJkzWldfO23w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1670855246; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=KWmVAVCjSRVQaXzflRd6IXdJBNoQFS3pft6odi6wybA=; b=G4Go2qX4fc12Gf0maE+TCa0v22aq40AO1HpBkG6p2fi4vYxY+bXrEA4rzCWyeeAS 6VCh0Wg6WMX+e6SqHS0+IG6d0Vo1zWmeVuw7aRabDWLYKNkqiRkAuhNdJ5vjMyL48Dg bgzeHSeVrD/a73NTcttjJT+PLzxijy8YdKbtxC68= Received: from localhost (48-111-142-46.pool.kielnet.net [46.142.111.48]) by mx.zohomail.com with SMTPS id 1670855243841677.1003526184394; Mon, 12 Dec 2022 06:27:23 -0800 (PST) From: Ricardo Wurmus Date: Mon, 12 Dec 2022 15:27:00 +0100 Message-Id: <20221212142716.9460-2-rekado@elephly.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221212142716.9460-1-rekado@elephly.net> References: <87h6y03dkr.fsf@elephly.net> <20221212142716.9460-1-rekado@elephly.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670855341; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KWmVAVCjSRVQaXzflRd6IXdJBNoQFS3pft6odi6wybA=; b=RQFzuX/HmvoWONblEd2VVPqDtiUbXGmQ7Uter4RWn+imGlT5h++BFh2aLBfGC1yMcE9wA5 GjHcWunevNtq0iVA0WJ3bU+RZWVtfk3qzRVpg7dL0TZwylhVsNAa0po+ykoFHSt/ntJpEQ sfUmKWMepvaK1vWiUKf/Lffh8FqQl6mEWh8HFdV+VcfHlUajE6sc8sFkK9qadwiEDITt88 ewsMnLu7OHw6BsN86dqwoDwrGN0YASKct9cUODMzMdHZnJOOYSuPR9kKnmWiaggho3iAYQ 5rnJIUz5PENNy+ZkR8mJHCKq0Vx90mCJPqxKKw7fqmZfmLQta2/GAWUGYvZQhw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=G4Go2qX4; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670855341; a=rsa-sha256; cv=fail; b=tOi7phRYiupnD5ZxI8rQ3vYYt6YroHKvmOixOvk/B9N/sIduv0XD1UDGWH2/3gDAnHk6QD bxEdP5HnngPBpBcxUlQjGwWXIn26ys/0Hlkpm0ezdU56K2ghwwYEtBGkaDOV/OAuG6MIVU dmxrqVN805d7VIs9LYgFS39V92Qb22QhrEh9FjU0trNrLfZABlaDj2O4V1suJlhb3L9GGt u1ErAB9dhkSmQ6UtubyMG8eMbo3oNOcGCBj5bhkDkCt/jxFFZF1uBhAYfSoQy+PE46az82 e4MT5OFL9Kj+nOT0bTYLWFFM7r2IXtEHZeXgyBSAirucmJKXHrmSB7Xaaj8ISg== X-Migadu-Spam-Score: 3.24 X-Spam-Score: 3.24 X-Migadu-Queue-Id: EB4CA3911F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=G4Go2qX4; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none X-TUID: dOx+Dk7TLYK0 * gnu/packages/machine-learning.scm (python-hyperopt): Update to 0.2.7. [arguments]: Adjust check phase; disable test_distribution_rvs test. [build-system]: Use pyproject-build-system. [propagated-inputs]: Add python-py4j. [native-inputs]: Remove python-ipython and python-ipyparallel. --- gnu/packages/machine-learning.scm | 36 ++++++++++++++++--------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index fc8de01066..3dbe54a24a 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1552,35 +1552,39 @@ (define-public vowpal-wabbit (define-public python-hyperopt (package (name "python-hyperopt") - (version "0.2.5") + (version "0.2.7") (source (origin (method url-fetch) (uri (pypi-uri "hyperopt" version)) (sha256 - (base32 "1k4ma8ci0bxghw7g4ms944zak1pi83yv2d6bxd7fcslm1zalfq5w")))) - (build-system python-build-system) + (base32 "0jd1ghmm423kbhjvd6pxq92y5vkz25390687fcnd7fshh3jrmy0v")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases + (list + #:phases + '(modify-phases %standard-phases (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (lambda* (#:key tests? #:allow-other-keys) (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" "--ignore" + (invoke "python" "-m" "pytest" ;; Needs python-pyspark. - "hyperopt/tests/test_spark.py" + "--ignore" "hyperopt/tests/integration/test_spark.py" ;; Needs both python-scikit-learn and python-lightgbm. - "--ignore" "hyperopt/tests/test_atpe_basic.py" + "--ignore" "hyperopt/tests/unit/test_atpe_basic.py" ;; The tests below need python-lightgbm. - "-k" (string-append "not test_branin" - " and not test_distractor" - " and not test_q1lognormal" - " and not test_quadratic1" - " and not test_twoarms")))))))) + "-k" + (string-append "not test_branin" + " and not test_distractor" + " and not test_q1lognormal" + " and not test_quadratic1" + " and not test_twoarms" + ;; XXX Type error with this version of scipy + " and not test_distribution_rvs")))))))) (propagated-inputs (list python-cloudpickle python-future + python-py4j python-networkx python-numpy python-scipy @@ -1588,8 +1592,6 @@ (define-public python-hyperopt python-tqdm)) (native-inputs (list python-black - python-ipython - python-ipyparallel python-nose python-pymongo python-pytest)) -- 2.36.1