Message ID | cover.1704150597.git.jaeme@runbox.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 42B6327BBE9; Mon, 1 Jan 2024 23:19:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9CA7027BBE2 for <patchwork@mira.cbaines.net>; Mon, 1 Jan 2024 23:19:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1rKRYl-0004Kx-Fl; Mon, 01 Jan 2024 18:19:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rKRYi-0004Ki-JC for guix-patches@gnu.org; Mon, 01 Jan 2024 18:19:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rKRYi-0002Xs-B5 for guix-patches@gnu.org; Mon, 01 Jan 2024 18:19:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rKRYk-0003BM-B7 for guix-patches@gnu.org; Mon, 01 Jan 2024 18:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68197] [PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30 Resent-From: Jaeme Sifat <jaeme@runbox.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jan 2024 23:19:02 +0000 Resent-Message-ID: <handler.68197.B.170415113512217@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68197 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68197@debbugs.gnu.org Cc: Jaeme Sifat <jaeme@runbox.com> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170415113512217 (code B ref -1); Mon, 01 Jan 2024 23:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2024 23:18:55 +0000 Received: from localhost ([127.0.0.1]:48894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rKRYc-0003Az-PH for submit@debbugs.gnu.org; Mon, 01 Jan 2024 18:18:55 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaeme@runbox.com>) id 1rKRYa-0003Al-Ls for submit@debbugs.gnu.org; Mon, 01 Jan 2024 18:18:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jaeme@runbox.com>) id 1rKRYS-0004Ib-NU for guix-patches@gnu.org; Mon, 01 Jan 2024 18:18:44 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jaeme@runbox.com>) id 1rKRYQ-0002UD-Ro for guix-patches@gnu.org; Mon, 01 Jan 2024 18:18:44 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <jaeme@runbox.com>) id 1rKRYK-00D7MT-LE for guix-patches@gnu.org; Tue, 02 Jan 2024 00:18:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From; bh=hR9CuduBoMy4TrQxJhEY7mSo4qome5++++PkUfeiCog=; b=ptSFQN z20ibJj1ZWRe2wnbGUL0BhyyQKsmGEwJQifHgTQXNLuH7JqUA79AMmeOEYhnD+V3663Idn3PY6dUl mHyfpCbmZ9xPxoZ4taojD1SXL7LgHG8cpgWfGCu55/kZ7iXBA+gO/6eB6P3Vg1RS4GD17nDTFPRTe B5al5YgJStDGGhK2oL7SycjG2pnJYIt9rEd8EPEscXRLxODlzaNvDT7aj6zKPCbFZouJwxl9Z3dVc XX1ZppC7LjcKMUwigwxCxCVJ96weEpUU8puYwGaY8LYj1ilHq+1AbAHJNT/Cv8YA2A3M943lwY0GB tyzcLAyTs1D7gpuMlp4BoTL03QmQ==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from <jaeme@runbox.com>) id 1rKRYK-0003A0-9u for guix-patches@gnu.org; Tue, 02 Jan 2024 00:18:36 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rKRYF-000nWe-AO; Tue, 02 Jan 2024 00:18:31 +0100 Date: Mon, 1 Jan 2024 18:14:56 -0500 Message-ID: <cover.1704150597.git.jaeme@runbox.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=jaeme@runbox.com; helo=mailtransmit05.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Jaeme Sifat <jaeme@runbox.com> X-ACL-Warn: , Jaeme Sifat via Guix-patches <guix-patches@gnu.org> From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series | gnu: yt-dlp: Update to 2023.12.30 | |
Message
Jaeme Sifat
Jan. 1, 2024, 11:14 p.m. UTC
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
Comments
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
Hi, Closing as yt-dlp is already on 2024.11.18. -- Oleg