From patchwork Sat Jan 20 13:10:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 59229 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 8D3EE27BBE9; Sat, 20 Jan 2024 14:03:24 +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=unavailable 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 7E89627BBE2 for ; Sat, 20 Jan 2024 14:03:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRBw6-0001im-Qh; Sat, 20 Jan 2024 09:03:03 -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 1rRBw3-0001ed-Su for guix-patches@gnu.org; Sat, 20 Jan 2024 09:02: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 1rRBw3-00089F-Fi for guix-patches@gnu.org; Sat, 20 Jan 2024 09:02:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRBw6-0000eP-9O for guix-patches@gnu.org; Sat, 20 Jan 2024 09:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68609] [PATCH 1/2] gnu: python-pandas-stubs: Update to 1.5.3.230321. 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:03:02 +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.17057593532450 (code B ref 68609); Sat, 20 Jan 2024 14:03:02 +0000 Received: (at 68609) by debbugs.gnu.org; 20 Jan 2024 14:02:33 +0000 Received: from localhost ([127.0.0.1]:33183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRBvd-0000dR-27 for submit@debbugs.gnu.org; Sat, 20 Jan 2024 09:02:33 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:58940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRBvX-0000d2-D8 for 68609@debbugs.gnu.org; Sat, 20 Jan 2024 09:02:31 -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-102.mailbox.org (Postfix) with ESMTPS id 4THJ890Q0Dz9sb6 for <68609@debbugs.gnu.org>; Sat, 20 Jan 2024 15:02:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1705759337; 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=TKCHpYu0sQvQ9I6HBmnmu0N6gdNGNONfkYNzqheK7Lo=; b=DZbk+nSv/P3KNsCV8Ll0COSOMtcVrwHgOWtQ0zwpw0tu/CkpBH6k8+dgn9Is3Jl4CbYENl iYIDJKMlgdjeX60p+x4FJw5u62f9o/IVinvqwhJmCT1raC8b1ZN7aUpoCZdMvGbPVgJXjk m+gY7QRcQOA495kUJv3vqgb7j7qTzAIcfJW4y5Q3kYdhptdj9tzDWtgdXJof1lqJ3gxp+M pz+0BnVwRXsFJ0pKN0QpxDV6LHgZs2KB9qH0Yz8wbB3Rcoa5XRRm7hjJDOQWj0s95OBFfW CRFl6/t+13aSXjE+IHJYxbzMtRb97Rc6icqYRvkRksFtdX8ERzW259isYYSRAA== From: Troy Figiel Date: Sat, 20 Jan 2024 14:10:40 +0100 Message-ID: <87jzo4t85z.fsf@troyfigiel.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4THJ890Q0Dz9sb6 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-pandas-stubs): Update to 1.5.3.230321. [arguments]<#:test-flags>: Ignore tests that require a version of python-pyarrow with ORC integration. [native-inputs]: Add python-odfpy. --- gnu/packages/python-science.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 3c131fe730..4eb0195889 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -580,8 +580,8 @@ (define-public python-pandas-stubs (name "python-pandas-stubs") ;; The versioning follows that of Pandas and uses the date of the ;; python-pandas-stubs release. This is the latest version of - ;; python-pandas-stubs for python-pandas 1.4.4. - (version "1.4.4.220919") + ;; python-pandas-stubs for python-pandas 1.5.3. + (version "1.5.3.230321") (source (origin ;; No tests in the PyPI tarball. @@ -591,10 +591,21 @@ (define-public python-pandas-stubs (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "14fhj1y71akwl41ws7cpazsbq5b8wf4rwaydqq2h39q7gylpcp99")))) + (base32 "1blwlq5053pxnmx721zdd6v8njiybz4azribx2ygq33jcpmknda6")))) (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases + (list + #:test-flags #~(list "-k" + (string-append + ;; The python-pyarrow package in Guix is not built + ;; with ORC integration, causing these tests to + ;; fail. + "not test_orc" + " and not test_orc_path" + " and not test_orc_buffer" + " and not test_orc_columns" + " and not test_orc_bytes")) + #:phases '(modify-phases %standard-phases (add-before 'check 'prepare-x (lambda _ (system "Xvfb &") @@ -607,6 +618,7 @@ (define-public python-pandas-stubs ;; tests will be skipped for now. (native-inputs (list python-lxml python-matplotlib + python-odfpy python-pandas python-poetry-core python-pyarrow 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