GNU bug report logs - #68197
[PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30

Previous Next

Package: guix-patches;

Reported by: Jaeme Sifat <jaeme <at> runbox.com>

Date: Mon, 1 Jan 2024 23:19:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68197 in the body.
You can then email your comments to 68197 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Mon, 01 Jan 2024 23:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jaeme Sifat <jaeme <at> runbox.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 01 Jan 2024 23:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: guix-patches <at> gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30
Date: Mon,  1 Jan 2024 18:14:56 -0500
This patchset updates yt-dlp to version 2023.11.16 and to version
2023.12.30. It adds three new packages: python-urllib3-2, python-requests-2.31
and python-websockets-12 to avoid mass rebuilds.

Happy new years!

Jaeme Sifat (5):
  gnu: Add python-urllib3-2.
  gnu: Add python-requests-2.31.
  gnu: yt-dlp: Update to 2023.11.16.
  gnu: Add python-websockets-12.
  gnu: yt-dlp: Update to 2023.12.30.

 gnu/packages/python-web.scm | 100 ++++++++++++++++++++++++++----------
 gnu/packages/video.scm      |   8 +--
 2 files changed, 78 insertions(+), 30 deletions(-)


base-commit: 86b5fa100992527c434616482ba9cfd92b636d12
--
2.41.0




Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Mon, 01 Jan 2024 23:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH 2/5] gnu: Add python-requests-2.31.
Date: Mon,  1 Jan 2024 18:21:50 -0500
* gnu/packages/python-web.scm (python-requests-2.31): New variable.
* gnu/packages/python-web.scm (python-requests): Inherit from
python-requests-2.31.

Change-Id: I63aa988a03d198bbc010b56e8742b5d000caeaeb
---
 gnu/packages/python-web.scm | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b2d67996a7..92d041e794 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3211,25 +3211,23 @@ (define-public python-beren
      "@code{beren} provides a REST client for Orthanc, a DICOM server.")
     (license license:gpl3+)))
 
