unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73807] [PATCH] gnu: awscli: Fix broken build.
@ 2024-10-14 20:13 King, Spencer via Guix-patches via
  2024-10-16 17:26 ` bug#73807: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: King, Spencer via Guix-patches via @ 2024-10-14 20:13 UTC (permalink / raw)
  To: 73807

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#73807: [PATCH] gnu: awscli: Fix broken build.
  2024-10-14 20:13 [bug#73807] [PATCH] gnu: awscli: Fix broken build King, Spencer via Guix-patches via
@ 2024-10-16 17:26 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-10-16 17:26 UTC (permalink / raw)
  To: King, Spencer; +Cc: 73807-done

"King, Spencer" <spencer.king@wustl.edu> skribis:

> 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

I tweaked the commit log and applied it (note that only version 1.22 was
affect; awscli@2 was fine.)

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-16 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14 20:13 [bug#73807] [PATCH] gnu: awscli: Fix broken build King, Spencer via Guix-patches via
2024-10-16 17:26 ` bug#73807: " Ludovic Courtès

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).