GNU bug report logs - #54741
[PATCH] gnu: rust-pyo3-0.15: Fix inputs.

Previous Next

Package: guix-patches;

Reported by: Brian Kubisiak <brian <at> kubisiak.com>

Date: Tue, 5 Apr 2022 22:31:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54741 in the body.
You can then email your comments to 54741 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#54741; Package guix-patches. (Tue, 05 Apr 2022 22:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Kubisiak <brian <at> kubisiak.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 05 Apr 2022 22:31:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Kubisiak <brian <at> kubisiak.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
Date: Tue, 5 Apr 2022 15:30:46 -0700
* gnu/packages/crates-io.scm(rust-pyo3-0.15)[arguments]<#:phases>: Substitute
  rust-criterion version 0.3.4 to 0.3.5.
---
 gnu/packages/crates-io.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bebc1fce8d..a11c58f9e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45746,7 +45746,14 @@ (define-public rust-pyo3-0.15
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-trybuild" ,rust-trybuild-1))
        ;; FIXME: fails to initialize Python interpreter.
-       #:tests? #f))
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-cargo-toml
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("0.3.4") ,(package-version rust-criterion-0.3)))
+             #t)))))
     (inputs (list python))
     (home-page "https://github.com/pyo3/pyo3")
     (synopsis "Rust bindings for the Python interpreter")
-- 
2.34.0






Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 02 May 2022 20:19:01 GMT) Full text and rfc822 format available.

Notification sent to Brian Kubisiak <brian <at> kubisiak.com>:
bug acknowledged by developer. (Mon, 02 May 2022 20:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 54741-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Brian Kubisiak <brian <at> kubisiak.com>
Cc: 54741-done <at> debbugs.gnu.org
Subject: Re: bug#54741: [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
Date: Mon, 02 May 2022 22:18:15 +0200
Hi,

Brian Kubisiak <brian <at> kubisiak.com> skribis:

> * gnu/packages/crates-io.scm(rust-pyo3-0.15)[arguments]<#:phases>: Substitute
>   rust-criterion version 0.3.4 to 0.3.5.

Oops I independently pushed something to the same effect in
09fcd191e14824dc9569611d6b2d4e423ef5b106.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 May 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 302 days ago.

Previous Next


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