From patchwork Thu Apr 27 23:41:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 1453 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2D08727BBE9; Fri, 28 Apr 2023 00:42:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DA1ED17ACE for ; Fri, 28 Apr 2023 00:42:41 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psBFY-0005EB-VB; Thu, 27 Apr 2023 19:42: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 1psBFU-0005DV-Ff for guix-patches@gnu.org; Thu, 27 Apr 2023 19:42:04 -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 1psBFT-0001zc-4a for guix-patches@gnu.org; Thu, 27 Apr 2023 19:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psBFS-0003Ho-8p for guix-patches@gnu.org; Thu, 27 Apr 2023 19:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63136] [PATCH 00/14]: python-astropy: Update to 5.2.2, fix build. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Apr 2023 23:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63136 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63136@debbugs.gnu.org Cc: Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168263889312582 (code B ref -1); Thu, 27 Apr 2023 23:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2023 23:41:33 +0000 Received: from localhost ([127.0.0.1]:60010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psBEz-0003Gs-9i for submit@debbugs.gnu.org; Thu, 27 Apr 2023 19:41:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:53980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psBEx-0003Gk-HV for submit@debbugs.gnu.org; Thu, 27 Apr 2023 19:41:32 -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 1psBEw-00058g-TM for guix-patches@gnu.org; Thu, 27 Apr 2023 19:41:31 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psBEb-0001tT-PC for guix-patches@gnu.org; Thu, 27 Apr 2023 19:41:29 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3f315735514so41243205e9.1 for ; Thu, 27 Apr 2023 16:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682638865; x=1685230865; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9l9eta4JEGUKJqO3xVlOvWwlu9RzvXWFJcxia9CQSso=; b=nWTBQ0DZnDvh6r36Fh4VwVxpCSElop/9QHbJxCX5+K6iiXD18QsdyU7ZzZhxCSutnO JEGuhpT5qLoRqnRkH37QuR9U6OJBqNYpH9TTPjtToZeJvALMQEM0ngyjvawFslSuj1yA 7+CYc7NNGpDsz/HB9WgjxCRyucrBazperJ0ARWXDC88N8V5JjmZGA9EIiFJTV/6TndUS +Srg4EbCA7LDKJqd0DrbE4cTvYG8KmpEuOU22CWiPY08Wdzp2sBKwiTz0Yms8qUufrGv lFqpHJs3EkncyFlZdDb2T4VnjysZ2KL1NvwKHDRLOfp/v7U2BMpZGWGjePr+RqZdiZyn /biQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682638865; x=1685230865; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9l9eta4JEGUKJqO3xVlOvWwlu9RzvXWFJcxia9CQSso=; b=K9VYWcaI5+Fx9ZA2Zt1BnhfPNja2QhWx5NhrBCo3c6A/8ES6AQFeEBUCzqHgNdp6JI 0rJ8hFV2BRSp7K4PDzqlZzvA5Yf+pJvZQUTgVe1upIFBFO/L4OnpnJIcxb7cWpd56nR9 tUtzAJTHsvQWssXZ3mQjBlU78aF9isgft/HJ/KmjROuflf+7I+OEs1NFg7+AwbFzQVaw gAJItvVat/3DKXOgn2Hl4BRCyKcp45E4sFWNh6/ERM0sz0TdcqdOl4wCCewcYk8iYD4s WWcfro/eesyfD4BgMMuzlwRCdi1Nz4sCwTPj6ozaMsQNw4mg7ggB3cPFDEjdRxC9lFwc 7xHg== X-Gm-Message-State: AC+VfDwS7FQqlvIoPy2kLBAVKSKnohxc5EvdUPPqdQPjgmngFIWO91SP lHE3BuT7ESWAtYWV82kbzvJHYqzDxS8= X-Google-Smtp-Source: ACHHUZ5LTfWiTXolmH6XGbne4uOGmJHQUR/VDFIey/iqqN11FBHfHDQ9EuQx9nSjnIBCZIDNIAP7ig== X-Received: by 2002:adf:ea04:0:b0:2f9:805f:eecb with SMTP id q4-20020adfea04000000b002f9805feecbmr2357132wrm.3.1682638865121; Thu, 27 Apr 2023 16:41:05 -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 p17-20020a056000019100b002fda1b12a0bsm19710586wrx.2.2023.04.27.16.41.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 16:41:04 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 28 Apr 2023 00:41:02 +0100 Message-Id: <20230427234102.18801-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=sharlatanus@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi Guix! Here is the first portion of patches fixing failed to build graph of some astronomical software where python-astropy plays important role. I tried to bump to the latest buildable version and clean up packages where possible. Package h3 needs some extra attention to check the license (it is Uber's project with Apache-2 license as seen on front page). h3 comes as C library with few language bindings, maybe, rest of them would be included to Guix :) but for now it's only python-h3 and lower version python-h3-3 to build python-timezonefinder. > guix build --rounds=2 python-pytest-doctestplus python-pytest-filter-subpackage python-pytest-astropy python-extension-helpers python-jplephem python-skyfield python-pytest-remotedata python-pytest-arraydiff python-pytest-mpl python-astropy > /gnu/store/1rgqf2szj1lsxpblb2wcb6hj1vykbpaf-python-astropy-5.2.2 > /gnu/store/xrkmzpaazaydhfchrl9dii522fsd4qir-python-pytest-mpl-0.16.1 > /gnu/store/4kx2im5j5pgydmhfflqzbipqwf2vx1xq-python-pytest-arraydiff-0.5.0 > /gnu/store/gr3sqfqyck4mmvqx735c8qrj3bhy7ni7-python-pytest-remotedata-0.4.0 > /gnu/store/fdp92xqqkiv4pggfsycxpkbz5pwk8g8p-python-skyfield-1.46 > /gnu/store/8j6hkls1jnadcnbn7nc4qjw3jd1wzhyc-python-jplephem-2.18 > /gnu/store/f43gcwsh51qnzx87gwm2xlrhry925nrm-python-extension-helpers-1.0.0 > /gnu/store/jqq065pc1g8z1822crpk8854pwi194hj-python-pytest-astropy-0.10.0 > /gnu/store/b3bpzjzklx0xklp10xnwscia7c7hx1pj-python-pytest-filter-subpackage-0.1.2 > /gnu/store/rwzqivchng64qwv4r5v29khn10bs53qz-python-pytest-doctestplus-0.12.1 Astropy has a lot of tests and 97.207% passed! > = 23768 passed, 420 skipped, 139 deselected, 124 xfailed in 281.98s (0:04:41) == > phase `check' succeeded after 287.3 seconds > starting phase `sanity-check' > validating 'astropy' /gnu/store/1rgqf2szj1lsxpblb2wcb6hj1vykbpaf-python-astropy-5.2.2/lib/python3.10/site-packages > ...checking requirements: OK > ...trying to load module astropy: OK > ...trying to load endpoint console_scripts fits2bitmap: OK > ...trying to load endpoint console_scripts fitscheck: OK > ...trying to load endpoint console_scripts fitsdiff: OK > ...trying to load endpoint console_scripts fitsheader: OK > ...trying to load endpoint console_scripts fitsinfo: OK > ...trying to load endpoint console_scripts samp_hub: OK > ...trying to load endpoint console_scripts showtable: OK > ...trying to load endpoint console_scripts volint: OK > ...trying to load endpoint console_scripts wcslint: OK I could not list dependent packages due to internal faileur: > ./pre-inst-env guix refresh python-astropy -l > Backtrace: > In ice-9/boot-9.scm: > 1752:10 16 (with-exception-handler _ _ #:unwind? _ # _) > In unknown file: > 15 (apply-smob/0 #) > In ice-9/boot-9.scm: > 724:2 14 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 13 (_ #(#(#))) > In guix/ui.scm: > 2300:7 12 (run-guix . _) > 2263:10 11 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) > 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) > In guix/store.scm: > 659:37 8 (thunk) > 2168:25 7 (run-with-store # …) > In guix/scripts/refresh.scm: > 494:47 6 (_ _) > In guix/packages.scm: > 1405:32 5 (package-closure _ #:system _) > 1592:16 4 (package->bag _ _ _ #:graft? _) > 1693:48 3 (thunk) > In gnu/packages/polkit.scm: > 165:22 2 (inputs #) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > error: polkit-for-system: unbound variable Thanks! Sharlatan Hellseher (14): gnu: python-pytest-doctestplus: Update to 0.12.1. gnu: Add h3. gnu: Sort use-module alphabetically in (gnu packages geo). gnu: Add python-h3. gnu: Add python-timezonefinder. gnu: pytest-filter-subpackage: Update to 0.1.2. gnu: python-pytest-astropy: Simplify package. gnu: python-extension-helpers: Update to 1.0.0. gnu: python-jplephem: Update to 2.18. gnu: python-skyfield: Update to 1.46. gnu: python-pytest-remotedata: Update to 0.4.0. gnu: python-pytest-arraydiff: Update to 0.5.0. gnu: python-pytest-mpl: Update to 0.16.1. gnu: python-astropy: Update to 5.2.2, fix build. gnu/packages/astronomy.scm | 29 +++++--- gnu/packages/geo.scm | 127 ++++++++++++++++++++++++++++++++-- gnu/packages/python-check.scm | 116 ++++++++++++------------------- gnu/packages/python-xyz.scm | 25 ++++--- gnu/packages/time.scm | 37 ++++++++++ 5 files changed, 238 insertions(+), 96 deletions(-) base-commit: b8b3af93da5340eecab77fa7b12c7ce364bf11cf