From patchwork Sun Jan 21 16:53:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 59284 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 5C02227BBEC; Sun, 21 Jan 2024 16:55:44 +0000 (GMT) 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_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham 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 E864B27BBE2 for ; Sun, 21 Jan 2024 16:55:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRb6H-0003IZ-Bw; Sun, 21 Jan 2024 11:55:13 -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 1rRb68-0003DT-B2 for guix-patches@gnu.org; Sun, 21 Jan 2024 11:55:05 -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 1rRb67-0004Bo-VZ for guix-patches@gnu.org; Sun, 21 Jan 2024 11:55:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRb6A-0007gO-CQ; Sun, 21 Jan 2024 11:55:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68641] [PATCH 09/19] gnu: python-sunpy: Update to 5.1.1. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 21 Jan 2024 16:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68641@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier , Sharlatan Hellseher Received: via spool by 68641-submit@debbugs.gnu.org id=B68641.170585607229343 (code B ref 68641); Sun, 21 Jan 2024 16:55:06 +0000 Received: (at 68641) by debbugs.gnu.org; 21 Jan 2024 16:54:32 +0000 Received: from localhost ([127.0.0.1]:38752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRb5c-0007d6-6P for submit@debbugs.gnu.org; Sun, 21 Jan 2024 11:54:32 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:45394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRb5Q-0007a7-V6 for 68641@debbugs.gnu.org; Sun, 21 Jan 2024 11:54:21 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40ea5653f6bso15446125e9.3 for <68641@debbugs.gnu.org>; Sun, 21 Jan 2024 08:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856051; x=1706460851; darn=debbugs.gnu.org; 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=e/nvxAn77NuZ7009EeUX7WUAvqGuyj0Ebe9LuCQsaAQ=; b=iA/izcmF/AZhyp3dGVJMdVRWb+0M5okWczr19lomYCDkmidFqA3mQu6OL+U7wz8nSO 6wZDggn6ssNuv7uNZ+pSGV07LdQI2IZJQU7gm9aovXH14EprqJtgw7zmGi2bdu53V8/U ec8GEjBRd00WvmUABJVb0FGlM3c07WxyhY7tLZtGLGO7GGoNC8+EIFse/M4vZCyKTOnz nIw5m0fV5t2kAi7j8zf/mlh6Q1uldNOJekCBUtft7mwexRNTXHQAL/sQwDzrlSsRpfSp PJCMbxgmZiv14zxlLoeugLw+hcdRFn90OVHFuIOAlxzO9t84D2Cykykfp6SQjSRk3rZa uMzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856051; x=1706460851; 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=e/nvxAn77NuZ7009EeUX7WUAvqGuyj0Ebe9LuCQsaAQ=; b=hiqtpS6VlVaZVSMDEv5pZT5hHqGnMu9IMMX1/3mrCVw+s+zqt4WMIpwdGLeZ+1Pm0l T2rSLdg+q/UVOJalphSk1o53E/sUJX6xSGmap9o27IZnSpkGbwdLuVcbECaztiE5tV8N bGM56bIBmrFKa+23jA83cDxB71xrVOnfGcrBao7l1353H1mLcIiz4iuqp2k1bhiPgDd2 Vjk0+6hz1oX9kqbbSczDPuKyb+MQYThKOHct8/NB+3h2UCCoP3d7SbPdX0b7Wl0FFNhz IMzhPHyvKY6G3wEnZvP+82EJXahkub8Rz5YpgVd6TdFq/SM8+A/A73R+rjTnsUWmUPyS lzJw== X-Gm-Message-State: AOJu0YznFXWjAuYYqjuE4w8nFLEF5r+ipz+xDimT53nOYKss8uaxetJ0 yLnXNz0U4HG6XH6b1rCNgKPEFfVniOckK35fwXmvtRhe/LyjvAS+8HxaZwAa1wQ= X-Google-Smtp-Source: AGHT+IGZZ5RrN3abPV0DuWJvj5v4t14G9fnX2+6Fut84PuzO9a0/rKEC9wyOdtgDrDe2vsmK0w3kDQ== X-Received: by 2002:a05:600c:1ca6:b0:40d:8397:e6ef with SMTP id k38-20020a05600c1ca600b0040d8397e6efmr1570453wms.144.1705856051655; Sun, 21 Jan 2024 08:54:11 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id bi13-20020a05600c3d8d00b0040e8800fcf3sm16242222wmb.5.2024.01.21.08.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:54:11 -0800 (PST) From: Sharlatan Hellseher Date: Sun, 21 Jan 2024 16:53:49 +0000 Message-ID: <9788bf9470c5a1c777d4d4b00556d988d5578eb9.1705854493.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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 * gnu/packages/astronomy.scm (python-sunpy): Update to 5.1.1. [arguments]<#:test-flags>: Ignore test_spice.py as SpicePy is not packed yet and python-spicepy is optional. <#:phases>{prepare-test-environment}: Add pytest.ini configuration file to fix tests. Change-Id: Icfb05ce29b376a05291e9f7020170e389d0081d2 --- gnu/packages/astronomy.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ce84b50e54..d757fc75d9 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2440,13 +2440,13 @@ (define-public python-sgp4 (define-public python-sunpy (package (name "python-sunpy") - (version "5.0.1") + (version "5.1.1") (source (origin (method url-fetch) (uri (pypi-uri "sunpy" version)) (sha256 - (base32 "1r4phc91k527kvpa2jd1d417x97wqyrm3ydayr9hshwz1k5v5ngf")))) + (base32 "07rfdj4v29kcb718sgjfsagazvnl11r01ciqjvazr5x3yadfqrwk")))) (build-system pyproject-build-system) (arguments (list @@ -2456,7 +2456,9 @@ (define-public python-sunpy ;; It struggles to find python-opencsv package info with ;; 'importlib.metadata' "not test_main_nonexisting_module" - " and not test_main_stdlib_module")) + " and not test_main_stdlib_module") + ;; Requries SpicePy not packed in Guix yet. + "--ignore=sunpy/coordinates/tests/test_spice.py") #:phases #~(modify-phases %standard-phases (add-before 'install 'writable-compiler @@ -2464,7 +2466,11 @@ (define-public python-sunpy (make-file-writable "sunpy/_compiler.c"))) (add-before 'check 'prepare-test-environment (lambda _ - (setenv "HOME" "/tmp")))))) + (setenv "HOME" "/tmp") + (call-with-output-file "pytest.ini" + (lambda (port) + (format port "[pytest] +python_files = test_*.py")))))))) (native-inputs (list opencv ; For tests, includes OpenCV-Python python-aiohttp @@ -2501,6 +2507,7 @@ (define-public python-sunpy python-scikit-image python-scipy python-semantic-version + ;; python-spiceypy ; Not packed yet in Guix, long jorney. python-sqlalchemy python-tqdm python-zeep))