unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "King, Spencer via Guix-patches" via <guix-patches@gnu.org>
To: 73807@debbugs.gnu.org
Subject: [bug#73807] [PATCH] gnu: awscli: Fix broken build.
Date: Mon, 14 Oct 2024 20:13:50 +0000	[thread overview]
Message-ID: <CH3PR02MB9746FE5FCD450BD0DCC8519890442@CH3PR02MB9746.namprd02.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

Currently, awscli is failing to build since it relies on python-pyyaml < 6 and we are providing it >6. This patch swaps python-pyyaml out for python-pyyaml-5 to fix this issue.

Best,
Spencer

[-- Attachment #2: 0001-gnu-awscli-Fix-broken-build.patch --]
[-- Type: application/octet-stream, Size: 1345 bytes --]

From e485e7d18a06bdc65bd4a1ec69f6cb4368e1fb2e Mon Sep 17 00:00:00 2001
Message-Id: <e485e7d18a06bdc65bd4a1ec69f6cb4368e1fb2e.1728936613.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Mon, 14 Oct 2024 20:07:49 +0000
Subject: [PATCH] gnu: awscli: Fix broken build.

awscli requires PyYAML<=6,>=3.10.

Change-Id: I9b7a523b9f72bdc13f48bf699e7e01f0ebe7a575
---
 gnu/packages/python-web.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f32f15b8b9..d892e03c9d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -67,6 +67,7 @@
 ;;; Copyright © 2024 Markku Korkeala <markku.korkeala@iki.fi>
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
 ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4170,7 +4171,7 @@ (define-public awscli
            python-botocore
            python-s3transfer
            python-docutils-0.15
-           python-pyyaml
+           python-pyyaml-5
            python-rsa))
     (home-page "https://aws.amazon.com/cli/")
     (synopsis "Command line client for AWS")

base-commit: 6d0a86d22d75f8f4bb602a35218513ae0aef71f1
-- 
2.34.1


             reply	other threads:[~2024-10-14 20:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 20:13 King, Spencer via Guix-patches via [this message]
2024-10-16 17:26 ` bug#73807: [PATCH] gnu: awscli: Fix broken build Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CH3PR02MB9746FE5FCD450BD0DCC8519890442@CH3PR02MB9746.namprd02.prod.outlook.com \
    --to=guix-patches@gnu.org \
    --cc=73807@debbugs.gnu.org \
    --cc=spencer.king@wustl.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).