From patchwork Thu Apr 27 23:43:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 49612 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 4434027BBE9; Fri, 28 Apr 2023 00:45:02 +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=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 4BE8D17ACE for ; Fri, 28 Apr 2023 00:45:01 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psBHT-0005pu-B0; Thu, 27 Apr 2023 19:44:07 -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 1psBHP-0005lr-07 for guix-patches@gnu.org; Thu, 27 Apr 2023 19:44:03 -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 1psBHO-000294-OR for guix-patches@gnu.org; Thu, 27 Apr 2023 19:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psBHO-0003OH-D7 for guix-patches@gnu.org; Thu, 27 Apr 2023 19:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63136] [PATCH 01/14] gnu: python-pytest-doctestplus: Update to 0.12.1. References: <20230427234102.18801-1-sharlatanus@gmail.com> In-Reply-To: <20230427234102.18801-1-sharlatanus@gmail.com> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Apr 2023 23:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63136 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63136@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 63136-submit@debbugs.gnu.org id=B63136.168263900612832 (code B ref 63136); Thu, 27 Apr 2023 23:44:02 +0000 Received: (at 63136) by debbugs.gnu.org; 27 Apr 2023 23:43:26 +0000 Received: from localhost ([127.0.0.1]:60019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psBGm-0003Kf-Us for submit@debbugs.gnu.org; Thu, 27 Apr 2023 19:43:25 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:53735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psBGk-0003K8-LO for 63136@debbugs.gnu.org; Thu, 27 Apr 2023 19:43:23 -0400 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-2f625d52275so8818088f8f.3 for <63136@debbugs.gnu.org>; Thu, 27 Apr 2023 16:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682638996; x=1685230996; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=U4qR5VEcNGts/lkM5RcpqTVLVH6DA6rYhfNQvKvhjbA=; b=nGbKw4hp/fSNfN0fdzLpWMYGSHO+GA6s/gTZqafA9ABv2J8WPv2KX/2VPrn2eN4rWf M7FWcx7omppQsfiJ17FJ1u2CoICaEH4QTbci4yQotNZOtOefM0hMHSOD6TDaG+CF7+Ir jTBzHURWAa77dqGUt5b5WRjc2QSxGTb4bhRFporBk31i6ZQjIMP9zn1En1sHOqCuN4mF jazCBBMnMQ+qKXkKECMfPkADAR+5v314WIL80NlLgaPUU3dELY2TKkLEYkqGZ1nRnHZy jsw44pckPN21W1dnrZq/w4iHeVX0nI4On2/kQ0vUEfGKNx+ilsoyM7RNNJUKIhjzgggz QIGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682638996; x=1685230996; 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=U4qR5VEcNGts/lkM5RcpqTVLVH6DA6rYhfNQvKvhjbA=; b=iOendPg4e+FAT0d1kzdzFDyPIVyuvMKXWr7pD9040++uSMkV2yPDBYShtBAMSKMXPc gFMFwmB6U/PjhHcvsZ6FPMvPRJEZdZoh1y3jE12a8ZcuDU+oUPQ8pS0/Vz1gbIAC5pfq D6HodEKiY8r3xU9MBsNtzKfPwGHs4bXgSQdWl4xdrf38aAd/9HQ4lyx2IgyQfOdqPky9 slrmdNv1Z46wL+sLYNFASpJdnwJHEBlTPbJU274UoSXjoUxeWCoWJbt4lOaBAL61oVg6 c04b58PZg3YArAk8ZF7lIkoRwbQfPerAO+zda4kS1oVFKuROhEFGO0HV8i6Gni72Romt WvmA== X-Gm-Message-State: AC+VfDzsH94ycFhujJ+9SdzX8XO5FI8Aaqed1V2AmXdT9jzqoMsv8RfQ dZn0ap+4YvmMnEIgLVZzA0OwK3JYEdM= X-Google-Smtp-Source: ACHHUZ4ERL9XbIbMwNf3V6d2uFEfQikmLHDFPk297sEEggJBEO2+rLq4TKnKX/qxI4YRc02XsMLSOQ== X-Received: by 2002:adf:ff8a:0:b0:2dc:cb11:bed3 with SMTP id j10-20020adfff8a000000b002dccb11bed3mr2320577wrr.68.1682638996437; Thu, 27 Apr 2023 16:43:16 -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 m6-20020a5d6246000000b002feea065cc9sm19555491wrv.111.2023.04.27.16.43.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 16:43:16 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 28 Apr 2023 00:43:00 +0100 Message-Id: <20230427234313.19013-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 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/python-check.scm (python-pytest-doctestplus): Update to 0.12.1. [build-system]: Use pyproject-build-system. [arguments]: Remove modify-phases and add test-flags option instead. [native-inputs]: Add python-numpy. --- gnu/packages/python-check.scm | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c42cd426b1..dd0600a2fc 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -577,32 +577,25 @@ (define-public python-pytest-arraydiff (define-public python-pytest-doctestplus (package (name "python-pytest-doctestplus") - (version "0.11.2") + (version "0.12.1") (source (origin (method url-fetch) (uri (pypi-uri "pytest-doctestplus" version)) (sha256 - (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk")))) - (build-system python-build-system) + (base32 "10ciqylgziihxwxryxvxgmkqgws51pqcarn0gbh1d4cxx55rx5vs")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - ;; Make the installed plugin discoverable by Pytest. - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" "-k" - (string-append ; skip tests that require remote data - "not test_remote_data_url" - " and not test_remote_data_float_cmp" - " and not test_remote_data_ignore_whitespace" - " and not test_remote_data_ellipsis" - " and not test_remote_data_requires" - " and not test_remote_data_ignore_warnings")))))))) + (list #:test-flags + #~(list "-k" (string-append + "not test_remote_data_url" + " and not test_remote_data_float_cmp" + " and not test_remote_data_ignore_whitespace" + " and not test_remote_data_ellipsis" + " and not test_remote_data_requires" + " and not test_remote_data_ignore_warnings")))) (native-inputs - (list python-pytest python-setuptools-scm)) + (list python-numpy python-pytest python-setuptools-scm)) (home-page "https://github.com/astropy/pytest-doctestplus") (synopsis "Pytest plugin with advanced doctest features") (description