From unknown Sat Aug 16 15:56:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74680 <74680@debbugs.gnu.org> To: bug#74680 <74680@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-scikit-surprise. Reply-To: bug#74680 <74680@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:56:50 +0000 retitle 74680 [PATCH] gnu: Add python-scikit-surprise. reassign 74680 guix-patches submitter 74680 Antero Mejr severity 74680 normal tag 74680 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 03 18:57:08 2024 Received: (at submit) by debbugs.gnu.org; 3 Dec 2024 23:57:08 +0000 Received: from localhost ([127.0.0.1]:33369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIclP-0003gL-Ly for submit@debbugs.gnu.org; Tue, 03 Dec 2024 18:57:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:51474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIclN-0003gD-FD for submit@debbugs.gnu.org; Tue, 03 Dec 2024 18:57:06 -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 1tIclM-0005Um-PG for guix-patches@gnu.org; Tue, 03 Dec 2024 18:57:05 -0500 Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIclJ-0003e4-DA; Tue, 03 Dec 2024 18:57:03 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733270211; cv=none; d=zohomail.com; s=zohoarc; b=gFQVXLRrwlyIDl6L72x5GVJzdyUgKp+pAfPmzWM9Ug0d9BpGTd3/edCPt2STjSjtwLrTvx3QeXu1KDek26YEzZMebObMtlVNTq1MZ0EbHHL8rFY9GZObfV8UI+R4T6BUfwQAQFah+qNHAaIHucTcM2DSIwg2rSpVlGGYUeoHAUQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733270211; h=Content-Type:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=/3ORisjCV/fooTFTL0Uk1zUdBIdyVtBw1VhGSDLwnLE=; b=IKOcngkfMcI0+qM+Mjmnj9/NAqRC8i3Rvb78hXMyoCbnO1vIgITkQNsglWI3unMXTJe4IJXowmp8HNgbDn68WTsjwpIXcpgZ/PBRaI6btwyWcQRabaDffts+SPnf8r4XD0IFxLzQeVsfOH11cl9XKVQ82Tx0rjMaEMQRjGNjqvI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=antr.me; spf=pass smtp.mailfrom=mail@antr.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1733270211; s=zmail; d=antr.me; i=mail@antr.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=/3ORisjCV/fooTFTL0Uk1zUdBIdyVtBw1VhGSDLwnLE=; b=BA8XYTnRYBSc3nnaMqw+RlSqPFghIevJVI2iAzP1ui5J/TtjOvz0i/sGcqv2ojJm kgHBrAOyIyabj3UCOZ53MC+lTsXvB461ZSZmcJP8Zbn2puCoFttiFd+dlr9r9i4A7p1 FmCMCr5sV2NTtidrGFB701vPfNiE3yo7feS+EkLA= Received: by mx.zohomail.com with SMTPS id 17332702085081020.9002550815097; Tue, 3 Dec 2024 15:56:48 -0800 (PST) From: Antero Mejr To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-scikit-surprise. Date: Tue, 03 Dec 2024 18:56:45 -0500 Message-ID: <877c8gjp6q.fsf@antr.me> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.15; envelope-from=mail@antr.me; helo=sender4-op-o15.zoho.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: submit Cc: sharlatanus@gmail.com, me@bonfacemunyoki.com, lars@6xq.net, jgart@dismail.de, marius@gnu.org, tanguy@bioneland.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: -1.6 (-) * gnu/packages/python-science.scm (python-scikit-surprise): New variable. Change-Id: I9b5e13f0c985f34bb0bd759e76ebd27221a340a4 --- gnu/packages/python-science.scm | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index ef6d529ffd..10bc4a249f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -600,6 +600,44 @@ (define-public python-scikit-optimize @code{skopt} aims to be accessible and easy to use in many contexts.") (license license:bsd-3))) +(define-public python-scikit-surprise + (package + (name "python-scikit-surprise") + (version "1.1.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/NicolasHug/Surprise") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15ckx2i41vs21sa3yqyj12zr0h4zrcdf3lrwcy2c1cq2bjq7mnvz")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'check 'change-home-dir + (lambda _ + ;; Change from /homeless-shelter to /tmp for write + ;; permission. + (setenv "HOME" "/tmp")))))) + (native-inputs (list python-cython python-pandas python-pytest)) + (propagated-inputs (list python-joblib python-numpy python-scikit-learn)) + (home-page "https://surpriselib.com/") + (synopsis "Recommender system library for Scikit-learn") + (description "This package provides a Python library for building and +analyzing recommender systems that deal with explicit rating data. It was +designed with the following purposes in mind: +@itemize +@item Provide tools to handle downloaded or user-provided datasets. +@item Provide ready-to-use prediction algorithms and similarity measures. +@item Provide a base for creating custom algorithims. +@item Provide tools to evaluate, analyse and compare algorithm performance. +@item Provide documentation with precise details regarding library algorithms. +@end itemize") + (license license:bsd-3))) + (define-public python-scikit-survival (let ((revision "1") ;; We need a later commit for support of a more recent sklearn and base-commit: 9001514e242ad15c190588439930b0fa4f6782e3 -- 2.43.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 04 09:38:50 2024 Received: (at 74680-done) by debbugs.gnu.org; 4 Dec 2024 14:38:50 +0000 Received: from localhost ([127.0.0.1]:34789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIqWg-0004rz-AQ for submit@debbugs.gnu.org; Wed, 04 Dec 2024 09:38:50 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:43484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIqWd-0004rh-Cy for 74680-done@debbugs.gnu.org; Wed, 04 Dec 2024 09:38:48 -0500 Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-385dbf79881so611109f8f.1 for <74680-done@debbugs.gnu.org>; Wed, 04 Dec 2024 06:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733323061; x=1733927861; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=lVwTfUJHhzN/+KiBjTcHASbZXW2W1Bx3efHA+UZE434=; b=hjOLPHBiaWj2UQAh2K/lO6i24wSMxMFDsmgtW6SHr6K4aHCjcSkw2UqJ3splB4mr/a ijUsK+orNLQ3+ppI1mmghkn7mqZMBmYz0n49x1V3yKu9KUjOw0iUbrazCTnifsq7w7X8 vmblK9MsGey9ZrncJlFR7PtcYIOmPM+yPBiHwhOYpRU86YNw2VnzMhqyaT+rDcNLUg/F b6oEBAugSeMAAmzPHlzimZ4rm0ZDJqDS0eimjgCT22aJY+1ibRKaX1iLnxoLtgP9M+i0 N4Cndu7NG1viMrVT+/Au9nRNi54uYgHHubsdyqtWTOljp4C0hOh/VMqU5pw0Lb0b2WCn hTWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733323061; x=1733927861; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lVwTfUJHhzN/+KiBjTcHASbZXW2W1Bx3efHA+UZE434=; b=omQlliBk1GV9SSMNOkv9OErrRmDFAaX1DLQeZSYGsTxPGxywNTKsOezI7lKkvZuLv2 ew16/GobkCMPUOroYp+M2ozRyB6hAJugsHVr1QrBtg0BNPvOQ1R9E4Hb8CmyrQWI/Psr N+iihUdguChx3wnQ2a0n/CP1qXvOjna8Ww42B1n2xI9VzJ6XFWRIE27Qafu9oXnbUPP2 Tv77hHN46vvgqo4ebMwdcrorzRE7J5cO8sf7N7ZXORhian4BYomXel48feAR9vVCCryQ 0gxQOt2CWvveQ+m5t34w2t2AIwu0zr48pRqmW6z0PCwDwOMNVyyi6j3AYMCrmMBgeZ+9 qPCw== X-Gm-Message-State: AOJu0YymARAdEyXize5pT07iWAPzZhD5Ot83B6TzSZNXtsfS82s6XT1P xdaHQ1mpV9+/ww0EppbcEV7Jj5q/UUwGuTGrgsgngbGt25jNF7ydZNNZkb6oG0U= X-Gm-Gg: ASbGnct2/6g9hdwzp+vgwpe/jVnUqly5U1UYs0vFYqseCON1j4FOolJ1ldfDXnyViFj 60Ped/bYPt9FBBPdlJ7aS2tA/HSkpDRiYjgumXa23Qu3ZNSt/bcBdTCmD5EDShXQ4ATu6mXO9TD qCB2tcvNu7JTryO8Knw9zYpO3XuhRqMQHiYNolvmdjzELBaRWUsbwrYOr5Ti2bAyTffu3gQ2/3h MnLt12CfuDbjMbB2LqE/FMVXGY5afWE7f60RPYReQ1yfd2OMWFCWeMkqiQaIx6PRvdWogjDBM2x sci9rn5tGEp4C6G7mUHbldkBjA== X-Google-Smtp-Source: AGHT+IFlBLVJIMu5UOpFNy1ggXoHCyUgFq3nvOY3ATnydE+l115XX04knjUUSw3xMFeie5ZDaPje+A== X-Received: by 2002:a5d:64e6:0:b0:385:dedb:a15b with SMTP id ffacd0b85a97d-385fd9ac147mr5680128f8f.24.1733323061435; Wed, 04 Dec 2024 06:37:41 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385ccd687c3sm18961607f8f.77.2024.12.04.06.37.40 for <74680-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 06:37:40 -0800 (PST) From: Sharlatan Hellseher To: 74680-done@debbugs.gnu.org Subject: [PATCH] gnu: Add python-scikit-surprise. Date: Wed, 04 Dec 2024 14:37:30 +0000 Message-ID: <87h67j8qfp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 74680-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: -0.3 (/) --=-=-= Content-Type: text/plain Hi, Thank you for the patch! I've checked the license, built it on the latest master HEAD and applied some styling modifications: --8<---------------cut here---------------start------------->8--- @@ -604,31 +604,41 @@ (define-public python-scikit-surprise (package (name "python-scikit-surprise") (version "1.1.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/NicolasHug/Surprise") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "15ckx2i41vs21sa3yqyj12zr0h4zrcdf3lrwcy2c1cq2bjq7mnvz")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/NicolasHug/Surprise") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15ckx2i41vs21sa3yqyj12zr0h4zrcdf3lrwcy2c1cq2bjq7mnvz")))) (build-system pyproject-build-system) (arguments (list - #:phases #~(modify-phases %standard-phases - (add-before 'check 'change-home-dir - (lambda _ - ;; Change from /homeless-shelter to /tmp for write - ;; permission. - (setenv "HOME" "/tmp")))))) - (native-inputs (list python-cython python-pandas python-pytest)) - (propagated-inputs (list python-joblib python-numpy python-scikit-learn)) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ + ;; Change from /homeless-shelter to /tmp for write + ;; permission. + (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-cython-3 + python-pandas + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-joblib + python-numpy + python-scikit-learn)) (home-page "https://surpriselib.com/") (synopsis "Recommender system library for Scikit-learn") - (description "This package provides a Python library for building and -analyzing recommender systems that deal with explicit rating data. It was -designed with the following purposes in mind: + (description + "This package provides a Python library for building and analyzing +recommender systems that deal with explicit rating data. It was designed with +the following purposes in mind: @itemize @item Provide tools to handle downloaded or user-provided datasets. @item Provide ready-to-use prediction algorithms and similarity measures.e --8<---------------cut here---------------end--------------->8--- Pusshed as --8<---------------cut here---------------start------------->8--- master local/20241204095328-issue-74680 16c71b7fe328a159f6e6d13b42ee23b448465905 Author: Antero Mejr AuthorDate: Tue Dec 3 18:56:45 2024 -0500 Commit: Sharlatan Hellseher CommitDate: Wed Dec 4 14:28:10 2024 +0000 --8<---------------cut here---------------end--------------->8--- -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmdQaSoACgkQdtcnv/Ys 0rXr2RAA0YReGJn+czegtjeqEQiN57po6ukM22HBmN8RVLML/SeXKyokQeCBn0wA RauS8UupsmmxSzzBnkAXZ6ATl2fhp/KddsMH7+nFEYiRy0U6s/InTk8Sqh/fbyru ov04br5jD+rP5AffP43x4EAU3H9ehOHFPq5Vne8LMds+AgS5tGIv9C35mukwkyZO jkzPyOJXtVe846TezyPHgVuoHympaJotwDiPJg5CQbggmpmjWDi/U47sfEvBIf69 M2cmgRVGX/yqCNWBy7Z2aMZGlYr3uAZXHWUyPL+eTSbDo2Jge2w1WWQnvl800YFp uLOpY4TW0pomGylJYKzQjJw6NDo5yUaW01rbT/PanC4nWdsVhQGeULMTCpUNNRXZ VQzoHTQYHkM3WM7A/Lf9hBpfHhd0KLtk/S1ryYcgwaWJnmiMEjBLn0Cfve2boyi+ OUwp4/+I36myZcHq8PeJqwXFQC5L2TpWG48ksucwURZ54oU6+AvnJThqAJ/d/rBe NhLnKaZ+IOiZl1Ax0csS8dllKrFeTJ4fbWn7AA69cwjbqq7pYt5qxhl2+x4b9UZv RUEjzsZTkddZbPLbLROivZPiXJUpN80Rc3q/m+RBSKPtZ8Ke7cqTi8xkhRuJVbHN weCj+BFdFeRMzMEvAuvhciAYO3K7fDMISXpvqXY4AAMN7qTvI90= =RbTh -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 15:56:50 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, 02 Jan 2025 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