From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 04 11:07:39 2023 Received: (at submit) by debbugs.gnu.org; 4 Nov 2023 15:07:40 +0000 Received: from localhost ([127.0.0.1]:35570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIFP-0005PU-KG for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:07:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIFN-0005PH-Bz for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:07:37 -0400 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 1qzIEh-0000nu-MQ for guix-patches@gnu.org; Sat, 04 Nov 2023 11:06:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzIEf-0007af-In for guix-patches@gnu.org; Sat, 04 Nov 2023 11:06:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 19345240104 for ; Sat, 4 Nov 2023 16:06:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699110412; bh=mD26G2Xrqr+caql1qCjCXsSWiP0S2vxG4dcJLKxkob4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=nv+cKOb+QmqW+1xsfaO+ZaLJIS2W4EsqfvFqHGCsKKTEhsLrTjyPBpFf4/2bF51+8 leFJDiYCZ76Rdn/qCoVkNn7+W7TBDwL9wMBWUjMQOGve1hKILwy2rpAxyeMeS8K4WG Ze97F5Nn1/MtXCcorniD91AfqEG0VPxP/cDc7uFuSS/h3EKGUMHd1Jn3snMVQZYjVM icdVgnwLRh/vNeQJ+13GWS1Vy3YatLUVehdLli+YXoy9Q3ZoY2CyKAWwZRPATvkKp1 JHQ1N/AEHvJkwZ/TuL+XPAi90zhMNxiP18OnijqTLTgICHJL5k1cooUx3bowu4cuQi 5NhjDtoLON+7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SN1DC4n2hz6tvJ; Sat, 4 Nov 2023 16:06:51 +0100 (CET) From: Felix Gruber To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-pyamg. Date: Sat, 4 Nov 2023 15:05:56 +0000 Message-ID: <39e96e5e211c0a24b03057c4387cc791f2e23e86.1699110356.git.felgru@posteo.net> MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 Cc: Felix Gruber 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 (/) * gnu/packages/python-science.scm (python-pyamg): New variable. Change-Id: Ibf39fecd14d4e6fd72078b217737e5e5cbbf2321 --- gnu/packages/python-science.scm | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 4063797a30..1c2edda118 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -387,6 +387,42 @@ (define-public python-trimesh library.") (license license:expat))) +(define-public python-pyamg + (package + (name "python-pyamg") + (version "5.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pyamg" version)) + (sha256 + (base32 + "0bm0cbqcj5zgs4k7djs5ga98pb95raxxdd674g744hv1iwi6gfga")))) + (build-system pyproject-build-system) + (propagated-inputs (list pybind11 python-numpy python-scipy)) + (native-inputs (list python-setuptools-scm python-pytest)) + (arguments + (list + #:test-flags + ;; Test installed package in order to find C++ modules. + #~(list "--pyargs" "pyamg.tests"))) + (home-page "https://github.com/pyamg/pyamg") + (synopsis "Algebraic Multigrid Solvers in Python") + (description "PyAMG is a Python library of Algebraic Multigrid +(AMG) solvers. + +PyAMG features implementations of: +@itemize +@item Ruge-Stuben (RS) or Classical AMG +@item AMG based on Smoothed Aggregation (SA) +@item Adaptive Smoothed Aggregation (αSA) +@item Compatible Relaxation (CR) +@item Krylov methods such as CG, GMRES, FGMRES, BiCGStab, MINRES, etc. +@end itemize +PyAMG is primarily written in Python with supporting C++ code for +performance critical operations. +") + (license license:expat))) + (define-public python-tspex (package (name "python-tspex") base-commit: 9dcd8802f5bc472579f23a38dcf437f8a9ac976c -- 2.42.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 04 11:42:09 2023 Received: (at 66930) by debbugs.gnu.org; 4 Nov 2023 15:42:09 +0000 Received: from localhost ([127.0.0.1]:35610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzImn-0006KT-CH for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:42:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzImk-0006Jt-PQ for 66930@debbugs.gnu.org; Sat, 04 Nov 2023 11:42:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 12A92240101 for <66930@debbugs.gnu.org>; Sat, 4 Nov 2023 16:41:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699112484; bh=50UxbTy0I7iXqVoeN2yO1amWbCeBxyKqfe+3WNS55r0=; h=Message-ID:Date:MIME-Version:Subject:To:From: Content-Transfer-Encoding:From; b=CNFcibfVQm2CdwlmbrC7PPJ8OwkULudYfXbx9cPTh+0MqrHLbFBOCqqTN/djgjtOO NeKWPCEm2oeGv5bfsOrBxmRA9/SDt2fR62T3Si0ONqLnP5i7H/sgpx6opdOxigS0q1 5kamMpyA8Ixz9wO/Xb9jp+yf1VqqDoplsACjYAHgojHWUluDzpszpHTprhJYrxmioO d2VHZvPzymCVtfdOVE3o+fVFi27/psNWQQ1hagJkdu8b+lMzFSljv7vPhWoQGtdUio AATLnw1q1ma/8DsVyqRPIMK4mmSNg4T6I+Y3wTlo+Iy9PRA/5CWt9Va0NgWfIQpk1F UJ6pWTd+CluwQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SN2030cPbz6txx for <66930@debbugs.gnu.org>; Sat, 4 Nov 2023 16:41:22 +0100 (CET) Message-ID: <2e963833-e5c0-4b45-9e43-d81b506b3e9d@posteo.net> Date: Sat, 4 Nov 2023 15:41:30 +0000 MIME-Version: 1.0 Subject: Re: [bug#66930] [PATCH] gnu: Add python-pyamg. To: 66930@debbugs.gnu.org References: <39e96e5e211c0a24b03057c4387cc791f2e23e86.1699110356.git.felgru@posteo.net> Content-Language: en-US From: Vinicius Monego In-Reply-To: <39e96e5e211c0a24b03057c4387cc791f2e23e86.1699110356.git.felgru@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66930 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 (---) Hello, Em 04/11/2023 12:05, Felix Gruber escreveu: > * gnu/packages/python-science.scm (python-pyamg): New variable. > > Change-Id: Ibf39fecd14d4e6fd72078b217737e5e5cbbf2321 > --- > gnu/packages/python-science.scm | 36 +++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm > index 4063797a30..1c2edda118 100644 > --- a/gnu/packages/python-science.scm > +++ b/gnu/packages/python-science.scm > @@ -387,6 +387,42 @@ (define-public python-trimesh > library.") > (license license:expat))) > > +(define-public python-pyamg > + (package > + (name "python-pyamg") > + (version "5.0.0") I saw that version 5.0.1 is out since Jul 3, 2023. Does it fail to build? > + (source (origin > + (method url-fetch) > + (uri (pypi-uri "pyamg" version)) > + (sha256 > + (base32 > + "0bm0cbqcj5zgs4k7djs5ga98pb95raxxdd674g744hv1iwi6gfga")))) > + (build-system pyproject-build-system) > + (propagated-inputs (list pybind11 python-numpy python-scipy)) Pybind11 is usually a native or normal input. Does it have to be propagated here? > + (native-inputs (list python-setuptools-scm python-pytest)) > + (arguments > + (list > + #:test-flags > + ;; Test installed package in order to find C++ modules. > + #~(list "--pyargs" "pyamg.tests"))) > + (home-page "https://github.com/pyamg/pyamg") > + (synopsis "Algebraic Multigrid Solvers in Python") > + (description "PyAMG is a Python library of Algebraic Multigrid > +(AMG) solvers. > + > +PyAMG features implementations of: Nitpick: to avoid repeating "PyAMG", you can say "It" in the second paragraph and join with the first. > +@itemize > +@item Ruge-Stuben (RS) or Classical AMG > +@item AMG based on Smoothed Aggregation (SA) > +@item Adaptive Smoothed Aggregation (αSA) > +@item Compatible Relaxation (CR) > +@item Krylov methods such as CG, GMRES, FGMRES, BiCGStab, MINRES, etc. > +@end itemize > +PyAMG is primarily written in Python with supporting C++ code for > +performance critical operations. > +") Implementation details like in this last sentence about languages and performance should be transparent to the user and can be omitted. > + (license license:expat))) > + > (define-public python-tspex > (package > (name "python-tspex") > > base-commit: 9dcd8802f5bc472579f23a38dcf437f8a9ac976c I also noticed that amg_core contains cpp files generated by the pyamg/amg_core/bindthem.py script. I'd suggest to grep 'DO NOT EDIT' on that directory to find the files, delete them in a snippet and rerun the bindthem.py script in a new phase after unpacking. Thanks, Vinicius From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 21 12:44:36 2024 Received: (at 66930-done) by debbugs.gnu.org; 21 Jan 2024 17:44:36 +0000 Received: from localhost ([127.0.0.1]:38953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRbs4-0000ix-FO for submit@debbugs.gnu.org; Sun, 21 Jan 2024 12:44:36 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:53708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRbrz-0000ih-6O for 66930-done@debbugs.gnu.org; Sun, 21 Jan 2024 12:44:35 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-337d05b8942so2768269f8f.3 for <66930-done@debbugs.gnu.org>; Sun, 21 Jan 2024 09:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705859061; x=1706463861; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hLN8salQ45Qe1Xa3kyTJG3Ag/11zNJqH6zidfoLJOc4=; b=ETeqm6IRvWiyvndAJtaTKxD8AkBdACTVEoG6lVeuRWKrT5bLIFMjemQJo5xNqdpIap KW2XkYlnPGn1Wxz4b8g0a+3g/WX0GjY0uzaP0WZ1WVC0gR3Bh5tfDxJcMnHmc6qcCNk7 +5J37eoGAswv1UdFnoKCExu37KaT0/Wp/cqUyliUATEUGNfnIFb7apwXbEdRKdQIUcsO OAgCP/dPLZwT3RWxw7oXL6DfM12MoLk6sUXuG6uRSCBQHl4MSwEUAjb6q7ydTmPJuO8Z usq4a/YL2lJyjOveL18exj/wO2NCxR+Bo1D45qot6gi91NdXmQ6Nr8jpZ5vTf/Nvu/dO kv/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705859061; x=1706463861; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hLN8salQ45Qe1Xa3kyTJG3Ag/11zNJqH6zidfoLJOc4=; b=ukzUTY892SkCgWOKWHa5ctCmP48Oy2iV4hyLY/mic5pazWzhN94j/UZ794scTz2jXq 09I6pbIRacO5jIjjuWzqTzQGy+4Y3ZvNtu6KIcYYe10+YRiFgfwynWNvnqXmALs34eKV ZD7vZ1wx+J6Emjp/XsbU6zmh4QqcO0lVJVm+WOMOpPVPGzmxkGM8Sv81/euhS9p58ref rc8pKUHx/KRUYOUubTaI/Wulmn0l5BBkJPyCWIXpanj4HjKyKwScxP2eC37rGVdaD5+P b1XgbtPL+9vt2d6xOd5a1pZgM1ndAaaGbQxRtHjwvAHQnjIYIfWEFFfro3AKxM4gUKAi sMMQ== X-Gm-Message-State: AOJu0Yw3NgraOemG3sk8YFOutc7GZ5OOrbO5FIohvpAn7Inrx39Jaeie CBiOk4Uyg9rvwKNcYG6KExmE5Qk3o6N//wy7ziRYpaev0YpVJ6O2Fuf89xY1/5g= X-Google-Smtp-Source: AGHT+IGSokpJ7fuhEtUZJsaSLzZrm+cckUnZFnjmIqimtp4Jj3d4L2qq+tl2daR+4z/IPz5xZ5DlTg== X-Received: by 2002:a5d:4a0c:0:b0:337:bfd5:be22 with SMTP id m12-20020a5d4a0c000000b00337bfd5be22mr1815691wrq.138.1705859061281; Sun, 21 Jan 2024 09:44:21 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id h2-20020a5d5042000000b00337d941604bsm7570979wrt.98.2024.01.21.09.44.20 for <66930-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 09:44:20 -0800 (PST) From: Sharlatan Hellseher To: 66930-done@debbugs.gnu.org Subject: [PATCH] gnu: Add python-pyamg. Date: Sun, 21 Jan 2024 17:44:19 +0000 Message-ID: <874jf6oa30.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 66930-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 (-) --=-=-= Content-Type: text/plain I've apply changes to the patch: - updated to the latest upstream version 5.0.1 - move propagated and native inputs after arguments - move pybind11 to native-inputs --8<---------------cut here---------------start------------->8--- @@ -460,21 +460,21 @@ (define-public python-meshzoo (define-public python-pyamg (package (name "python-pyamg") - (version "5.0.0") + (version "5.0.1") (source (origin (method url-fetch) (uri (pypi-uri "pyamg" version)) (sha256 (base32 - "0bm0cbqcj5zgs4k7djs5ga98pb95raxxdd674g744hv1iwi6gfga")))) + "0l3dliwynxyjvbgpmi2k8jqvkkw6fc00c8w69h6swhrkfh0ql12z")))) (build-system pyproject-build-system) - (propagated-inputs (list pybind11 python-numpy python-scipy)) - (native-inputs (list python-setuptools-scm python-pytest)) (arguments (list #:test-flags ;; Test installed package in order to find C++ modules. #~(list "--pyargs" "pyamg.tests"))) + (native-inputs (list pybind11 python-pytest python-setuptools-scm)) + (propagated-inputs (list python-numpy python-scipy)) (home-page "https://github.com/pyamg/pyamg") (synopsis "Algebraic Multigrid Solvers in Python") (description "PyAMG is a Python library of Algebraic Multigrid @@ -489,8 +489,7 @@ (define-public python-pyamg @item Krylov methods such as CG, GMRES, FGMRES, BiCGStab, MINRES, etc. @end itemize PyAMG is primarily written in Python with supporting C++ code for -performance critical operations. -") +performance critical operations.") (license license:expat))) (define-public python-tspex --8<---------------cut here---------------end--------------->8--- Pushe as 5f93aa182a32e4baecc6238c21d2538af0b18ad3 Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmWtV/MACgkQdtcnv/Ys 0rU/fw/+IOZZhR3lbieKS03odPevoWrvM924wclZjfFLUBApUH4Vz2E8+E/qk6oQ wboARPN8LygC7YL2GUdt0R1aS/lLzbB4aF5p3+KHRBP/qCR3SmxKhqVvVaa+YKzw qKBJRREQlg3i0/b1BdfluxSfgn1GR7k3x7vyMr4H9bcOYJYf2G6pB1/lcpj3yUQs GxSAYeAxstcgeCuRFJFBi2cGpxFsQDfJa0LVpj9ruCWNEQcGOrJW8LOeWEdqtXB1 QQOiW0nMDWzqrDg2XfSURLz+V8sOhXKz9rPecknOflNX2pNioTHB9t8oymgu0M6Y 4+4FJeocm3E+nMcWOQP18oJ8TrCr6O0KrI0Cw4A2l+AD5TcUfXOsoWbsDJfw9BpS F7DhE1Tp/stkdWV9TeUTenMXXmvNs+QWYS980yxq76LN+p8a3Z1BlpwqGUmZsU09 A2s5H2xxY8CaY8dcsjYaa/NpLEvzj3U70Ng1CE6gU48dU0HIIJds+KUhCj3KDD+E s5lHzizfbNCcL3eAwo6Bt+t0DAIq/S4ij+crJoFtwYNskVGWpKnm/cqTbFbaCViq ovVfWXoOPkeDw75at6nVnoikDJ7LYPT5RuAl1G/FW/6I/Xp3nwaAIhstYU2afnDd bIrUdaTiCPpI3JWi4uGR1bHrJh6nhLdFr/6nT4E+LrejiaWbkSU= =db57 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 07:27:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 19 Feb 2024 12:24:09 +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