From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4LD6LaxpUGfKcAAAe85BDQ:P1 (envelope-from ) for ; Wed, 04 Dec 2024 14:39:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4LD6LaxpUGfKcAAAe85BDQ (envelope-from ) for ; Wed, 04 Dec 2024 15:39:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EQvwbm1G; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=hjOLPHBi; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Seal: i=1; s=key1; d=yhetil.org; t=1733323180; a=rsa-sha256; cv=none; b=cHt2sSJJbVAOKEcR/zIPMXQb6syeYkQQaAtdJ4b83y+D95nI37zGrZwypdcAQYZtHMBs68 qY6Lm12gjAYCoxMo3Ha0eE7qaQztan8d/aADvVoT3wxGNlPlqC5w10THHEwSyjeRe9NVxL aEqzYIHLUIdD22YUMFte15k6GoQ1OcTgb9EsFG1DQdCks6q2NU4F6+B+TOpMj4Zfa3WbO/ XjycE3o17FhEhbmbE1xCmpNACU+Wt7TDJoLCG7QqmSnX+NZ+SjPgMcmypm6IVsd7fzVvsA 6aDEJMNgcLq+brbd2b0aMzJxlhfMpAyjzXUqWHiiFLsCXaeZzb0W7Mz3D17uzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EQvwbm1G; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=hjOLPHBi; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733323180; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to: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=lVwTfUJHhzN/+KiBjTcHASbZXW2W1Bx3efHA+UZE434=; b=j6CA1w997tJQJQddSJmnoskKgfIXJAj24dzaCMX/eFEzFeUz7LlezWODMXmlZ82MeOafSn 54rBZpBNx+l0WKCuB81YHrFypK80MamzpX2EYp59xeLk6TPWHTwhOKCvEof/U+whkfA9mW zpYJXzeWfAqOwa5sCFLaLyKj8tfudbpYwCakw5/RBf1O2q698t7j1vlkGpGVCiRfB7OWWA ui3BLmS0z3XuuZoi4Lnxo3kuYk+ILNF5XM+jPvLoJlCBQgtq7GLrRUBTPESYRks8diu6mD XstWbKgP9otP4N3SfkfjcCFmQfNOPsGCzIziTBZtkJlRmIFucIvB+4BVeTRvhA== 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 0599A712D0 for ; Wed, 04 Dec 2024 15:39:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIqWx-0004yd-13; Wed, 04 Dec 2024 09:39:08 -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 1tIqWs-0004yE-On for guix-patches@gnu.org; Wed, 04 Dec 2024 09:39:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIqWs-0008Ce-Gg for guix-patches@gnu.org; Wed, 04 Dec 2024 09:39:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=lVwTfUJHhzN/+KiBjTcHASbZXW2W1Bx3efHA+UZE434=; b=EQvwbm1GP0MKgrpXGUF7oO10Re11At7kd6aX/GXG/BFicTydEqdz0mMQn9p17WOh1s5a8qqg6xKoQ+qyqS859oYGqWPg/JZe9o2EQxmPjXgEJLhBxuOdTWgkwUSBNaCjk8InhAYBksqKjN3SRKodrs6fJqDLcEYrgwz5gBkdhmk8LH1pgrbWYSutesjwbju5Fc82LTLoYcOZUWfEqMy4/DlEUXe7Skphs245f6U1UCM8U/OAoX9h1O8cqRXWS59FnFHUgjzq7c6u8t/msrt28v036iquaNh/nm5woJz837bq0bJyoIVmKbHsOmgCY7f3LM8UTGJ6OnDePAPeiDuZGw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIqWs-0004sa-3Y for guix-patches@gnu.org; Wed, 04 Dec 2024 09:39:02 -0500 Subject: bug#74680: [PATCH] gnu: Add python-scikit-surprise. References: <877c8gjp6q.fsf@antr.me> In-Reply-To: <877c8gjp6q.fsf@antr.me> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 04 Dec 2024 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74680-done@debbugs.gnu.org Mail-Followup-To: 74680@debbugs.gnu.org, sharlatanus@gmail.com, mail@antr.me Received: via spool by 74680-done@debbugs.gnu.org id=D74680.173332313018729 (code D ref 74680); Wed, 04 Dec 2024 14:39:01 +0000 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 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-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 X-Migadu-Spam-Score: -6.61 X-Spam-Score: -6.61 X-Migadu-Queue-Id: 0599A712D0 X-Migadu-Scanner: mx10.migadu.com X-TUID: WDa+b7IoBTXp --=-=-= 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----- --=-=-=--