From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 10 12:30:41 2023 Received: (at submit) by debbugs.gnu.org; 10 Nov 2023 17:30:41 +0000 Received: from localhost ([127.0.0.1]:50801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1VL6-0002Cc-Gg for submit@debbugs.gnu.org; Fri, 10 Nov 2023 12:30:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1VJF-00027z-A7 for submit@debbugs.gnu.org; Fri, 10 Nov 2023 12:28:47 -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 1r1VIV-0003pH-DS for guix-patches@gnu.org; Fri, 10 Nov 2023 12:27:59 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1VIS-0002JS-69 for guix-patches@gnu.org; Fri, 10 Nov 2023 12:27:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:message-id:subject:mime-version; bh=xc/F6hQNAPJbyhu+02UOlS6fuG6YpAnFih71kN/Uedg=; b=YZ8vHb4ID+/760EaMtjhc9CRYHh+ei6dymk0z61qREOdDVdhOvTKtqrV BaWQ0hxzMeJSyrxUe7mC9os530y9vzZpWCdTdHMC8N8OAWl8/kG61uCH4 iU7X78EcccYk1IIGM5OWZhYd2ouTzyyM9N3JULWLkZDHMQbSx4Lze1ni4 A=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=timothee.mathieu@inria.fr; spf=None smtp.helo=postmaster@zcs-store9.inria.fr Received-SPF: Pass (mail2-relais-roc.national.inria.fr: domain of timothee.mathieu@inria.fr designates 128.93.142.36 as permitted sender) identity=mailfrom; client-ip=128.93.142.36; receiver=mail2-relais-roc.national.inria.fr; envelope-from="timothee.mathieu@inria.fr"; x-sender="timothee.mathieu@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@zcs-store9.inria.fr) identity=helo; client-ip=128.93.142.36; receiver=mail2-relais-roc.national.inria.fr; envelope-from="timothee.mathieu@inria.fr"; x-sender="postmaster@zcs-store9.inria.fr"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.03,291,1694728800"; d="scan'208,217,223";a="135784655" X-MGA-submission: =?us-ascii?q?MDG7jmIIktzWDgKHH5ZgbrMeCXy7ddmhDMT4mp?= =?us-ascii?q?loZNz2pGkJ3HJbzDx3pBf5dFq+qP/7t9ikVAamDb4Q/GJGy9hWNbA1cw?= =?us-ascii?q?N+BiTsibAS+3HLL7pS0x9ehTcKaO+JH1C7vymfRKGtET/mtEodo8eaBE?= =?us-ascii?q?/N7FNA9tqqEqnVkBNrx7tHHg=3D=3D?= Received: from zcs-store9.inria.fr ([128.93.142.36]) by mail2-relais-roc.national.inria.fr with ESMTP; 10 Nov 2023 18:27:43 +0100 Date: Fri, 10 Nov 2023 18:27:43 +0100 (CET) From: Timothee Mathieu To: guix-patches Message-ID: <625475154.8447192.1699637263695.JavaMail.zimbra@inria.fr> Subject: [PATCH] gnu: Add python-scikit-learn-extra MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_07ecea21-80ba-4c55-9c2e-b55d10ffa10c" X-Originating-IP: [92.184.104.109] X-Mailer: Zimbra 8.8.15_GA_4562 (ZimbraWebClient - FF119 (Linux)/8.8.15_GA_4570) Thread-Index: NCK299Rp4c2UNBR+/jgBec/HZ1G3dg== Thread-Topic: Add python-scikit-learn-extra Received-SPF: pass client-ip=192.134.164.83; envelope-from=timothee.mathieu@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 10 Nov 2023 12:30:36 -0500 Cc: Timothee Mathieu 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: -0.0 (/) --=_07ecea21-80ba-4c55-9c2e-b55d10ffa10c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit >From 59c388e64c12e39f7fb91ca538be332a130a3872 Mon Sep 17 00:00:00 2001 Message-ID: <59c388e64c12e39f7fb91ca538be332a130a3872.1699637173.git.timothee.mathieu@inria.fr> From: Timothee Mathieu Date: Fri, 10 Nov 2023 17:54:05 +0100 Subject: [PATCH] gnu: Add python-scikit-learn-extra. * gnu/packages/machine-learning.scm (python-scikit-learn-extra): New variable. Change-Id: I50992ceaa76608f3345df6d74a5d9e4aa7c485a5 --- gnu/packages/machine-learning.scm | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a84377e1eb..1d0b796c68 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1532,6 +1532,47 @@ (define-public python-scikit-learn data analysis.") (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 "v0.3.0"))) + (file-name (git-file-name name version)) + (sha256 (base32 "0yy6ka94ss88f3r7b6mpjf1l8lnv7aabhsg844pigfj8lfiv0wvl")))) + (build-system pyproject-build-system) + (arguments + `(#: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 set of tools for scikit-learn.") + (license license:bsd-3)) +) + (define-public python-thinc (package (name "python-thinc") base-commit: bb3ab24a296ffa5273b2e82a02ed057e90c095f3 -- 2.42.1 --=_07ecea21-80ba-4c55-9c2e-b55d10ffa10c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
From 59c388e64c12e39f7fb91ca538be332a130a38= 72 Mon Sep 17 00:00:00 2001
Message-ID: <59c388e64c12e39f7fb91ca538be= 332a130a3872.1699637173.git.timothee.mathieu@inria.fr>
From: Timothee= Mathieu <timothee.mathieu@inria.fr>
Date: Fri, 10 Nov 2023 17:54:= 05 +0100
Subject: [PATCH] gnu: Add python-scikit-learn-extra.

* g= nu/packages/machine-learning.scm (python-scikit-learn-extra): New variable.=

Change-Id: I50992ceaa76608f3345df6d74a5d9e4aa7c485a5
---
&nbs= p;gnu/packages/machine-learning.scm | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/ma= chine-learning.scm b/gnu/packages/machine-learning.scm
index a84377e1eb.= .1d0b796c68 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/= packages/machine-learning.scm
@@ -1532,6 +1532,47 @@ (define-public pyth= on-scikit-learn
 data analysis.")
     (lice= nse license:bsd-3)))
 
+(define-public python-scikit-learn-extra=
+(package
+  (name "python-scikit-learn-extra")
+  (ver= sion "0.3.0")
+(source
+      (origin
+&n= bsp;       (method git-fetch)
+  = ;      (uri (git-reference
+   &= nbsp;          (url "https://g= ithub.com/scikit-learn-contrib/scikit-learn-extra")
+   &= nbsp;          (commit "v0.3.0= ")))
+        (file-name (git-file-na= me name version))
+        (sha256 (b= ase32 "0yy6ka94ss88f3r7b6mpjf1l8lnv7aabhsg844pigfj8lfiv0wvl"))))
+ = (build-system pyproject-build-system)
+ (arguments
+  &nbs= p;  `(#:phases
+       (modify-phases= %standard-phases
+         (add= -after 'build 'build-ext
+       &nbs= p;   (lambda _ (invoke "python" "setup.py" "build_ext" "--inplace= ")))
+         (replace 'check+           (lambda* (#= :key tests? #:allow-other-keys)
+      &nb= sp;      (when tests?
+    =            ;; Restrict Op= enBLAS threads to prevent segfaults while testing!
+   &n= bsp;           (setenv "O= PENBLAS_NUM_THREADS" "1")
+
+      &nbs= p;        ;; Some tests require write ac= cess to $HOME.
+         &n= bsp;     (setenv "HOME" "/tmp")
+
+  &n= bsp;            ;; S= tep out of the source directory to avoid interference;
+  &nbs= p;            ;; we = want to run the installed code with extensions etc.
+   &= nbsp;           (with-dir= ectory-excursion "/tmp"
+        = ;         (invoke "pytest" "-vv" "-= -pyargs" "sklearn_extra"
+       &nbs= p;            &= nbsp;    ;; ignore tests that require network
+ &nbs= p;            &= nbsp;          "-k" "not test_= build"))))))))
+  (propagated-inputs (list python-numpy python-scik= it-learn python-scipy))
+  (native-inputs (list python-pytest pytho= n-pytest-cov python-cython))
+  (home-page "https://github.com/scik= it-learn-contrib/scikit-learn-extra")
+  (synopsis "Set of tools fo= r scikit-learn")
+  (description "This package provides a set of to= ols for scikit-learn.")
+  (license license:bsd-3))
+)
+
&= nbsp;(define-public python-thinc
   (package
  &n= bsp;  (name "python-thinc")

base-commit: bb3ab24a296ffa5273b2e8= 2a02ed057e90c095f3
--
2.42.1

--=_07ecea21-80ba-4c55-9c2e-b55d10ffa10c-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 06:22:10 2023 Received: (at 67051-done) by debbugs.gnu.org; 2 Dec 2023 11:22:10 +0000 Received: from localhost ([127.0.0.1]:56793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9O4Y-00011h-8x for submit@debbugs.gnu.org; Sat, 02 Dec 2023 06:22:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9O4V-00011R-KD for 67051-done@debbugs.gnu.org; Sat, 02 Dec 2023 06:22:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9O4F-0005g1-Uc; Sat, 02 Dec 2023 06:21:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QqP6lGz/E/jQLNpHuYXsS0kRBxkUw/CQDMIhrbNMOso=; b=PvQS2Zotmefncawm2qzq NNuIxig83HZv79UyT6aDxIRWgZ6vBpk+p7XRpnu0ZqiivYaynkhRb/0V59s9eo84AQQSex84ZTHnd +ueud/1+vcF+nBsDqT23CdxQodixPRwuF4Tf/Eoa72LzMDsHAQiWyDfk9iuie8CYiBpHp9RP44Yth sQemZc3HQmS1rIOZMsz7UN9jkRlsl/BnzyZbP03SZ9DeMS3PPpZRUIWd6eMMZ2zJU+LCz+0QpA5OG NnvtltpMN4Kb3mU650jdKoJY6a0mR7lP6rZ7Ot615A/okVD9qiVKLxWD8yi6Z/7F5F4U68TP9hYzj Fbks3dbzbECpkA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timothee Mathieu Subject: Re: [bug#67051] [PATCH] gnu: Add python-scikit-learn-extra In-Reply-To: <625475154.8447192.1699637263695.JavaMail.zimbra@inria.fr> (Timothee Mathieu's message of "Fri, 10 Nov 2023 18:27:43 +0100 (CET)") References: <625475154.8447192.1699637263695.JavaMail.zimbra@inria.fr> Date: Sat, 02 Dec 2023 12:21:49 +0100 Message-ID: <875y1ghmsy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67051-done Cc: 67051-done@debbugs.gnu.org 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: -3.3 (---) Hi Timoth=C3=A9e, Timothee Mathieu skribis: >>>From 59c388e64c12e39f7fb91ca538be332a130a3872 Mon Sep 17 00:00:00 2001=20 > Message-ID: <59c388e64c12e39f7fb91ca538be332a130a3872.1699637173.git.timo= thee.mathieu@inria.fr>=20 > From: Timothee Mathieu =20 > Date: Fri, 10 Nov 2023 17:54:05 +0100=20 > Subject: [PATCH] gnu: Add python-scikit-learn-extra.=20 > > * gnu/packages/machine-learning.scm (python-scikit-learn-extra): New vari= able.=20 > > Change-Id: I50992ceaa76608f3345df6d74a5d9e4aa7c485a5=20 Applied, thanks! I ran =E2=80=98guix style=E2=80=99 and =E2=80=98guix style -S arguments=E2= =80=99 on the package and also augmented the description based on their README. BTW, the mail client had mangled the patch. In the future please send it as an attachment or using =E2=80=98git send-email=E2=80=99 to ensure it = reaches the mailing list unaltered. Thank you, Ludo=E2=80=99. From unknown Mon Aug 18 15:39:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Dec 2023 12:24:07 +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