GNU bug report logs - #69514
[PATCH] gnu: python-pandera: Update to 0.18.0.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Troy Figiel <troy@HIDDEN>; Keywords: patch; dated Sat, 2 Mar 2024 21:03:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 69514 <at> debbugs.gnu.org:


Received: (at 69514) by debbugs.gnu.org; 9 Mar 2024 08:52:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 09 03:52:06 2024
Received: from localhost ([127.0.0.1]:60594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1risR4-0003fF-F8
	for submit <at> debbugs.gnu.org; Sat, 09 Mar 2024 03:52:06 -0500
Received: from mout-p-101.mailbox.org ([80.241.56.151]:45968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <troy@HIDDEN>) id 1risR0-0003eH-WF
 for 69514 <at> debbugs.gnu.org; Sat, 09 Mar 2024 03:52:05 -0500
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (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-101.mailbox.org (Postfix) with ESMTPS id 4TsGwD4zzbz9sSZ;
 Sat,  9 Mar 2024 09:50:52 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com;
 s=MBO0001; t=1709974252;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:autocrypt:autocrypt;
 bh=U4blHa9n1/G9m6t5RZEO44p0jmUDTdyT9fQ+7BaxZww=;
 b=ExSnZofv/a71HObJmFJzrWPUnpFGzbU8h3YiRwUUPsGJC6nwqVe6mAylu3mbxiJ2ZQEv9O
 7jYFC3AHeb4ENz2+0uQWKSXmP88Zz8FuTizhYD+nssN3/Lywh4dXM3wB/D5NhmsNabT2J9
 RvvzUaDsEjW89JtuUU18+etMblW/h8CebIJPQCYNFCKp2yz8AcaO3WXTB6e4QpQYPAN2l0
 SHEqqy2ktxoT4nkXPEX5cyN/sntGlJ3zkFWF3IlHChe9a1Bdfzc0BtN9VLyMzOMJbn9qfE
 gVovBl4Yb0JrhvujD+aObaT3De54lGqPC9UCjmSBVO6rGBva5ltZH5YR/PKfuA==
Message-ID: <c2052043-1928-46e5-acc1-2672513353b7@HIDDEN>
Date: Sat, 9 Mar 2024 09:50:51 +0100
MIME-Version: 1.0
Subject: Re: [bug#69514] [PATCH] gnu: python-pandera: Update to 0.18.0.
Content-Language: en-US, de-DE, nl
To: Vagrant Cascadian <vagrant@HIDDEN>, 69514 <at> debbugs.gnu.org
References: <87wmqkpcuq.fsf@HIDDEN> <87h6hfj44l.fsf@contorta>
From: Troy Figiel <troy@HIDDEN>
Autocrypt: addr=troy@HIDDEN; keydata=
 xsFNBGKp71YBEADDmh9HMTg0Z8/xxf4yT6UX2wO8u0Q2nbOAhzROSabUVyBp8Gz6jLcoFN8x
 rg8XxxBWTCENBWqKkYG6Z/GgPmeKuacAeZIW7dGYaGu4bZHgLsTqk04J/dM63aVveJJY4M4r
 KNx0Mew+SYTGrh3NnoSF0+ZIskGGh4NJpXOGUSUihjdddn8ouFDDy01GJ9N2ZWprfWo3ynMA
 xEHhD6CWniQMkmd+TVKjQt+BC8d+nHlOt6vFoDGH9PehXmmBLyOJAVMAlPMyrN8ZjmbRp91s
 4Sz2rqjD2GXFGvKClhyxcr2qEUJmCg/Vp8PiZWOwxA/6BCWuNmrl1d1FhXjMMIzz2y92MOlD
 5kQm7/261cuXTJvKZOLmHelY0m7gReWnc9peGPmGeukkdblmjwJTnetzv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jGAOewVPk7V0br0twFo2R
 5/vtp8cNCg/lKlqWDmJ0fWipxazSzVAMDxn+ci0DB5o5UyHhxc8WgXXLl7t22m7b6kVZ0EKN
 oEPa7/TvIj1wVDFUFrEMEuJFBMDqZDLdBMZzEsq7O0sHaGifiy0zHRE7Eyfo+9sV0ccSWdeE
 f5GjoKLtR7MlJ+I9IfHuCl++Gxa+MM8yXfn/tk7vcsGJhewrqqTlvnpMuITCmdTJymgnKS/B
 jSDDKjgRsZLLzhkE+dVTBZRkHFOGf9rV8+JQRYwqZVIjIEln6EZdfOQIKPll4EY19f9stj7h
 ptM9jXDTBm4MBxdCdWIRsU19w4TqvitioADjMSZ1MYqQlS6pWQI9tDMJ/mLqKcWrHhar6rwv
 v/gTpsbePtVR2GkWMjEHE1VS1LKmr+UcWFu3MJIHMd4DFnypp1n1cY+u0emp93JUMDMqa79F
 G+6Sbeaw5G+/fx8S4hpw63SiA1x8c5PMjKGwx5G4ZZfNwT+mAi6dHA==
In-Reply-To: <87h6hfj44l.fsf@contorta>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 4TsGwD4zzbz9sSZ
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69514
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi vagrant,

On 2024-03-09 07:44, Vagrant Cascadian wrote:
> Any compelling reason why the test removal should be moved from a
> snippet to a phase? The documentation admits to this being an elusive
> distinction, not really clearing things up much:
> 

I read the following as stating we should keep any source code that
could be used to build the package on different systems, including tests
that could be run on other systems:

--8<---------------cut here---------------start------------->8---
The source derived from an origin should produce a source that can be
used to build the package on any system that the upstream package
supports (i.e., act as the corresponding source).
--8<---------------cut here---------------end--------------->8---

Other than that, no reason and either would be fine in my opinion. The
current documentation is more confusing rather than enlightening in this
case.

Best wishes,

Troy




Information forwarded to guix-patches@HIDDEN:
bug#69514; Package guix-patches. Full text available.

Message received at 69514 <at> debbugs.gnu.org:


Received: (at 69514) by debbugs.gnu.org; 9 Mar 2024 06:46:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 09 01:46:39 2024
Received: from localhost ([127.0.0.1]:60354 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1riqTf-0008QL-DS
	for submit <at> debbugs.gnu.org; Sat, 09 Mar 2024 01:46:39 -0500
Received: from cascadia.aikidev.net ([173.255.214.101]:57672)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1riqTa-0008Pv-CZ
 for 69514 <at> debbugs.gnu.org; Sat, 09 Mar 2024 01:46:37 -0500
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 5E5801AD81;
 Fri,  8 Mar 2024 22:45:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org;
 s=1.vagrant.user; t=1709966722;
 bh=ipgKmHQ3grs0mCUVwy/wG5zds0upfDztko/0q9JrQcg=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=m0cO9g7f6qt1leIsBiusBGNu751IvmmesB1v84rlbOfqdhNZaZnDReMB38EBuUMie
 AIKRp1LNKUiSrKFG1+wUW8PxGztpij+3QlOtjJqbAcvfmYd54oW95WbfqOZD3xWPcU
 MlxiOfFbF9s5QF1T1mozdz6jGV6DBuF9XdiKXLapeq2D/6SVMvcj/MDgqhTDhBazk2
 znMpipZ6Q6ZtNZNRLC8LuR79cfzBAuxVBRVE/1S4nWYQrqxt9Fs+U2T2B9bOfp3wF+
 Gy7zyrtdMrodLCpy37/pVw8AgxmDJcxIujXuxRGsgrzZhBH6ASyCo8EbGdzpIJXKK7
 nVWm3gy/lt97w==
From: Vagrant Cascadian <vagrant@HIDDEN>
To: Troy Figiel <troy@HIDDEN>, 69514 <at> debbugs.gnu.org
Subject: Re: [bug#69514] [PATCH] gnu: python-pandera: Update to 0.18.0.
In-Reply-To: <87wmqkpcuq.fsf@HIDDEN>
References: <87wmqkpcuq.fsf@HIDDEN>
Date: Fri, 08 Mar 2024 22:44:42 -0800
Message-ID: <87h6hfj44l.fsf@contorta>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 69514
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

On 2024-03-02, Troy Figiel wrote:
> 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
...
> @@ -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

Any compelling reason why the test removal should be moved from a
snippet to a phase? The documentation admits to this being an elusive
distinction, not really clearing things up much:

  https://guix.gnu.org/en/manual/devel/en/guix.html#Snippets-versus-Phases

Other than that, this looks like a trivial version bump. :)

Builds fine, no dependents...

live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZewFWwAKCRDcUY/If5cW
qhfEAQDcdr/rd/ehzfICNmMDjlwyd0Y4veu2lY1z5kZK7jQnHAD/QwJ1DStTCZa6
aCvw3ArC0lkFP3n5bqQ3S3zXCc9JFgw=
=G6eK
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#69514; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Mar 2024 21:02:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 02 16:02:22 2024
Received: from localhost ([127.0.0.1]:39397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rgWUv-00026S-MJ
	for submit <at> 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 <troy@HIDDEN>) id 1rgWUr-00026I-4Y
 for submit <at> 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 <troy@HIDDEN>)
 id 1rgWUN-0006Dh-Qj
 for guix-patches@HIDDEN; 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 <troy@HIDDEN>)
 id 1rgWUL-0006Ca-Dj
 for guix-patches@HIDDEN; 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 <guix-patches@HIDDEN>; 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 <troy@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: python-pandera: Update to 0.18.0.
Date: Sat, 2 Mar 2024 21:46:03 +0100
Message-ID: <87wmqkpcuq.fsf@HIDDEN>
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@HIDDEN; 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* 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





Acknowledgement sent to Troy Figiel <troy@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#69514; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 9 Mar 2024 09:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.