From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CAqqOcyvwWSCKwAASxT56A (envelope-from ) for ; Thu, 27 Jul 2023 01:44:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CHrBOcyvwWRmaAAA9RJhRA (envelope-from ) for ; Thu, 27 Jul 2023 01:44:12 +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 C667D610BD for ; Thu, 27 Jul 2023 01:44:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=NpkG7ex6; 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=1690415052; 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=7yQPMQWn9RmEFOH6eYPts9xzYt+vTYSrsEw/GfbckEM=; b=Ur3POMnnwXjAvZyFYu69i+XZ/0PKLmckdrDo0bzyQnCztC1pe7LOZfb1RuX7YO4jYI8ySx oMcR1dNZChyGsdvnUJO+Fdqudu5NqH1pk2SfB6ZbsSs0RfAmaD+mrGKqTFBwNaD0OkIwuN /EXoLuWnl7eYm8eijYtAbz8cEoMIMfUef1759cFfFZRpGVOgvLyenJLoVVVOSGV0oLXy8e 8TwBx5Fw80DCOzpAnO99br0ILcxW4Yg4ZiIKmyiujdH4dUBJIMlfwnkEq4oSvSiyfQ8yqU JXIKFfaYGjmuLDK4VDAdnnzGhO1sCKhq1iFsRuDPztHsdF/77x83gvqrqNY0qQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=NpkG7ex6; 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-Seal: i=1; s=key1; d=yhetil.org; t=1690415052; a=rsa-sha256; cv=none; b=JoIn8foHHCUVvIv7tlRvieUxpAlBqcRzPUN0c9yBuJHBSCN9AMct4m8BDecaxYiiMeAazX ANBlItxDxYVYXz4ep5SPEG2oe4RF+se+NUgnmeIKW9kFqbiVSKytYDxY/fNCWp6NOxywCK 7evEpE+K1KkG0h0YBS8wj/7ZnQ2Hx9fJmBnH5SuT92jqzUZtqA/KV4fugPFXqslEhmwMqt 5DuyVFHW4Pz+Rr9Z+Ryp5F9dO3IjyVdtICyZu9NbiS9wMnJQoc9SGpPnBn/TqeLYGjvXFu 22ILEilv7amdnBnBfErO+AIO6n1+kHdFFbildDHsJPIql/YhBB3A3oC+ndBnKg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOnkm-0002qx-Ic; Wed, 26 Jul 2023 19:17:12 -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 1qOnki-0002mk-5d for guix-patches@gnu.org; Wed, 26 Jul 2023 19:17:08 -0400 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 1qOnkh-0001Ek-Tv for guix-patches@gnu.org; Wed, 26 Jul 2023 19:17:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOnkh-000440-PP; Wed, 26 Jul 2023 19:17:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64201] [PATCH v2 15/22] gnu: python-pyerfa: Fix tests. 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: Wed, 26 Jul 2023 23:17:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64201@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 64201-submit@debbugs.gnu.org id=B64201.169041339815410 (code B ref 64201); Wed, 26 Jul 2023 23:17:07 +0000 Received: (at 64201) by debbugs.gnu.org; 26 Jul 2023 23:16:38 +0000 Received: from localhost ([127.0.0.1]:40229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOnkE-00040T-AN for submit@debbugs.gnu.org; Wed, 26 Jul 2023 19:16:38 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:48299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOnji-0003vT-FO for 64201@debbugs.gnu.org; Wed, 26 Jul 2023 19:16:06 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fbea147034so3153785e9.0 for <64201@debbugs.gnu.org>; Wed, 26 Jul 2023 16:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690413361; x=1691018161; 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=7yQPMQWn9RmEFOH6eYPts9xzYt+vTYSrsEw/GfbckEM=; b=NpkG7ex6Vih52Smkq7VCFJUXLyqq0/PIa9dvh5kl9Lhfv7At4tZvVAFbTS2C9oedDB i7xxpIsjdHb4gMfCe0mFbeSO7cSQTtpyws3P9SPYs+7amGZUrnvUJhObgaXnrSJyN2kO xHTQBDN2huguTuSeAuf3IG7jrWS2sMNXDOKgSyWkq/0xjhNqvhxDUn7D8jN7pFPx8+bE TGkXM4uSP3b68Gj21VgQFttTpebMPchGidTmOcIr9Ol0ATrZpgqVin2FmUVS2sZKx5fZ iYNTSiJNE5uq+7UJtKDf1NogC/R0X6ycZMnV+Qh42DVBcsk69WVH5FrxZIErs/YwBMzA NRtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690413361; x=1691018161; 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=7yQPMQWn9RmEFOH6eYPts9xzYt+vTYSrsEw/GfbckEM=; b=gGZJeRNQccV03rQJxi8VtnzHgukMm3lPMGSu9c3epBOh6CTmjTMzYCRK/yy3+JZbT5 Hq9Xt/kOB8ixw2FVCFtU+8Gn+/9Rsfglvww6hOXtUnX/TRgFjhYF+Fa3sEA4Nz+cqN5H p8BYZBb79ABS6OzxFZWuc1RLfnwqy3+pKFMt+qTDx4md2PkkCwnyqWhl7LchZgoJZEU0 axeq1lTR/AprYhzEjsgRhh0y/8Ne8k86ppBsSveB2PBFhyLL+UHIlT9OhT1Whol4LKLK Cwm2cq3sCqoQTOzEG2qnNjtG/p2e/J3ZuNgLw2RNyNJv7yuLL5kHBNe0Y8Q7JQF7U6l4 vWqw== X-Gm-Message-State: ABy/qLau5nTlADWW7DJ1sXZFZwrPSaWoGiM4IDQJfYGMGZSQ76fUmgDt 4j5F/RkLyZLT1vw4tlwStcDKB8Jjt8uiIg== X-Google-Smtp-Source: APBJJlFv6iUE7lvJiU3jdV3s2nNT6PSwY6bzaIfjuW1lXNyXyZ1l85+l/UtQkivopFsZBajKuB1mqw== X-Received: by 2002:a5d:4292:0:b0:315:9021:6dc3 with SMTP id k18-20020a5d4292000000b0031590216dc3mr384898wrq.27.1690413360901; Wed, 26 Jul 2023 16:16:00 -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 u20-20020a05600c00d400b003faef96ee78sm3147472wmm.33.2023.07.26.16.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 16:16:00 -0700 (PDT) From: Sharlatan Hellseher Date: Thu, 27 Jul 2023 00:15:41 +0100 Message-Id: X-Mailer: git-send-email 2.40.1 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-Spam-Score: 5.85 X-Migadu-Queue-Id: C667D610BD X-Migadu-Spam-Score: 5.85 X-Migadu-Scanner: mx0.migadu.com X-TUID: 9NdX0nrfy7a2 * gnu/packages/astronomy.scm (python-pyerfa): Fix tests. [build-system]: Swap to pyproject-build-system. [arguments]: Disable a failing test. Add 'build-extensions phase. --- gnu/packages/astronomy.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ac6108eb6c..97fce57cd3 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3164,13 +3164,19 @@ (define-public python-pyerfa ;; Remove bundled submodule library. (delete-file-recursively "liberfa") #t)))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - `(#:phases + `(;; Disable only one failing test: + ;; AttributeError: __warningregistry__ + #:test-flags '("-k" "not test_errwarn_reporting") + #:phases (modify-phases %standard-phases (add-before 'build 'use-system-liberfa (lambda _ - (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1")))))) + (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1"))) + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs (list python-pytest-doctestplus python-pytest python-setuptools-scm)) (inputs -- 2.40.1