From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4OGLEYYRgmWlTQEAkFu2QA (envelope-from ) for ; Tue, 19 Dec 2023 22:56:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gGxLDoYRgmVmOAEAqHPOHw (envelope-from ) for ; Tue, 19 Dec 2023 22:56:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=nhvtKXoX; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703022982; 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=SuxWXOQlBNGTyyptBxQmduYs+YwjoMXD0B2t/f1jjzA=; b=YjcIwFVZ1aV0w8JJB6fiPJPxikVp+ZtlcPBOJJPUztODTkInaCwMQTjmCtGsJOwkb1hJRB Jnn8t3msXabUKJRJ4htXEJagIHkrqYVIH9b12EQvBuw1jFjSQ8AyNKtvk5caeD3NQyKI8n GNxUrv+SwZMo4xSUI0uv7nePSjXsdng3/M20xZJMxzgF7AO796OPaXhmnY7MRqyYP3Q5d2 qvht5rd8/o680d1jc3y2qeBMmZPaNGComb+x1qg3p492pGLC3KA06MfzXI3SpRmiODvSBV b/P9E5djDtY70AJcn8B93cLqJI+/OoBTqqQT2tXCWpnwSt1wsw0gbDFon5wYaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703022982; a=rsa-sha256; cv=none; b=JqJvXG/xgyTQWylv+AasRZjuJqbikFtV6S7FbaEVDjbGOnxW7DXvzoQEEWPXw8KAIO6Jzz J/sFfnKZV2aTA9Jcm4d3fSsa1UbhxIu6lqVlR0nFc8YEExVt9ePkPjBCuDOJXH2koBhQ6A dyW6OakYouPVUmBzfvq+7UBzNUyijLYQ1PHfgbHeWLrOVZKiQLPJBDQIQ6b1+0e1pIXrbi sbB3jfG45IgC7fc9pWvMHP5PWpzFS2FUgRENQW/Ci1E0aF+SLPuHw7RDtXO2V/44WVK7i5 SLsSG6YcNoARYpCxn/xhaK97OYihydQQgDIoW8otfiU8rDUjoshk+rrc5wtG2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=nhvtKXoX; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) 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 13035621F6 for ; Tue, 19 Dec 2023 22:56:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFi4U-0004nv-Fy; Tue, 19 Dec 2023 16:56:14 -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 1rFi3R-0004ML-71 for guix-patches@gnu.org; Tue, 19 Dec 2023 16:55:14 -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 1rFi3Q-0003OF-9f for guix-patches@gnu.org; Tue, 19 Dec 2023 16:55:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFi3T-0005l7-0n; Tue, 19 Dec 2023 16:55:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67915] [PATCH 22/32] gnu: python-spherical-geometry: Update to 1.3.1. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Tue, 19 Dec 2023 21:55:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67915 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67915@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 67915-submit@debbugs.gnu.org id=B67915.170302286821823 (code B ref 67915); Tue, 19 Dec 2023 21:55:10 +0000 Received: (at 67915) by debbugs.gnu.org; 19 Dec 2023 21:54:28 +0000 Received: from localhost ([127.0.0.1]:37600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFi2l-0005fn-OB for submit@debbugs.gnu.org; Tue, 19 Dec 2023 16:54:28 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:52712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFi2W-0005bx-Ep for 67915@debbugs.gnu.org; Tue, 19 Dec 2023 16:54:13 -0500 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3367903b4dcso183256f8f.1 for <67915@debbugs.gnu.org>; Tue, 19 Dec 2023 13:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703022844; x=1703627644; 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=SuxWXOQlBNGTyyptBxQmduYs+YwjoMXD0B2t/f1jjzA=; b=nhvtKXoXeu3i1DlaqdRzMUTbomFHc68OCKwXGvpO44FygaYrS+9pIwjo2SSWiTCgdi E1Y76rTvVE4eor5ymCZLmaKP/pZ/LfAbJbUrUp13zVzS/CYhEC5Ut4snSZ8qjVfUi2W8 YTcvNM8AqEriBRgZZCPiAODsEiScUTrVMsbLFx1TEViwXwghLy3RzUMQN8wlKBqGRvKU Mdi1up+CcUGlAVlDsL/4hRqbQpRLaHV888l2uA3LV5mgoHbi9ONhEpkmDHiUa7Ch+Nkm nd63/SU/CAdrwNF1iypP/GMQxpAOwdca7dbk0gxW5p4czG6oZsrqCNxOMe45zsaEECwJ yDyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703022844; x=1703627644; 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=SuxWXOQlBNGTyyptBxQmduYs+YwjoMXD0B2t/f1jjzA=; b=J1tOJfAvVcg57ahA5x9rVHNhUPBQcnohTE6E5RLZm11NNyYpVhoVxJtkKSXWFdswHH Ugik5ZM9M3DjWG6WrxBYvbozxGpZ2bzTMyTHituxmTpgItA2Ipq2XFacCkXEPqV74V2l xYE7n7gpDl7XQvAozwa0rknuiwKKyogu0ySUaMam5FF8CFsmRPfE4PAoimolAlRWTaHW 2eEo4UX3mlLzSYnNA0+ENa+XoIoKw7X6ZSSnt3bhX9VY0NtaAGt4dU2PzRzjnTVEbLTk 3AipoOrkAWVmlVHrruq2cw/ni+b0MMWfbaMMizPKK8SAEZ97B5/KqYoOsXgWZhPvOGeJ 4O1w== X-Gm-Message-State: AOJu0Ywoj6NJH+G3RSG6iwnbAcbQdZrCnHUP/RrOW6mUsMPy737MI21j fOHiusTMBbhNphGsj5JCtYRKBGtmrQv3tQ== X-Google-Smtp-Source: AGHT+IFf4FgAAIHtp6cRHU3Ud2vFSoyrdD6f0XSlsMpe3ehJTmP0/Gydb4SnN4peNTeQiDqDQPYoZg== X-Received: by 2002:a05:600c:5408:b0:40d:2f89:2dfa with SMTP id he8-20020a05600c540800b0040d2f892dfamr458366wmb.50.1703022843831; Tue, 19 Dec 2023 13:54:03 -0800 (PST) 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 a8-20020a05600c348800b0040b4b66110csm4799867wmq.22.2023.12.19.13.54.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 13:54:03 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 20 Dec 2023 00:53:29 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 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 X-Migadu-Spam-Score: 0.38 X-Spam-Score: 0.38 X-Migadu-Queue-Id: 13035621F6 X-Migadu-Scanner: mx12.migadu.com X-TUID: mHv9wtwfVsmd * gnu/packages/astronomy.scm (python-spherical-geometry): Update to 1.3.1. [arguments]<#:phases>: Replace 'build-extension with 'prepare-test-environment phase which includes Pytest config set up to prevent tests from failure. [native-inputs]: Add python-pytest-astropy-header. [home-page]: Correct it. Change-Id: Ib49201f62c32555355df5821383ef416245d4d50 --- gnu/packages/astronomy.scm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9012f758d6..cc1a78b90e 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2602,9 +2602,7 @@ (define-public python-spectral-cube (define-public python-spherical-geometry (package (name "python-spherical-geometry") - ;; XXX: Can't be updated to the latest see: - ;; https://github.com/spacetelescope/spherical_geometry/issues/227 - (version "1.2.22") + (version "1.3.1") (source (origin (method git-fetch) @@ -2613,7 +2611,7 @@ (define-public python-spherical-geometry (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0kzcncqir4v7nhk9lxj9gxr32p3krkaqa58y2i4kksgxxy24qw4z")))) + (base32 "172f81h42jq6mv3gpx497z2nkhkx11w4pzmcqljcicri2zqj1m6g")))) (build-system pyproject-build-system) (arguments (list @@ -2627,18 +2625,23 @@ (define-public python-spherical-geometry (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version) ;; Use our own libraries in place of bundles. (setenv "USE_SYSTEM_QD" "1"))) - (add-before 'check 'build-extensions + (add-before 'check 'prepare-test-environment (lambda _ - (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (invoke "python" "setup.py" "build_ext" "--inplace") + (call-with-output-file "pytest.ini" + (lambda (port) + (format port "[pytest] +python_files = test_*.py")))))))) (native-inputs (list python-pytest + python-pytest-astropy-header python-setuptools-scm)) (inputs (list qd)) (propagated-inputs (list python-astropy python-numpy)) - (home-page "https://github.com/spacetelescope/tweakwcs") + (home-page "https://github.com/spacetelescope/spherical_geometry") (synopsis "Python astronimical package for handling spherical polygons") (description "The @code{spherical_geometry} library is a Python package for handling -- 2.41.0