From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2OorG/0+V2U5fwEAauVa8A:P1 (envelope-from ) for ; Fri, 17 Nov 2023 11:22:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2OorG/0+V2U5fwEAauVa8A (envelope-from ) for ; Fri, 17 Nov 2023 11:22:53 +0100 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 3801315732 for ; Fri, 17 Nov 2023 11:22:53 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="PV/G6Y8S"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1700216573; a=rsa-sha256; cv=none; b=Goj0onqy6JlDklU70vaALuNepx9bc7ZlZbO52v+Ass6PC3Sl9+FT8rxTdq8M67YevxyfEH hno6yuDvUF4eeHTCH/M8WSmHGauSaOYPvgXuyZKCY4bCfUZ5a1bEm4xKDqqSBfTKrF9v6S 7gC5LP9YsB8iDRIAIbHDyIyfHMZPckRVHh8fGZwh5MSikEFmKJK4xsKQafPsBJKOU+itEr ZBiKsFm5k3Ogoe0jGBvT01vZEp2Ubn6yoDXRXw3difZ/OdUkNbkEJWdJnm3jMIwTxbFuSU gOgWjWmceIgUsm5E/yN1cA+GWAtRplOpJdclK1v9a8/Q6ecSMS6p7Y+XGazX5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="PV/G6Y8S"; 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=1700216573; 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=i1osnTCwfxwxk8EqdLfUoNev4MdsIxFaj9diAl4gWbs=; b=upHRJRGmrTQug6r+W8+yRYaqHwaXimcwLwJTzA/F5Bzmer7lXPQizroEaAhff3/aLKya9V nlZyFDO/SwAAXPnPdiD1lAMDVA0s4h0VhwHFuTAAaubb66Uw/W12h+6vndgKZiwT3Wlk2a T5rpa09D6Ye1erlmwrjADWscomBVdpUeUwB55KOPpJLvVMKalSz1sPiuRRfBtEIR4lprSj vOXhRehrtECGxx7VdOoVfsY8CcE6kc884kNgCjDQTUViOZX4/WUBVWpHHLEgN9O64K4N6T ysmyllsl1EBNftZH9XcB463N41l6RXc3u+9/M3JPovkB7iJ49mf8YMoENoHETQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3vyw-0001PT-RG; Fri, 17 Nov 2023 05:21:50 -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 1r3vyO-0000xc-7m for guix-patches@gnu.org; Fri, 17 Nov 2023 05:21:18 -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 1r3vyM-00057P-BL for guix-patches@gnu.org; Fri, 17 Nov 2023 05:21:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3vyK-0001I8-Iz; Fri, 17 Nov 2023 05:21:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67237] [PATCH 24/32] gnu: python-poliastro: Improve package style. 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: Fri, 17 Nov 2023 10:21:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67237 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67237@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 67237-submit@debbugs.gnu.org id=B67237.17002164524629 (code B ref 67237); Fri, 17 Nov 2023 10:21:12 +0000 Received: (at 67237) by debbugs.gnu.org; 17 Nov 2023 10:20:52 +0000 Received: from localhost ([127.0.0.1]:45232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3vy0-0001CV-D5 for submit@debbugs.gnu.org; Fri, 17 Nov 2023 05:20:52 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:60810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3vxl-000194-6A for 67237@debbugs.gnu.org; Fri, 17 Nov 2023 05:20:37 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3316ad2bee5so224430f8f.1 for <67237@debbugs.gnu.org>; Fri, 17 Nov 2023 02:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700216431; x=1700821231; 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=i1osnTCwfxwxk8EqdLfUoNev4MdsIxFaj9diAl4gWbs=; b=PV/G6Y8SECpYCVhHkPPimVxyJbZe4xZkeIJhsD/iMCU80yqThy2f7ZFUK/b1UjViey Cr9M0WS1Iyuq4L6mWEAYUaKEVKlRme9RwIC/cQUveKDb0AuDvGuRp00p3NyGjap7Nqit 8RQvOXr0399FocBp0X6rXh7L0U4i8GhQ1wFVJqgsgQXu5p0c+iHTZkGDITamS5jyjVou 5aEwAnGaBZCNoCVVIstCerY36a3koVHKPcTStnZPOMS1ExQ2bAcSFfuVUanv6Z/EOS/1 LDowGeR+C3Df/1pvE3oO/T83KhN0mwzOGvU+swsAFMwvsYectbqj5HhtVeeEbFrKrnD8 IfPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700216431; x=1700821231; 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=i1osnTCwfxwxk8EqdLfUoNev4MdsIxFaj9diAl4gWbs=; b=TSU64W2oJbPpaP4B1NwIBrHPGOe1vFJ5rPMClR91yG4MerHMYTBUYBGKnPFXrt/6ii HHN4io38yAoROoC9vhTVBVxuNzpiCi6WeN7hjtTV5pCkZXxdzK8lHh/fwgc9jxlwimmU yhoJjvKS02Gte4qLWPOJCRoWZh4v4k+DPxoHKr2asxs8U4iZLpQSXjHRkFBgKYnrrY/s Qh7q8q1LBKDDdrVhN5PmIOG+mGTnPxCEm+p04J4RgfCT0z+lEJcEVMEfGh1rJbYBCzQ2 Y5AnT/Q/YPU3i6gsW+yMmm0au9PIDSRpjkB6LzG7fiT60iEUjYCcyALcL94x6v/HoyYF 7Z9g== X-Gm-Message-State: AOJu0YyOOMP1KidHRk1udzVjORmJA7vP/mTyCyFr1JIcjiDr6kBs0KSQ bf51YQE907XWym2ZjaZTLnkM+w3yyPj7+Q== X-Google-Smtp-Source: AGHT+IF6ybdR+P+YjheRjiKUmu10AGXbnc37ltG0Gjf+EBKpCkaEAHdsC6C8QwjgSGFBe0DzscxKzw== X-Received: by 2002:a05:6000:923:b0:331:6c72:56fc with SMTP id cx3-20020a056000092300b003316c7256fcmr466217wrb.28.1700216431083; Fri, 17 Nov 2023 02:20:31 -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 t4-20020a5d4604000000b0032fbd0c7d04sm1858856wrq.55.2023.11.17.02.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:20:30 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 17 Nov 2023 12:16:13 +0000 Message-ID: <1fd1a2acd6d9e9811abcf661c226abc7c01e0c05.1700222319.git.sharlatanus@gmail.com> 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-Queue-Id: 3801315732 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.49 X-Spam-Score: -3.49 X-TUID: jUCZH6hfz0Cq * gnu/package/astronomy.scm (python-poliastro): Improve package style. [arguments]: Swap to use {test-flags} and standard {check} phase. Change-Id: I0dde01af97adc883e8a3ce82a8448f4d10fdab64 --- gnu/packages/astronomy.scm | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index d12dccc208..f19f40a69d 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2118,27 +2118,22 @@ (define-public python-poliastro (build-system pyproject-build-system) (arguments (list + #:test-flags + #~(list "-m" "not remote_data" + ;; TODO: Review failing tests later when any upstream + ;; suggestions are provided: + ;; https://github.com/poliastro/poliastro/issues/1618 + "-k" (string-append "not test_czml_add_trajectory" + " and not test_czml_custom_packet" + " and not test_czml_ground_station" + " and not test_czml_groundtrack" + " and not test_czml_preamble")) #:phases #~(modify-phases %standard-phases ;; NOTE: Tests take about 7-10 minutes to pass. (add-before 'check 'prepare-test-environment (lambda _ - (setenv "HOME" "/tmp") - ;; TODO: Review failing tests later when any upstream - ;; suggestions are provided: - ;; https://github.com/poliastro/poliastro/issues/1618 - (substitute* "tests/test_czml.py" - (("def test_czml_add_trajectory") "def __off_test_czml_add_trajectory") - (("def test_czml_custom_packet") "def __off_test_czml_custom_packet") - (("def test_czml_ground_station") "def __off_test_czml_ground_station") - (("def test_czml_groundtrack") "def __off_test_czml_groundtrack") - (("def test_czml_preamble") "def __off_test_czml_preamble")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" - ;; Skip tests that need remote data. - "-m" "not remote_data"))))))) + (setenv "HOME" "/tmp")))))) (native-inputs (list python-coverage python-hypothesis -- 2.41.0