unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 54934@debbugs.gnu.org
Cc: zimoun <zimon.toutoune@gmail.com>
Subject: [bug#54934] [PATCH 1/4] gnu: python-pyyaml-for-awscli: Rename and hide.
Date: Thu, 14 Apr 2022 13:10:36 +0200	[thread overview]
Message-ID: <20220414111039.2088906-1-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20220414110849.2088259-1-zimon.toutoune@gmail.com>

* gnu/packages/python-xyz.scm (python-pyyaml-for-awscli): Rename variable to
'python-pyyaml-5', hide the package.
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 36e4fe5898..1938b2bfad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3941,17 +3941,19 @@ (define-public python2-pyyaml
           (base32
            "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0")))))))
 
-(define-public python-pyyaml-for-awscli
-  (package
-    (inherit python-pyyaml)
-    (version "5.4.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "PyYAML" version))
-       (sha256
-        (base32
-         "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0"))))))
+;;; Required by some packages not yet updated.
+(define-public python-pyyaml-5
+  (hidden-package
+   (package
+     (inherit python-pyyaml)
+     (version "5.4.1")
+     (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "PyYAML" version))
+        (sha256
+         (base32
+          "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0")))))))
 
 (define-public python-vine
   (package
-- 
2.35.1





  reply	other threads:[~2022-04-14 11:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 11:08 [bug#54934] [PATCH 0/4] Fix broken packages by PyYAML upgrade zimoun
2022-04-14 11:10 ` zimoun [this message]
2022-04-14 11:10   ` [bug#54934] [PATCH 2/4] gnu: docker-compose: Use python-pyyaml@5 zimoun
2022-04-14 11:10   ` [bug#54934] [PATCH 3/4] gnu: conan: " zimoun
2022-04-14 11:10   ` [bug#54934] [PATCH 4/4] gnu: ganeti: " zimoun
2022-04-14 13:19 ` [bug#54934] [PATCH 0/4] Fix broken packages by PyYAML upgrade Ricardo Wurmus
2022-04-14 13:28   ` zimoun
2022-04-14 14:00     ` Ricardo Wurmus
2022-04-14 15:07       ` zimoun
2022-04-27 22:11 ` bug#54934: " 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=20220414111039.2088906-1-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=54934@debbugs.gnu.org \
    /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).