From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 iMKkBviT42U/nQAAe85BDQ:P1 (envelope-from ) for ; Sat, 02 Mar 2024 22:02:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iMKkBviT42U/nQAAe85BDQ (envelope-from ) for ; Sat, 02 Mar 2024 22:02:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=A8kL8wrZ; 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=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709413367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=83GxNOhfTGkVt+66zUuURg+aXTiHnl8ALy33qlLQX2A=; b=ZbfOop6VQG/rpiNsY93tp7D+eWgK4qD6IPwr3AvupXWsFTEZkaMahg1AHsaK8TroIUWTru NMHddepuMr1GDN+pfoXJHSxhThsAd7tiy+zqzXsfNH+fQTs5VJdoHErvTIEh4l0NY/wBzQ o8kgNCiAH4ECHImc6Qdh5+Zts/iECjwiCg5aOMpBrcjEWpAVuRZRRmsy9stjZOjfUhb0lH QwRVD3kGtsA9aHDg3S/xFndWfbfzoTbHPKBd0TkEMH/mYFfQ9GizUWLe26hgk4P+AS6Xg8 A8U+qp4ijN0NMkenVw68UPAmgEfL/1ThSqMaLDHU6+y9N570tCtqPXghOzBSxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=A8kL8wrZ; 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=troyfigiel.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709413367; a=rsa-sha256; cv=none; b=TPHYlMHtMIms4+P/pgFiCyVWoznaS05aXjDRkxhrqDRVIxTo43tPP64JQVH4bAM9bfxu7W 9A520o+yXGSEchSEqauv2hdeAXCigf+bV1CE2Dh98alfpUIyqpqqLyVU51BW+0ecmi/woM beRotU6E47nDBbxM4Nk1nY7b33mrPMk1teZ3KrBPKbgR6z+dbLQMO9NkGxzE4VeKTGXim4 X2NHVZmQQ/bY5hGTU/jb8k/QE2rZ/PxUw0fUXUCKh2cFiVo4J1ADOC2ldZ081xNi0rpvkK V+q5SWKe4P6viHs4y2f1B/oDnajtJ0k1289yl1hE0L9+n3rWt5vAE3jBi9LG/A== 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 C124F311F2 for ; Sat, 2 Mar 2024 22:02:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgWV9-0006Kg-Nn; Sat, 02 Mar 2024 16:02:35 -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 1rgWV7-0006KQ-Nq for guix-patches@gnu.org; Sat, 02 Mar 2024 16:02:33 -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 1rgWV7-0006Tb-Ft for guix-patches@gnu.org; Sat, 02 Mar 2024 16:02:33 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rgWVZ-00027P-S5 for guix-patches@gnu.org; Sat, 02 Mar 2024 16:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69514] [PATCH] gnu: python-pandera: Update to 0.18.0. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Mar 2024 21:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69514@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17094133428092 (code B ref -1); Sat, 02 Mar 2024 21:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Mar 2024 21:02:22 +0000 Received: from localhost ([127.0.0.1]:39397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgWUv-00026S-MJ for submit@debbugs.gnu.org; Sat, 02 Mar 2024 16:02:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:40286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgWUr-00026I-4Y for submit@debbugs.gnu.org; Sat, 02 Mar 2024 16:02:20 -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 1rgWUN-0006Dh-Qj for guix-patches@gnu.org; Sat, 02 Mar 2024 16:01:48 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rgWUL-0006Ca-Dj for guix-patches@gnu.org; Sat, 02 Mar 2024 16:01:47 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (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-202.mailbox.org (Postfix) with ESMTPS id 4TnHSd4DLfz9stK for ; Sat, 2 Mar 2024 22:01:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1709413297; 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=83GxNOhfTGkVt+66zUuURg+aXTiHnl8ALy33qlLQX2A=; b=A8kL8wrZswwOze1rV5aATTmP4JnCL3a8Wc5v9KaecXKjazzfC3SBYZsbL4mCRV8o2u24aj SOdAP0uV5yX+OmZdEKWNURB267u4I5jguOV2Fl7GZeADRiL6Cd6UZRFAfqTEA1o3hUIfeI HGTga8uBANNoLF9Mpxbp4e4b9xs2O6Vp3lY2CB0ufHgl03FyIFYHGoqckFbKuU6cROinm1 oa0Xdbp8x2RlVzWMBJEoiaAzBPBZHRnvv/Vq7BPQpQR1UoX//FrVDxfe8oQ+IfuHgA0FXB aOzZvihTNPGitOvCjLWmh7c0QavUmxd4WQS9bIrU3tJFz5wifun8dzjZJClDaA== From: Troy Figiel Date: Sat, 2 Mar 2024 21:46:03 +0100 Message-ID: <87wmqkpcuq.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4TnHSd4DLfz9stK Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=troy@troyfigiel.com; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.33 X-Spam-Score: 2.33 X-Migadu-Queue-Id: C124F311F2 X-TUID: BcgbDZWLkz+x * gnu/packages/python-science.scm (python-pandera): Update to 0.18.0. [source]: Remove snippet. [arguments]<#:phases>: Add 'fix-tests phase. --- gnu/packages/python-science.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b6a116f16b..93b5c5c91d 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -826,7 +826,7 @@ (define-public python-pandarallel (define-public python-pandera (package (name "python-pandera") - (version "0.17.2") + (version "0.18.0") (source (origin ;; No tests in the PyPI tarball. @@ -836,14 +836,7 @@ (define-public python-pandera (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1mnqk583z90k1n0z3lfa4rd0ng40v7hqfk7phz5gjmxlzfjbxa1x")) - (modules '((guix build utils))) - ;; 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"))))) + (base32 "14b5aij5zjkwvsimg0v00qvp59mhhq7ljim4qghcn432vkg9gh47")))) (build-system pyproject-build-system) (arguments (list @@ -854,7 +847,16 @@ (define-public python-pandera ;; 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")))) + " and not test_pandas_modules_importable")) + #:phases #~(modify-phases %standard-phases + (add-before 'check 'fix-tests + (lambda _ + ;; 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) + (for-each delete-file-recursively + '("tests/pyspark" "tests/modin"))))))) ;; Pandera comes with a lot of extras. We test as many as possible, but do ;; not include all of them in the propagated-inputs. Currently, we have to ;; skip the pyspark and io tests due to missing packages python-pyspark base-commit: 6f5ea7ac1acb3d1c53baf7620cca66cc87fe5a73 -- 2.42.0