From patchwork Thu Apr 27 23:43:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 49613 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 5569027BBE9; Fri, 28 Apr 2023 00:45:03 +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 47D0327BBEA for ; Fri, 28 Apr 2023 00:45:02 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psBHW-0005rQ-Ei; Thu, 27 Apr 2023 19:44:10 -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 1psBHT-0005pz-HN for guix-patches@gnu.org; Thu, 27 Apr 2023 19:44:07 -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 1psBHT-0002Ak-9H for guix-patches@gnu.org; Thu, 27 Apr 2023 19:44:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psBHT-0003Ph-5i for guix-patches@gnu.org; Thu, 27 Apr 2023 19:44:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63136] [PATCH 13/14] gnu: python-pytest-mpl: Update to 0.16.1. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Apr 2023 23:44:07 +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.168263902512994 (code B ref 63136); Thu, 27 Apr 2023 23:44:07 +0000 Received: (at 63136) by debbugs.gnu.org; 27 Apr 2023 23:43:45 +0000 Received: from localhost ([127.0.0.1]:60052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psBH7-0003NR-2n for submit@debbugs.gnu.org; Thu, 27 Apr 2023 19:43:45 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:57731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psBGs-0003KZ-0e for 63136@debbugs.gnu.org; Thu, 27 Apr 2023 19:43:30 -0400 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-3f1cfed93e2so64537435e9.3 for <63136@debbugs.gnu.org>; Thu, 27 Apr 2023 16:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682639004; x=1685231004; 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=0r1wH1uDCPZ2E6pFu69IBUlM54NPBn8/tYuBzJDLV1Y=; b=cprBffS1vWnM12+hyT2hGRKRr61izXFn4sjofUcmIBweCM4oNVRbQU1JoYOCQp1X61 JAP1yqoedJ8nYm2bKIxO+MQ6hPKQCeppWbh2DhcsVGss3HqiDl2cSrP+r0zBqnmeSIgE DXOGDJy0AELCwByXTf8MJmnS67OOMq7fYcRJPM5c4fvYgUoO49TuA6ud3LIGFMu0tw0W jp2BuEt/iFO5y+YpEXLCPRhmDpgysXPsVpQkf+asSyVo4ytf0CrJVkIbiZao2UkVAR2L nl4usEaWlSNi3F+tQTbgoyTzHsr+kZTkjueedp8pHn+OoB71eM2tkkeEnpU8mmVQeRmG s5yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682639004; x=1685231004; 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=0r1wH1uDCPZ2E6pFu69IBUlM54NPBn8/tYuBzJDLV1Y=; b=Ceq86esPE+NrwYFWNdb3twFtMUpils/NPoDH2Sr4vTquSbwTnZZCgzC9YZYGnA/WLR niAAU8zUTTgTggB3wOaNabc+yc882ftBdktanEtGmH4A7H1v9ZCRNcs/9SHSIqf9b/Cc C46WQvAbpYBBiDuen/kw9R1WC9Q/NGj5d5SoQqxgfyOR2CM7jOpiX+IHZuNNtoEd2hkL Oml7NG6/oD06yZa6ByK6X9BMhiRLycTy1Rucf4fW4QKW9amQDZ1wVkOy6CC9vnPhfyHP 5U1x4hKR2R5h66I76J6PVkKLosp3ekY0CbDMK+3vkmtq1vCGJCaz7CdztNQr0DRplTDj X7GQ== X-Gm-Message-State: AC+VfDzuc4FLZ3/eUma+fMvV4aHlUq6H+6vsPyLD+4P0rkDNOpkD9SQf 0Tvj4m8K7FE+UuNNWcILHYddRer/HiI= X-Google-Smtp-Source: ACHHUZ6GAyRQ1Q7ErS2OaEMcJPiYUdagPue6b+sog0iCvARDdReiP8aG/8q2C8x8O6bfpZSlOKGrQA== X-Received: by 2002:a05:600c:2941:b0:3f2:5777:27d4 with SMTP id n1-20020a05600c294100b003f2577727d4mr2315330wmd.25.1682639004259; Thu, 27 Apr 2023 16:43:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 16:43:23 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 28 Apr 2023 00:43:12 +0100 Message-Id: <20230427234313.19013-13-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230427234313.19013-1-sharlatanus@gmail.com> References: <20230427234313.19013-1-sharlatanus@gmail.com> 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-mpl): Update to 0.16.1. [build-system]: Use pyproject-build-system. [arguments]: Simplify phases by removing redundant modification and use instead. [propagated-inputs]: Add python-jinja2, python-packaging. --- gnu/packages/python-check.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 9a61f59d56..d939ade03b 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -831,24 +831,25 @@ (define-public python-pytest-mockito (define-public python-pytest-mpl (package (name "python-pytest-mpl") - (version "0.11") + (version "0.16.1") (source (origin (method url-fetch) (uri (pypi-uri "pytest-mpl" version)) (sha256 - (base32 "1km202c1s5kcn52fx0266p06qb34va3warcby594dh6vixxa9i96")))) - (build-system python-build-system) + (base32 "0sa4229xkkah3fdg9wnqnvb9j13xsd3x1h5rwbsgb3sf2a0icmrd")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) + (list + #:test-flags #~(list "-m" "mpl_image_compare"))) (native-inputs (list python-pytest)) (propagated-inputs - (list python-matplotlib python-nose python-pillow)) + (list python-jinja2 + python-matplotlib + python-nose + python-packaging + python-pillow)) (home-page "https://github.com/matplotlib/pytest-mpl") (synopsis "Pytest plugin to help with testing figures output from Matplotlib") (description