From patchwork Sat Jan 20 13:55:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 59230 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 0073527BBEA; Sat, 20 Jan 2024 14:04:14 +0000 (GMT) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED 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 50C0427BBE2 for ; Sat, 20 Jan 2024 14:04:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRBx2-00027N-I3; Sat, 20 Jan 2024 09:04:00 -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 1rRBx1-00027F-FI for guix-patches@gnu.org; Sat, 20 Jan 2024 09:03:59 -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 1rRBx0-0008Di-Vj for guix-patches@gnu.org; Sat, 20 Jan 2024 09:03:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRBx3-0000gZ-PS for guix-patches@gnu.org; Sat, 20 Jan 2024 09:04:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68609] [PATCH 2/2] gnu: python-pandera: Fix build. References: <87le8kt8c8.fsf@troyfigiel.com> In-Reply-To: <87le8kt8c8.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68609@debbugs.gnu.org Received: via spool by 68609-submit@debbugs.gnu.org id=B68609.17057593882540 (code B ref 68609); Sat, 20 Jan 2024 14:04:01 +0000 Received: (at 68609) by debbugs.gnu.org; 20 Jan 2024 14:03:08 +0000 Received: from localhost ([127.0.0.1]:33188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRBwB-0000er-HQ for submit@debbugs.gnu.org; Sat, 20 Jan 2024 09:03:07 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:55468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRBw9-0000eC-Ou for 68609@debbugs.gnu.org; Sat, 20 Jan 2024 09:03:06 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4THJ8t368Yz9slL for <68609@debbugs.gnu.org>; Sat, 20 Jan 2024 15:02:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1705759374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=PuuuO/y76wvFkTxuixWNllePHQYx62ywLXD34s2+K/g=; b=MDrcal6p9Cx3mdHh6caP85OWBvwJd72sdeXK//2Vtp0akujWdcYCSkqt2yAjO7JyRI78MQ 4RyBC9z/9a5ICFyuD0FavzjwT3habF2EE6DyKx73+9aeP2HJYjH/2Hz7+NZF+yvvTWimq2 SBYMksrq8fuKzjruOqBXqZw9DQeRs2vXGBrKEkCmwGjsst0NbYX7fPW3RN7npdGhNSgcRy YpQCrMWwt4g9DADU6FY79xVDlaTC1SPKnXHAXGxHB7Oq9wfOS4o1oTCzBKq4ut7zjBUvWm oTCRz0+v9e349y4Xo+faq6gU7Ee4+ib+VbZx/06YBp8a2QHr4sj/S69HBaAFWQ== From: Troy Figiel Date: Sat, 20 Jan 2024 14:55:28 +0100 Message-ID: <87il3ot84y.fsf@troyfigiel.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-science.scm (python-pandera): Fix build. [source]: Delete tests/modin directory. [native-inputs]: Remove python-modin. --- gnu/packages/python-science.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 4eb0195889..3422302a87 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -661,16 +661,20 @@ (define-public python-pandera (sha256 (base32 "1mnqk583z90k1n0z3lfa4rd0ng40v7hqfk7phz5gjmxlzfjbxa1x")) (modules '((guix build utils))) - ;; These tests require PySpark. We need to remove the entire directory, - ;; since the conftest.py in this directory contains a PySpark import. - ;; (See: https://github.com/pytest-dev/pytest/issues/7452) - (snippet '(delete-file-recursively "tests/pyspark")))) + ;; These tests require PySpark and Modin. We need to remove the entire + ;; directory, since the conftest.py in these directories contain + ;; imports. (See: https://github.com/pytest-dev/pytest/issues/7452) + (snippet '(begin + (delete-file-recursively "tests/pyspark") + (delete-file-recursively "tests/modin"))))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "-k" (string-append - ;; Needs python-pandas >= 1.5 + ;; Mypy functionality is experimental and relying + ;; on pandas-stubs can lead to false + ;; positives. These tests currently fail. "not test_python_std_list_dict_generics" " and not test_python_std_list_dict_empty_and_none" " and not test_pandas_modules_importable")))) @@ -692,7 +696,6 @@ (define-public python-pandera (native-inputs (list python-dask ;dask extra python-fastapi ;fastapi extra python-geopandas ;geopandas extra - python-modin ;modin extra python-pyarrow ;needed to run fastapi tests python-pytest python-pytest-asyncio