From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aI8AKwgRZGTrpgAASxT56A (envelope-from ) for ; Wed, 17 May 2023 01:26:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IOP0KggRZGR4kwAAauVa8A (envelope-from ) for ; Wed, 17 May 2023 01:26:00 +0200 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 4725384DF for ; Wed, 17 May 2023 01:26:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pz42X-0005NI-GW; Tue, 16 May 2023 19:25:09 -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 1pz42V-0005LB-2W for guix-patches@gnu.org; Tue, 16 May 2023 19:25:07 -0400 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 1pz42U-0002Rl-Qv for guix-patches@gnu.org; Tue, 16 May 2023 19:25:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pz42U-0004Im-N5 for guix-patches@gnu.org; Tue, 16 May 2023 19:25:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63542] [PATCH 13/19] gnu: python-pynbody: Update to 1.3.1, simplify. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 May 2023 23:25:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63542 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63542@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 63542-submit@debbugs.gnu.org id=B63542.168427945016341 (code B ref 63542); Tue, 16 May 2023 23:25:06 +0000 Received: (at 63542) by debbugs.gnu.org; 16 May 2023 23:24:10 +0000 Received: from localhost ([127.0.0.1]:48282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pz41Z-0004FO-CS for submit@debbugs.gnu.org; Tue, 16 May 2023 19:24:09 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:56525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pz41S-0004Bi-IQ for 63542@debbugs.gnu.org; Tue, 16 May 2023 19:24:03 -0400 Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3063891d61aso46803f8f.0 for <63542@debbugs.gnu.org>; Tue, 16 May 2023 16:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684279437; x=1686871437; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gH0uee+WOHz0KwKQoCrBUsohG1nwKmGh9XiwkIRIspY=; b=FefZf0A1VGygpKkKIfq+N6UkRCwcca8rkQVZG8yWyVEQmxylmj7V3b2KYTftQ85SLm dG+JhSYP76kjEoJ6H33qEUT62A9b4zSFCy1GSz9zpnyyw7Ac6IJNYHpgmkNyMp2/36Am eHuLgIXZqJ3hbZvbBt4CmyMCu4FCR4elQZkFRcBV32S9/j0wSfkkVAuWlgiG/6q1e5Fa Gw4BYcBS6ZCx60eeVoMJqB4gbQ3FyxzeiLcc2xmUeR0YI6GcefDAsWZ+rJIGCns0WpJu Vtnzv0OAKU9mokktKLqXihbVGZAO3k3WCKDmO5g6OqpwQdhC6iAnA6geD9o/IxjR8Id/ yvBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684279437; x=1686871437; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gH0uee+WOHz0KwKQoCrBUsohG1nwKmGh9XiwkIRIspY=; b=OwXEh/D9GrafuKa9iBuCHPqRmMph759wmM2pUxvQOw8HY/D8xPW/chyixDSkp2hNG7 Y5BLrnSXrfHYl/R8wvHnT5W1uXeVGqA6uZ+XJ0iA5Sx3xgqiZzkP04sLbjc9MBraJpv/ Xp3NJmdIaAvQQBRLKwbvXSXEwBjef5vS+8FSw0wGBbqYpglcxQgBCYMYMXWHargVFXJa AqW9cjqjPWZeX5Lo8TdK4xOtMlmC/EqQTCQzfuZBaeO0R3GVPY8P68Ck8S1Ze4Uyva8v 1FqvGH6iBvjUpI0PHn0SRvxO++tUaDFI652pUOsGzWbwvevbKryixgkc53nGSYSlVADl YD5w== X-Gm-Message-State: AC+VfDwDNihyTxaAlFGcZfg2DXMIPde8TmwyuqIAED9ddwopRvHSSEQR OaFHqsB5MPySwW6IFcSwTe2iVWHNvnI= X-Google-Smtp-Source: ACHHUZ5z2znVknA/XEGcJN5HcQ42ub0ILA5YopQTaP5M1Y5dpjpnNaSRaGUgWAh21TaJxnV5/UYzWw== X-Received: by 2002:adf:f211:0:b0:309:3ce4:d4d7 with SMTP id p17-20020adff211000000b003093ce4d4d7mr650018wro.56.1684279436948; Tue, 16 May 2023 16:23:56 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id n10-20020a5d67ca000000b0030796e103a1sm949609wrw.5.2023.05.16.16.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 16:23:56 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 17 May 2023 00:23:42 +0100 Message-Id: <60d6982378d94467982a1ba02100ceb57ccedd2b.1684276665.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684279560; a=rsa-sha256; cv=none; b=HDaZCcbq78wlsJh9AmW/m1MSXeqOk0PWAK9b5mDx2QcKodyk+Az5mLOAHQOLjim4qnRk5b anIgJAHN8uOzvGPjXn2wz5Kq5QxGlGam+nVeZiCfxgJaWHOFYbZc9PE+d7TdVYQrctH/tk EDopWo9BCKNKBO56DmdyTVVyes4vOXX1YVpZNBdM1k0l170wXouWjThBChXfhGO29/QRuT vgOk5nEC+ymBkcj3EaUJg3PupMutBzvsirUXCyBQgd/m31ZwxtM0VcdqCE3cpieW2YCD+u ubP1f3XJ6JKAH7rfOF9nUWSfrjYhPw4UIAKZzbaMpI0DoWDnuKlg/aTZTm4y9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=FefZf0A1; dmarc=fail reason="SPF 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=1684279560; 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=gH0uee+WOHz0KwKQoCrBUsohG1nwKmGh9XiwkIRIspY=; b=e0RcUBi3KWFz5obC1Bn01955bxpGUo/E3Y6/9LY0JPCLnD/a9R65cX2rSq44CrU0HrUcXS T0urjet+hO/pt4Vs1flM8j4a83XqX8RuhgD//toGk+yfBU8xkSRgGo6/hRms457UqPbQpr 4Q/x3vDqO3vzESFuL1htXBhC7l9j1gXUS1G6xfhcxjuFzbe36gawmdz19u4ES20h3blu5X Cs0NLiH6uo7WZfFg6CuzF1wyp7V8hgT6BdhiPpm0Ji/dDcbLYFKXq7Hdtv/Zm4GfupdNw4 DdXaX6INTOkFou8I7IFP24OwGOA9CC33QLicbZW9eXL/+I58LS+NexBo1PqI2A== X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=FefZf0A1; dmarc=fail reason="SPF 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" X-Spam: Yes X-Migadu-Spam-Score: 8.81 X-Spam-Score: 8.81 X-Migadu-Queue-Id: 4725384DF X-TUID: uGEl43odlrOr * gnu/packages/astronomy.scm (python-pynbody): Update to 1.3.1, simplify package. [build-system]: Shift to pyproject-build-system. [arguments]: Do not modify standard phases, use #:test-flags instead. --- gnu/packages/astronomy.scm | 77 +++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 43 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5f5de193d0..058d3a6dcc 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2603,55 +2603,46 @@ (define-public python-pyerfa (define-public python-pynbody (package (name "python-pynbody") - (version "1.2.3") + (version "1.3.1") (source (origin (method url-fetch) (uri (pypi-uri "pynbody" version)) (sha256 - (base32 "1jxwk2s4qz1znvyak2lj7ld01kl1jh87xp81ki7a8dz1gcy93fkx")))) - (build-system python-build-system) + (base32 "1yp7ja66zqmbnh7bbwbyimxq1nkrmjrcif2rzfm1hswm0fp2fbga")))) + (build-system pyproject-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'disable-tests-require-testdata - (lambda _ - ;; Disable tests which need to download additional 1.0GiB+ - ;; of test data archive from - ;; http://star.ucl.ac.uk/~app/testdata.tar.gz - ;; https://github.com/pynbody/pynbody/blob/ \ - ;; f4bd482dc47532831b3ec115c7cb07149d61bfc5/ \ - ;; .github/workflows/build-test.yaml#L41 - (with-directory-excursion "tests" - (for-each delete-file - '("gravity_test.py" - "adaptahop_test.py" - "ahf_halos_test.py" - "array_test.py" - "bridge_test.py" - "family_test.py" - "partial_tipsy_test.py" - "snapshot_test.py" - "test_profile.py" - "gadget_test.py" - "gadgethdf_test.py" - "grafic_test.py" - "halotools_test.py" - "nchilada_test.py" - "ramses_new_ptcl_format_test.py" - "ramses_test.py" - "rockstar_test.py" - "sph_image_test.py" - "sph_smooth_test.py" - "subfind_test.py" - "subfindhdf_gadget4_test.py" - "tipsy_test.py"))))) - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (setenv "HOME" "/tmp") - (invoke "pytest" "-vv"))))))) + (list + #:test-flags + #~(list + ;; Disable tests which need to download additional 1.0GiB+ + ;; of test data archive from + ;; http://star.ucl.ac.uk/~app/testdata.tar.gz + ;; https://github.com/pynbody/pynbody/blob/ \ + ;; f4bd482dc47532831b3ec115c7cb07149d61bfc5/ \ + ;; .github/workflows/build-test.yaml#L41 + "--ignore=tests/gravity_test.py" + "--ignore=tests/adaptahop_test.py" + "--ignore=tests/ahf_halos_test.py" + "--ignore=tests/array_test.py" + "--ignore=tests/bridge_test.py" + "--ignore=tests/family_test.py" + "--ignore=tests/partial_tipsy_test.py" + "--ignore=tests/snapshot_test.py" + "--ignore=tests/test_profile.py" + "--ignore=tests/gadget_test.py" + "--ignore=tests/gadgethdf_test.py" + "--ignore=tests/grafic_test.py" + "--ignore=tests/halotools_test.py" + "--ignore=tests/nchilada_test.py" + "--ignore=tests/ramses_new_ptcl_format_test.py" + "--ignore=tests/ramses_test.py" + "--ignore=tests/rockstar_test.py" + "--ignore=tests/sph_image_test.py" + "--ignore=tests/sph_smooth_test.py" + "--ignore=tests/subfind_test.py" + "--ignore=tests/subfindhdf_gadget4_test.py" + "--ignore=tests/tipsy_test.py"))) (native-inputs (list python-cython python-pandas -- 2.39.2