Message ID | 9c646934de8160f6782e20fbd6ebadf5bf11f69e.1656513323.git.peter@polidoro.io |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4DEAB27BBEA; Wed, 29 Jun 2022 16:00:44 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 0D37527BBE9 for <patchwork@mira.cbaines.net>; Wed, 29 Jun 2022 16:00:44 +0100 (BST) Received: from localhost ([::1]:39236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1o6ZBL-0000NS-40 for patchwork@mira.cbaines.net; Wed, 29 Jun 2022 11:00:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o6Yy9-0004jC-IE for guix-patches@gnu.org; Wed, 29 Jun 2022 10:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o6Yy7-00055F-2I for guix-patches@gnu.org; Wed, 29 Jun 2022 10:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o6Yy7-0000zk-0Q for guix-patches@gnu.org; Wed, 29 Jun 2022 10:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56298] [PATCH 5/7] gnu: rust-anyhow-1: Update to 1.0.58. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Jun 2022 14:47:02 +0000 Resent-Message-ID: <handler.56298.B56298.16565140193784@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 56298@debbugs.gnu.org Cc: Peter Polidoro <peter@polidoro.io> Received: via spool by 56298-submit@debbugs.gnu.org id=B56298.16565140193784 (code B ref 56298); Wed, 29 Jun 2022 14:47:02 +0000 Received: (at 56298) by debbugs.gnu.org; 29 Jun 2022 14:46:59 +0000 Received: from localhost ([127.0.0.1]:59759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1o6Yy3-0000yx-3N for submit@debbugs.gnu.org; Wed, 29 Jun 2022 10:46:59 -0400 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:24977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <peter@polidoro.io>) id 1o6Yy0-0000yG-Ub for 56298@debbugs.gnu.org; Wed, 29 Jun 2022 10:46:58 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C0261C3624; Wed, 29 Jun 2022 14:46:48 +0000 (UTC) Received: from pdx1-sub0-mail-a203.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0D606C36C7; Wed, 29 Jun 2022 14:46:48 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1656514008; a=rsa-sha256; cv=none; b=4PqGIyTaGepzd3eSELbN4xgXs1yFozHFpYdU5a8jhz6h7ZejcNvEYvSU1mwjlA0EwPQVC5 VqKvbd7SgotguJu/07eHEI7JDUsS/4noow89Hfx48hOqHXbBojjCaIEFwV3mOxiXXRJE9m rQrh2xl4XtmBuPkzgce7gqUPQ9aXGhxLmSedEYDk0AB6FrlJtlfjYultSBdNvV/AD15IIa 7vlqOlZJy1sK42w7qkqujoOnGldbz54fRrQnH+Y+gxuYM6X1RHtJMtkoN/5sIQY5tZZDxt A1Cc0Jlapic9d4eIdPWffcL4/JACp38yG8JnX3W8ZndKnIN/ktFeGv97AsmDmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1656514008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=gPP8TO1eqsQ0MKCYd947HjU2xe5xMYlOo9HBf5gpdKI=; b=uuOcRue6IkHS4lKwu2kEV4D045lsPu3EVr13orc55icQp/5dFm6PkvvSePrT+oHSacN9u5 EsGIggJG/9z48hmT/LRhokYrP0jOWQq6WPP4NyKA52awdjo6h92w1qvmPAlmFwU7G3jCRl 8y6v1LINihAwOK0nDShA1Q/APLlKtjqIcFo8FU7aGIDG/kESrhbKhUJjkruBbFjOKIbiHQ zDIvzy5yOwnimiR0693dza4x2Bc/jmkF9yI8tA5rugG4BXaMNai2T8F/4dTBonX61rWbNZ qSK/uG1tp50WyV0xhQuwa0b693BEdw3jFCou8UiPLDjI/ldWgmuTtpDXk/ppGQ== ARC-Authentication-Results: i=1; rspamd-689699966c-c778m; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Macabre-Whistle: 7edf9359677d14ed_1656514008313_1660060991 X-MC-Loop-Signature: 1656514008313:205552315 X-MC-Ingress-Time: 1656514008313 Received: from pdx1-sub0-mail-a203.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.98.242.248 (trex/6.7.1); Wed, 29 Jun 2022 14:46:48 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a203.dreamhost.com (Postfix) with ESMTPSA id 4LY46b3QNgzCc; Wed, 29 Jun 2022 07:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1656514007; bh=gPP8TO1eqsQ0MKCYd947HjU2xe5xMYlOo9HBf5gpdKI=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=JZeNBsEiF9u7XOgt6IoZ2m1PE95hCb+fWc371/++j0QzSabKjwQMA6kIDT8YR9OIU M/7OyjF86Yy+Y4cLGLx0dSQ2HOjycBFy5tJjdzG1mahsR7kMKLNEvqr3nnI2pMUQzo 3QcfPKhmZD2y951RtGBD2MpzFBkZut0E6zzZqvkeAOh7PHcj7iY+RVBCauJN2RJlgo L0sApvIDuFLBowOYjq2XF2D9m41xtIYx3hWIWIsHx4J1trfAP1aQYf4gzp3Ws/sMS0 IWQ6JmxCmdUXZTPLiaw9+eKZsgse1oRZE9uObNHLo3Rnc6bhDCKcp/yog9S17GWBlw Vg3jgPo4y0DMg== From: peter@polidoro.io Date: Wed, 29 Jun 2022 10:46:31 -0400 Message-Id: <9c646934de8160f6782e20fbd6ebadf5bf11f69e.1656513323.git.peter@polidoro.io> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1656513323.git.peter@polidoro.io> References: <cover.1656513323.git.peter@polidoro.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
Add python-cmsis-pack-manager and dependencies
|
|
Commit Message
Peter Polidoro
June 29, 2022, 2:46 p.m. UTC
From: Peter Polidoro <peter@polidoro.io>
* gnu/packages/crates-io.scm (rust-anyhow-1): Update to 1.0.58.
---
gnu/packages/crates-io.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Comments
On 29-06-2022 16:46, peter@polidoro.io wrote: > (build-system cargo-build-system) > (arguments > - `(#:cargo-development-inputs > + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)) > + #:cargo-development-inputs > (("rust-futures" ,rust-futures-0.3) > ("rust-rustversion" ,rust-rustversion-1) > + ("rust-syn" ,rust-syn-1) > ("rust-thiserror" ,rust-thiserror-1) > ("rust-trybuild" ,rust-trybuild-1)))) I assume you updated rust-rustversion to update rust-anyhow? If so, I have looked at the Cargo.toml of anyhow. It is very picky in the version of dependents, so if in the future we update rust-rustversion again, rust-anyhow will fail to build. To be robust to that, the Cargo.toml needs to be patched to be less picky, or alternatively you could wait for antioxidant which ignores the version specifications entirely. Greetings, Maxime.
On 27-07-2022 18:01, Maxime Devos wrote: > I assume you updated rust-rustversion to update rust-anyhow? If so, I > have looked at the Cargo.toml of anyhow. It is very picky in the > version of dependents, so if in the future we update rust-rustversion > again, rust-anyhow will fail to build. To be robust to that, the > Cargo.toml needs to be patched to be less picky, or alternatively you > could wait for antioxidant which ignores the version specifications > entirely. Nevermind, from <https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html>: > The string |"0.1.12"| is a version requirement. Although it looks like > a specific /version/ of the |time| crate, it actually specifies a > /range/ of versions and allows SemVer <https://semver.org> compatible > updates. An update is allowed if the new version number does not > modify the left-most non-zero digit in the major, minor, patch > grouping. In this case, if we ran |cargo update -p time|, cargo should > update us to version |0.1.13| if it is the latest |0.1.z| release, but > would not update us to |0.2.0|. If instead we had specified the > version string as |1.0|, cargo should update to |1.1| if it is the > latest |1.y| release, but not |2.0|. The version |0.0.x| is not > considered compatible with any other version. > (if it used = or <=, that would be a different manner) Greetings, Maxime.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d309d212b9..155d693430 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2839,7 +2839,7 @@ (define-public rust-antidote-1 (define-public rust-anyhow-1 (package (name "rust-anyhow") - (version "1.0.46") + (version "1.0.58") (source (origin (method url-fetch) @@ -2848,12 +2848,14 @@ (define-public rust-anyhow-1 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0w0zm1bqk5kbk834r4xszlzqiln4vw5k1lnlswyjkh24khi2ia1s")))) + "014pw61axl4idagjdh9x96b06cy12vqs5599mzi11gnd7h2x41xv")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) ("rust-rustversion" ,rust-rustversion-1) + ("rust-syn" ,rust-syn-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/dtolnay/anyhow")