-(define-public python-requests
+(define-public python-requests-2.31
   (package
     (name "python-requests")
-    (version "2.28.1")
+    (version "2.31.0")
     (source (origin
              (method url-fetch)
              (uri (pypi-uri "requests" version))
              (sha256
               (base32
-               "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
-    (build-system python-build-system)
+               "1qfidaynsrci4wymrw3srz8v1zy7xxpcna8sxpm91mwqixsmlb4l"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
      (list python-certifi
            python-charset-normalizer
            python-idna
            python-urllib3))
-    (arguments
-     ;; FIXME: Some tests require network access.
-     '(#:tests? #f))
+    (arguments (list #:tests? #f))
     (home-page "http://python-requests.org/")
     (synopsis "Python HTTP library")
     (description
@@ -3237,6 +3235,24 @@ (define-public python-requests
 than Python’s urllib2 library.")
     (license license:asl2.0)))
 
+(define-public python-requests
+  (package
+    (inherit python-requests-2.31)
+    (name "python-requests")
+    (version "2.28.1")
+    (source (origin
+             (method url-fetch)
+             (uri (pypi-uri "requests" version))
+             (sha256
+              (base32
+               "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
+    (build-system python-build-system) ; Tests require network access.
+    (propagated-inputs
+     (list python-certifi
+           python-charset-normalizer
+           python-idna
+           python-urllib3))))
+
 (define-public python-requests-kerberos
   (package
     (name "python-requests-kerberos")
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Mon, 01 Jan 2024 23:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH 1/5] gnu: Add python-urllib3-2.
Date: Mon,  1 Jan 2024 18:21:49 -0500
* gnu/packages/python-web.scm (python-urllib3-2): New variable.
* gnu/packages/python-web.scm (python-urllib3): Inherit python-urllib3-2.

Change-Id: Ib96504a72eb6f4485a777854bd7580c4b092756a
---
 gnu/packages/python-web.scm | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06b578dac7..b2d67996a7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3597,8 +3597,31 @@ (define-public python-unalix
 addon for removing tracking fields from URLs.")
     (license license:lgpl3+)))
 
+(define-public python-urllib3-2
+  (package
+    (name "python-urllib3")
+    (version "2.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "urllib3" version))
+        (sha256
+         (base32
+          "0m1dnpbw2dyxp7658v1fm37zzx5mb4n9p2g7i22ag3qln2pshynz"))))
+    (build-system pyproject-build-system)
+    (arguments `(#:tests? #f))
+    (native-inputs (list python-hatchling))
+    (home-page "https://urllib3.readthedocs.io/")
+    (synopsis "HTTP library with thread-safe connection pooling")
+    (description
+     "Urllib3 supports features left out of urllib and urllib2 libraries.  It
+can reuse the same socket connection for multiple requests, it can POST files,
+supports url redirection and retries, and also gzip and deflate decoding.")
+    (license license:expat)))
+
 (define-public python-urllib3
   (package
+    (inherit python-urllib3-2)
     (name "python-urllib3")
     (version "1.26.15")
     (source
@@ -3609,7 +3632,7 @@ (define-public python-urllib3
          (base32
           "01dkqv0rsjqyw4wrp6yj8h3bcnl7c678qkj845596vs7p4bqff4a"))))
     (build-system python-build-system)
-    (arguments `(#:tests? #f))
+    (native-inputs '())
     (propagated-inputs
      (append
        ;; These 5 inputs are used to build urrlib3[secure]
@@ -3623,14 +3646,7 @@ (define-public python-urllib3
                    (package-transitive-supported-systems python-pyopenssl))
          (list python-pyopenssl)
          '())
-       (list python-pysocks)))
-    (home-page "https://urllib3.readthedocs.io/")
-    (synopsis "HTTP library with thread-safe connection pooling")
-    (description
-     "Urllib3 supports features left out of urllib and urllib2 libraries.  It
-can reuse the same socket connection for multiple requests, it can POST files,
-supports url redirection and retries, and also gzip and deflate decoding.")
-    (license license:expat)))
+       (list python-pysocks)))))
 
 (define-public awscli
   (package
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Mon, 01 Jan 2024 23:26:03 GMT) Full text and rfc822 format available.

Message #14 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH 3/5] gnu: yt-dlp: Update to 2023.11.16.
Date: Mon,  1 Jan 2024 18:21:51 -0500
* gnu/packages/video.scm (yt-dlp): Update to 2023.11.16.

Change-Id: Iae2428e13073bd43ec17dd30f6937d9fe4e96726
---
 gnu/packages/video.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6da4897a57..a234c7e6b9 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2753,7 +2753,7 @@ (define-public youtube-dl
 (define-public yt-dlp
   (package/inherit youtube-dl
     (name "yt-dlp")
-    (version "2023.10.13")
+    (version "2023.11.16")
     (source
      (origin
        (method git-fetch)
@@ -2762,7 +2762,7 @@ (define-public yt-dlp
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1cy8cpqwq6yfsbrnln3qqp9lsjckn20m6w7b890ha7jahyir5m1n"))))
+        (base32 "0p6fx5dpd9za2xmqd35qimcmdpziiq26f3n58s14vly6jx5h5j31"))))
     (arguments
      (substitute-keyword-arguments (package-arguments youtube-dl)
        ((#:tests? _) (not (%current-target-system)))
@@ -2807,6 +2807,8 @@ (define-public yt-dlp
                       python-certifi
                       python-mutagen
                       python-pycryptodomex
+                      python-requests-2.31
+                      python-urllib3-2
                       python-websockets)))
     (native-inputs
      (append
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Mon, 01 Jan 2024 23:26:03 GMT) Full text and rfc822 format available.

Message #17 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH 5/5] gnu: yt-dlp: Update to 2023.12.30.
Date: Mon,  1 Jan 2024 18:21:53 -0500
* gnu/packages/video.scm (yt-dlp): Update to 2023.12.30.

Change-Id: Ib9f7cc4894259628097f298c042a6a2c44482e2a
---
 gnu/packages/video.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a234c7e6b9..93f0ac70b1 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2753,7 +2753,7 @@ (define-public youtube-dl
 (define-public yt-dlp
   (package/inherit youtube-dl
     (name "yt-dlp")
-    (version "2023.11.16")
+    (version "2023.12.30")
     (source
      (origin
        (method git-fetch)
@@ -2762,7 +2762,7 @@ (define-public yt-dlp
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0p6fx5dpd9za2xmqd35qimcmdpziiq26f3n58s14vly6jx5h5j31"))))
+        (base32 "0dyw158daziglwk102czvscfpcqkyqg0lfh9v81qxvsk9qr9ms82"))))
     (arguments
      (substitute-keyword-arguments (package-arguments youtube-dl)
        ((#:tests? _) (not (%current-target-system)))
@@ -2809,7 +2809,7 @@ (define-public yt-dlp
                       python-pycryptodomex
                       python-requests-2.31
                       python-urllib3-2
-                      python-websockets)))
+                      python-websockets-12)))
     (native-inputs
      (append
        ;; To generate the manpage.
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Mon, 01 Jan 2024 23:26:04 GMT) Full text and rfc822 format available.

Message #20 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH 4/5] gnu: Add python-websockets-12.
Date: Mon,  1 Jan 2024 18:21:52 -0500
* gnu/packages/python-web.scm (python-websockets-12): New variable.

Change-Id: I5e4555098039d17db87f16f488e302cc27668898
---
 gnu/packages/python-web.scm | 36 +++++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 92d041e794..35e9a027e9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6335,8 +6335,32 @@ (define-public python-warcio
 files.")
       (license license:asl2.0))))
 
+(define-public python-websockets-12
+  (package
+    (name "python-websockets")
+    (version "12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "websockets" version))
+       (sha256
+        (base32 "06wbik9ksfbzafq0fla3r2pjvgpy3c0qrr87w3hhs9kcpfy9rpw1"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))
+    (home-page "https://github.com/aaugustin/websockets")
+    (synopsis
+     "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
+    (description
+     "@code{websockets} is a library for building WebSocket servers and clients
+in Python with a focus on correctness and simplicity.
+
+Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
+it provides an elegant coroutine-based API.")
+    (license license:bsd-3)))
+
 (define-public python-websockets
   (package
+    (inherit python-websockets-12)
     (name "python-websockets")
     (version "11.0.3")
     (source
@@ -6355,17 +6379,7 @@ (define-public python-websockets
            #~(modify-phases %standard-phases
                (add-before 'check 'extend-test-timeout
                  (lambda _
-                   (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
-    (home-page "https://github.com/aaugustin/websockets")
-    (synopsis
-     "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
-    (description
-     "@code{websockets} is a library for building WebSocket servers and clients
-in Python with a focus on correctness and simplicity.
-
-Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
-it provides an elegant coroutine-based API.")
-    (license license:bsd-3)))
+                   (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))))
 
 (define-public python-selenium
   (package
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Tue, 02 Jan 2024 01:31:02 GMT) Full text and rfc822 format available.

Message #23 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH v2REVISION 4/5] gnu: Add python-websockets-12.
Date: Mon,  1 Jan 2024 20:25:03 -0500
* gnu/packages/python-web.scm (python-websockets-12): New variable.

Change-Id: I5e4555098039d17db87f16f488e302cc27668898
---
 gnu/packages/python-web.scm | 36 +++++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 261277155a..2797f9ff49 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6336,8 +6336,32 @@ (define-public python-warcio
 files.")
       (license license:asl2.0))))
 
+(define-public python-websockets-12
+  (package
+    (name "python-websockets")
+    (version "12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "websockets" version))
+       (sha256
+        (base32 "06wbik9ksfbzafq0fla3r2pjvgpy3c0qrr87w3hhs9kcpfy9rpw1"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))
+    (home-page "https://github.com/aaugustin/websockets")
+    (synopsis
+     "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
+    (description
+     "@code{websockets} is a library for building WebSocket servers and clients
+in Python with a focus on correctness and simplicity.
+
+Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
+it provides an elegant coroutine-based API.")
+    (license license:bsd-3)))
+
 (define-public python-websockets
   (package
+    (inherit python-websockets-12)
     (name "python-websockets")
     (version "11.0.3")
     (source
@@ -6356,17 +6380,7 @@ (define-public python-websockets
            #~(modify-phases %standard-phases
                (add-before 'check 'extend-test-timeout
                  (lambda _
-                   (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
-    (home-page "https://github.com/aaugustin/websockets")
-    (synopsis
-     "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
-    (description
-     "@code{websockets} is a library for building WebSocket servers and clients
-in Python with a focus on correctness and simplicity.
-
-Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
-it provides an elegant coroutine-based API.")
-    (license license:bsd-3)))
+                   (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))))
 
 (define-public python-selenium
   (package
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Tue, 02 Jan 2024 01:31:02 GMT) Full text and rfc822 format available.

Message #26 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH v2REVISION 1/5] gnu: Add python-urllib3-2.
Date: Mon,  1 Jan 2024 20:25:00 -0500
* gnu/packages/python-web.scm (python-urllib3-2): New variable.
* gnu/packages/python-web.scm (python-urllib3): Inherit python-urllib3-2.

Change-Id: Ib96504a72eb6f4485a777854bd7580c4b092756a
---
 gnu/packages/python-web.scm | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06b578dac7..cd5cac4f44 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull <at> hotmail.fr>
 ;;; Copyright © 2023 John Kehayias <john.kehayias <at> protonmail.com>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
+;;; Copyright © 2024 Jaeme Sifat <jaeme <at> runbox.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3597,8 +3598,31 @@ (define-public python-unalix
 addon for removing tracking fields from URLs.")
     (license license:lgpl3+)))
 
+(define-public python-urllib3-2
+  (package
+    (name "python-urllib3")
+    (version "2.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "urllib3" version))
+        (sha256
+         (base32
+          "0m1dnpbw2dyxp7658v1fm37zzx5mb4n9p2g7i22ag3qln2pshynz"))))
+    (build-system pyproject-build-system)
+    (arguments `(#:tests? #f))
+    (native-inputs (list python-hatchling))
+    (home-page "https://urllib3.readthedocs.io/")
+    (synopsis "HTTP library with thread-safe connection pooling")
+    (description
+     "Urllib3 supports features left out of urllib and urllib2 libraries.  It
+can reuse the same socket connection for multiple requests, it can POST files,
+supports url redirection and retries, and also gzip and deflate decoding.")
+    (license license:expat)))
+
 (define-public python-urllib3
   (package
+    (inherit python-urllib3-2)
     (name "python-urllib3")
     (version "1.26.15")
     (source
@@ -3609,7 +3633,7 @@ (define-public python-urllib3
          (base32
           "01dkqv0rsjqyw4wrp6yj8h3bcnl7c678qkj845596vs7p4bqff4a"))))
     (build-system python-build-system)
-    (arguments `(#:tests? #f))
+    (native-inputs '())
     (propagated-inputs
      (append
        ;; These 5 inputs are used to build urrlib3[secure]
@@ -3623,14 +3647,7 @@ (define-public python-urllib3
                    (package-transitive-supported-systems python-pyopenssl))
          (list python-pyopenssl)
          '())
-       (list python-pysocks)))
-    (home-page "https://urllib3.readthedocs.io/")
-    (synopsis "HTTP library with thread-safe connection pooling")
-    (description
-     "Urllib3 supports features left out of urllib and urllib2 libraries.  It
-can reuse the same socket connection for multiple requests, it can POST files,
-supports url redirection and retries, and also gzip and deflate decoding.")
-    (license license:expat)))
+       (list python-pysocks)))))
 
 (define-public awscli
   (package

base-commit: ee0cf3b9ff4cd5a9d3637d09677195ea9ee1a8c0
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Tue, 02 Jan 2024 01:31:03 GMT) Full text and rfc822 format available.

Message #29 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH v2REVISION 5/5] gnu: yt-dlp: Update to 2023.12.30.
Date: Mon,  1 Jan 2024 20:25:04 -0500
* gnu/packages/video.scm (yt-dlp): Update to 2023.12.30.

Change-Id: Ib9f7cc4894259628097f298c042a6a2c44482e2a
---
 gnu/packages/video.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ca1904614c..d0647adf5b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2753,7 +2753,7 @@ (define-public youtube-dl
 (define-public yt-dlp
   (package/inherit youtube-dl
     (name "yt-dlp")
-    (version "2023.11.16")
+    (version "2023.12.30")
     (source
      (origin
        (method git-fetch)
@@ -2762,7 +2762,7 @@ (define-public yt-dlp
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0p6fx5dpd9za2xmqd35qimcmdpziiq26f3n58s14vly6jx5h5j31"))))
+        (base32 "0dyw158daziglwk102czvscfpcqkyqg0lfh9v81qxvsk9qr9ms82"))))
     (arguments
      (substitute-keyword-arguments (package-arguments youtube-dl)
        ((#:tests? _) (not (%current-target-system)))
@@ -2809,7 +2809,7 @@ (define-public yt-dlp
                       python-pycryptodomex
                       python-requests-2.31
                       python-urllib3-2
-                      python-websockets)))
+                      python-websockets-12)))
     (native-inputs
      (append
        ;; To generate the manpage.
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Tue, 02 Jan 2024 01:31:03 GMT) Full text and rfc822 format available.

Message #32 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH v2REVISION 3/5] gnu: yt-dlp: Update to 2023.11.16.
Date: Mon,  1 Jan 2024 20:25:02 -0500
* gnu/packages/video.scm (yt-dlp): Update to 2023.11.16.

Change-Id: Iae2428e13073bd43ec17dd30f6937d9fe4e96726
---
 gnu/packages/video.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6da4897a57..ca1904614c 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -66,7 +66,7 @@
 ;;; Copyright © 2023 Ott Joon <oj <at> vern.cc>
 ;;; Copyright © 2023 Dominik Delgado Steuter <dds <at> disroot.org>
 ;;; Copyright © 2023 Saku Laesvuori <saku <at> laesvuori.fi>
-;;; Copyright © 2023 Jaeme Sifat <jaeme <at> runbox.com>
+;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme <at> runbox.com>
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -2753,7 +2753,7 @@ (define-public youtube-dl
 (define-public yt-dlp
   (package/inherit youtube-dl
     (name "yt-dlp")
-    (version "2023.10.13")
+    (version "2023.11.16")
     (source
      (origin
        (method git-fetch)
@@ -2762,7 +2762,7 @@ (define-public yt-dlp
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1cy8cpqwq6yfsbrnln3qqp9lsjckn20m6w7b890ha7jahyir5m1n"))))
+        (base32 "0p6fx5dpd9za2xmqd35qimcmdpziiq26f3n58s14vly6jx5h5j31"))))
     (arguments
      (substitute-keyword-arguments (package-arguments youtube-dl)
        ((#:tests? _) (not (%current-target-system)))
@@ -2807,6 +2807,8 @@ (define-public yt-dlp
                       python-certifi
                       python-mutagen
                       python-pycryptodomex
+                      python-requests-2.31
+                      python-urllib3-2
                       python-websockets)))
     (native-inputs
      (append
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Tue, 02 Jan 2024 01:31:03 GMT) Full text and rfc822 format available.

Message #35 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Jaeme Sifat <jaeme <at> runbox.com>
To: 68197 <at> debbugs.gnu.org
Cc: Jaeme Sifat <jaeme <at> runbox.com>
Subject: [PATCH v2REVISION 2/5] gnu: Add python-requests-2.31.
Date: Mon,  1 Jan 2024 20:25:01 -0500
* gnu/packages/python-web.scm (python-requests-2.31): New variable.
* gnu/packages/python-web.scm (python-requests): Inherit from
python-requests-2.31.

Change-Id: I63aa988a03d198bbc010b56e8742b5d000caeaeb
---
 gnu/packages/python-web.scm | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cd5cac4f44..261277155a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3212,25 +3212,23 @@ (define-public python-beren
      "@code{beren} provides a REST client for Orthanc, a DICOM server.")
     (license license:gpl3+)))
 
-(define-public python-requests
+(define-public python-requests-2.31
   (package
     (name "python-requests")
-    (version "2.28.1")
+    (version "2.31.0")
     (source (origin
              (method url-fetch)
              (uri (pypi-uri "requests" version))
              (sha256
               (base32
-               "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
-    (build-system python-build-system)
+               "1qfidaynsrci4wymrw3srz8v1zy7xxpcna8sxpm91mwqixsmlb4l"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
      (list python-certifi
            python-charset-normalizer
            python-idna
            python-urllib3))
-    (arguments
-     ;; FIXME: Some tests require network access.
-     '(#:tests? #f))
+    (arguments (list #:tests? #f))
     (home-page "http://python-requests.org/")
     (synopsis "Python HTTP library")
     (description
@@ -3238,6 +3236,24 @@ (define-public python-requests
 than Python’s urllib2 library.")
     (license license:asl2.0)))
 
+(define-public python-requests
+  (package
+    (inherit python-requests-2.31)
+    (name "python-requests")
+    (version "2.28.1")
+    (source (origin
+             (method url-fetch)
+             (uri (pypi-uri "requests" version))
+             (sha256
+              (base32
+               "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
+    (build-system python-build-system) ; Tests require network access.
+    (propagated-inputs
+     (list python-certifi
+           python-charset-normalizer
+           python-idna
+           python-urllib3))))
+
 (define-public python-requests-kerberos
   (package
     (name "python-requests-kerberos")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#68197; Package guix-patches. (Tue, 12 Mar 2024 23:51:02 GMT) Full text and rfc822 format available.

Message #38 received at 68197 <at> debbugs.gnu.org (full text, mbox):

From: Ian Eure <ian <at> retrospec.tv>
To: 68197 <at> debbugs.gnu.org, ian <at> retrospec.tv
Subject: Re: [PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30
Date: Tue, 12 Mar 2024 16:23:30 -0700
Hi, thanks for doing this.

Few things:

I don’t think it makes sense to add version 2023.11.16 in one 
patch, then replace it with 2023.12.13 in the next.  I’d go 
straight to 2023.03.10, which was just released.

Do you know how many packages python-requests would require 
rebuilding?  Since it’s a minor version bump, I’d expect it 
wouldn’t break builds, just require a lot of rebuilds, since it’s 
a fairly popular library.  If possible, I think we should update 
and rebuild instead of adding a second version.

It’s not clear to me why urllib3 2.x is getting added.  The 
requirements for 2023.12.13[1] say that 1.26.17 or newer is 
acceptable; 1.26.15 is in Guix presently.  It seems inadvisable to 
use a library with a major version greater than yt-dlp expects.  I 
think it’d be simpler to update to 1.26.18 (the latest 1.x 
release) and not maintain two versions.  It looks like this was 
last updated around a year ago, in commit 
3e8d608dac2eb9f387431bd8976f78de9ea7a701, and I don’t see anything 
special about that, so that makes me think this would be a 
relatively safe course.

> -    (arguments
> -     ;; FIXME: Some tests require network access.
> -     '(#:tests? #f))
> +    (arguments (list #:tests? #f))

> +(define-public python-requests
> +  (package
> +    (inherit python-requests-2.31)
> +    (name "python-requests")
> +    (version "2.28.1")
> +    (source (origin
> +             (method url-fetch)
> +             (uri (pypi-uri "requests" version))
> +             (sha256
> +              (base32
> + 
> "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
> +    (build-system python-build-system) ; Tests require network 
> access.

Looks like this comment migrated away from the context it’s 
helpful for.


> @@ -3609,7 +3632,7 @@ (define-public python-urllib3
>           (base32
>            "01dkqv0rsjqyw4wrp6yj8h3bcnl7c678qkj845596vs7p4bqff4a"))))
>      (build-system python-build-system)
> -    (arguments `(#:tests? #f))
> +    (native-inputs '())

A comment on the empty (native-inputs) would be good, I think.

(I’m not a Guix committer, so I can’t actually move this forward / 
my thoughts are just my own.  I’d just like to see a yt-dlp 
update.)

Thanks,

 — Ian

[1]: 
https://github.com/yt-dlp/yt-dlp/blob/9f40cd289665b2fb8a05ccaf9721b3b2ca0f39c7/requirements.txt#L7




Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Mon, 18 Nov 2024 23:36:02 GMT) Full text and rfc822 format available.

Notification sent to Jaeme Sifat <jaeme <at> runbox.com>:
bug acknowledged by developer. (Mon, 18 Nov 2024 23:36:02 GMT) Full text and rfc822 format available.

Message #43 received at 68197-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68197-done <at> debbugs.gnu.org
Subject: [PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30
Date: Mon, 18 Nov 2024 23:34:25 +0000
[Message part 1 (text/plain, inline)]
Hi,

Closing as yt-dlp is already on 2024.11.18.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 17 Dec 2024 12:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.