diff mbox series

[bug#74138,v1] gnu: yt-dlp: Update to 2024.10.22.

Message ID ZyOvc0pfQiRgPNyT@kernelpanicroom
State New
Headers show
Series [bug#74138,v1] gnu: yt-dlp: Update to 2024.10.22. | expand

Commit Message

Jakob Kirsch Oct. 31, 2024, 4:25 p.m. UTC
yt-dlp broke with Youtube videos so here we go.
From 21874c9432b9f942e45db71561ac8ea5c05c50b4 Mon Sep 17 00:00:00 2001
Message-ID: <21874c9432b9f942e45db71561ac8ea5c05c50b4.1730391804.git.jakob.kirsch@web.de>
From: Jakob Kirsch <jakob.kirsch@web.de>
Date: Thu, 31 Oct 2024 17:18:08 +0100
Subject: [PATCH v1 1/2] gnu: python-websockets: Update to 13.0.

* gnu/packages/python-web.scm (python-websockets): Update to 13.0.

Change-Id: I242cc257c779d1dba992e814ba4da68c99daff6e
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: 6e50b0c56a8cc767bd3acb26638f78c450bde718
--
2.46.0
From e9144eee3312ed896e47f4f9274fd241348d3fac Mon Sep 17 00:00:00 2001
Message-ID: <e9144eee3312ed896e47f4f9274fd241348d3fac.1730391804.git.jakob.kirsch@web.de>
In-Reply-To: <21874c9432b9f942e45db71561ac8ea5c05c50b4.1730391804.git.jakob.kirsch@web.de>
References: <21874c9432b9f942e45db71561ac8ea5c05c50b4.1730391804.git.jakob.kirsch@web.de>
From: Jakob Kirsch <jakob.kirsch@web.de>
Date: Thu, 31 Oct 2024 17:18:08 +0100
Subject: [PATCH v1 2/2] gnu: yt-dlp: Update to 2024.10.22.

* gnu/packages/video.scm (yt-dlp): Update to 2024.10.22.

Change-Id: Ifd83fd76ffdb2d2ddab0c9577278a308a3f03cb5
---
 gnu/packages/video.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 92c0acef3c..600f1f481d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3170,7 +3170,7 @@ (define-public youtube-dl
 (define-public yt-dlp
   (package
     (name "yt-dlp")
-    (version "2024.08.06")
+    (version "2024.10.22")
     (source
      (origin
        (method git-fetch)
@@ -3178,8 +3178,11 @@ (define-public yt-dlp
              (url "https://github.com/yt-dlp/yt-dlp/")
              (commit version)))
        (file-name (git-file-name name version))
+       (modules '((guix build utils)))
+       (snippet '(substitute* "pyproject.toml"
+                   (("^.*Programming Language :: Python :: 3\\.13.*$") "")))
        (sha256
-        (base32 "0k44p1a9nckj7m6gxz7zggci0iihflivxvkh9l8wwbnsfvqhyfrn"))))
+        (base32 "1gw19f4h71vlchljg08g5l8sd60gmflbdpxz2vsinxzkmqvrqnra"))))
     (build-system pyproject-build-system)
     (arguments
      `(#:tests? ,(not (%current-target-system))
--
2.46.0

Comments

Doğan Çeçen Oct. 30, 2024, 10:14 p.m. UTC | #1
LGTM.

I was able to use the new version successfully with a Youtube link, and the following command returns success!

$ ./pre-inst-env guix build yt-dlp --check --no-grafts
...
successfully built /gnu/store/sms5b0iplja1mjj96r1k6phm3lvc6wjk-yt-dlp-2024.10.22.drv 
successfully built /gnu/store/sms5b0iplja1mjj96r1k6phm3lvc6wjk-yt-dlp-2024.10.22.drv 
/gnu/store/y0pisbj9z5f35phj0nnf0zsavimjr9m2-yt-dlp-2024.10.22
diff mbox series

Patch

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d892e03c9d..b92ce4533a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6845,7 +6845,7 @@  (define-public python-warcio
 (define-public python-websockets
   (package
     (name "python-websockets")
-    (version "12.0")
+    (version "13.0")
     (source
      (origin
        (method git-fetch)
@@ -6855,7 +6855,7 @@  (define-public python-websockets
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1a587a1knjsy9zmgab9v2yncx0803pg2hfcvf7kz6vs8ixaggqmh"))))
+         "1brnaf1c4r9377p2npxpkik9ggqzmymvnnazdhw6s2wzfhlln8vv"))))
     (build-system python-build-system)
     (arguments
      (list #:phases