From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AJ8iKlOHbmTlDgEASxT56A (envelope-from ) for ; Wed, 24 May 2023 23:53:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WCASKlOHbmRNZwEAauVa8A (envelope-from ) for ; Wed, 24 May 2023 23:53:23 +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 2CFC919F71 for ; Wed, 24 May 2023 23:53:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1wPt-0006j3-UF; Wed, 24 May 2023 17:53: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 1q1wPs-0006go-6W for guix-patches@gnu.org; Wed, 24 May 2023 17:53:08 -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 1q1wPr-0005P8-To for guix-patches@gnu.org; Wed, 24 May 2023 17:53:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1wPq-0002Uq-Pt for guix-patches@gnu.org; Wed, 24 May 2023 17:53:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63542] [PATCH v2 13/20] 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: Wed, 24 May 2023 21:53: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.16849651429421 (code B ref 63542); Wed, 24 May 2023 21:53:06 +0000 Received: (at 63542) by debbugs.gnu.org; 24 May 2023 21:52:22 +0000 Received: from localhost ([127.0.0.1]:45341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1wP7-0002Rn-Om for submit@debbugs.gnu.org; Wed, 24 May 2023 17:52:22 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:55608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1wOv-0002OQ-GA for 63542@debbugs.gnu.org; Wed, 24 May 2023 17:52:10 -0400 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-3063433fa66so963085f8f.3 for <63542@debbugs.gnu.org>; Wed, 24 May 2023 14:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684965124; x=1687557124; 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=vbjzaMsZEvEOsoLR1eTmY5g1fktqgeUD2To9cemuoXM=; b=Zv9ShTkB6kRH2kPfgj7X+tltPe7RDgm3bpZQ1l0CJYrbeerkjVvwYl5AtwIY6r7OlY 1C3H1TD6Yej6hlrMKEkUGEL+pWv/0zcqxzJ5ZSotSaviVQUZ/X3Ip51JjHPcN0qj+CRl vsn8rgkXG317s/WFEgel/bGgXWev4kSl7TVpAaD3BRqD4AQQjHgmkVcn0xWwt3pBX/zw qVCOGCC3NiYFPFX18XvfnVG9geKRbmuU/M2SmZSX0nUJjaVSDBY5O2lKAWjbWIu9FLFg DYzDmy5oKoreJqc5VjaUQ38F3Rz7vR5+HFFXzrf6dHssDLQNoMwUm8dx/clkPRH54Gym +28g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684965124; x=1687557124; 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=vbjzaMsZEvEOsoLR1eTmY5g1fktqgeUD2To9cemuoXM=; b=e1Ui9bMhc0S0F6v1p2t/xhar47G4VV14vLdRjVFywCjIZqCv7u3Km72pBwuP25Vue0 2bW9EOyB1/sX4XSmvdRU6ljddy2X1Y2LDsJrCi+S3rjzIo5qhle4vlBOr8Pw3N9Zu7ut WGmv8E4jePS1vF18Vx15zvnfwRiI8PkcUHc416H5Pj9cYjb6y0LyzuJY5Bh0G3WvNAPe ofriQC0A9dbswifUj3WO+ZJw1tOnU80unUMDvdEvXTQbQp0IQ0uCFfr4RpITokWKbKXT ksMdFVTZdgwLyO96m1JCdsQ+YSpyfKTsVTC+IEbzf58odG1j6q8l1rgI2SiXeTNJt6hF 7RNQ== X-Gm-Message-State: AC+VfDy2CXENCoJwX+1Z8U3wPcNnELkhw3g5HCI2tBkuXJiGUNt8+Awc Bb1Lk3iDzPdwZC1jcov+rPIi4AZ6+gQ= X-Google-Smtp-Source: ACHHUZ5HCaHFBGtMGx354PobBPbGJKp0vfUwIybRmm38qxGl1uDxif/E8NhsGQ2GjdLDHyBTvhtVuw== X-Received: by 2002:adf:f141:0:b0:2f6:c5bd:ba13 with SMTP id y1-20020adff141000000b002f6c5bdba13mr595351wro.42.1684965123881; Wed, 24 May 2023 14:52:03 -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 c13-20020a056000104d00b0030632833e74sm15609806wrx.11.2023.05.24.14.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 14:52:03 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 24 May 2023 22:51:47 +0100 Message-Id: <7666bf908c80b9669128a73eadbd87a59ae735b6.1684964119.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684965203; a=rsa-sha256; cv=none; b=F7UcT7UUVo0efyecIT+ffYulFf6Cc/54tsfKOtQ7P21mxrSBS4IXIlxm+HVxRi6ODsuXA4 ClJUlgIVImbCL9TfPVASPuj40wHnsTUxuMDCL9FreOPtwzQJlHESZCAcKSwG5IgdFxuXtj Sm/QeWRUM2BmHA3yvpM3ZCqG+8NHjMDfO5TCw9Eg5BGS6bhP7tWYmt1zkDaWhsk7Pa59U9 WxFI7AQKtnnDgKAcVfs8yWBqr1f0Mc25WL8T+pU7dCOJQWl56gCfsaDPF3A/ACX1xLWbzc zFiji7rftufsbdhX5sAPakNrE0SFE4/Fbe+HR30pv4bPTyM6SqTg9JE0I7HQSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Zv9ShTkB; 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=1684965203; 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=vbjzaMsZEvEOsoLR1eTmY5g1fktqgeUD2To9cemuoXM=; b=Q9uIcyl7mHaXjdFzd/AjKyggAAcH3Ie/l4qsTz3fvxUHW+gwRM9kSI50mpDznCVVsNts/1 HPSGrnOw/j1kgd/HnxJGLb5l3kR3+lq7b0tlVTmRfgsD17ZXN7Hyt0VGgOzHcxIBUNC7XX QZ5SbxeTp7qjArkBF7waE+kPSgvqU7a6G+fel6mtbFb7D7pFo5tHSmZoFMm6n4Ut7rIRo+ +IVCTjfiWlioNCdV2nCqwIAtsIt9/xDwr6MSvpT+3hnWL1duzDfb7Unh0N3YIt2asA7TT1 hWGH4f+CL7i4Kx4I9v7SsGeMRVHLpX2aiIwiCbXoPz43m660tI90Tp5OpFMK5Q== X-Migadu-Spam-Score: -0.17 X-Spam-Score: -0.17 X-Migadu-Queue-Id: 2CFC919F71 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Zv9ShTkB; 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-TUID: JB6wAd09mYHM * 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 c74867948f..011e1374fc 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2602,55 +2602,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