public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/yt-dlp] f45: Update to 2026.08.19 - Closes rhbz#2497100 rhbz#2505367 rhbz#2491888 rhbz#2491889 rhbz#2491890 rhbz#2499189
@ 2026-08-20 15:10 Mikel Olasagasti Uranga
0 siblings, 0 replies; only message in thread
From: Mikel Olasagasti Uranga @ 2026-08-20 15:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/yt-dlp
Branch : f45
Commit : 8ba6ef58d27f3269f52e62bd326fe42cf742ee5a
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date : 2026-08-20T16:36:38+02:00
Stats : +52/-28 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/yt-dlp/c/8ba6ef58d27f3269f52e62bd326fe42cf742ee5a?branch=f45
Log:
Update to 2026.08.19 - Closes rhbz#2497100 rhbz#2505367 rhbz#2491888 rhbz#2491889 rhbz#2491890 rhbz#2499189
---
diff --git a/.gitignore b/.gitignore
index 705448b..c07de97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,3 +73,4 @@
/yt-dlp-2026.03.13.tar.gz
/yt-dlp-2026.03.17.tar.gz
/yt-dlp-2026.06.09.tar.gz
+/yt-dlp-2026.08.19.tar.gz
diff --git a/0001-Fix-curl-beta-version-parsing.patch b/0001-Fix-curl-beta-version-parsing.patch
deleted file mode 100644
index 0c6cba2..0000000
--- a/0001-Fix-curl-beta-version-parsing.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From cf3cba84a7aecdbe596e21c71a506b2ce580c28d Mon Sep 17 00:00:00 2001
-From: Maxwell G <maxwell@gtmx.me>
-Date: Thu, 18 Jun 2026 20:20:04 -0500
-Subject: [PATCH 1/2] Fix curl beta version parsing
-
----
- yt_dlp/downloader/external.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py
-index 2f127c0..2c62f1d 100644
---- a/yt_dlp/downloader/external.py
-+++ b/yt_dlp/downloader/external.py
-@@ -209,7 +209,7 @@ def available(cls, path=None):
- return False
-
- cls.exe = path
-- cls._curl_version = version_tuple(parts[1])
-+ cls._curl_version = version_tuple(parts[1], lenient=True)
- return path
-
- def _make_cmd(self, tmpfilename, info_dict):
---
-2.54.0
-
diff --git a/17491.patch b/17491.patch
new file mode 100644
index 0000000..2a174b5
--- /dev/null
+++ b/17491.patch
@@ -0,0 +1,45 @@
+From b6ef4e25fe882a82c02c12ca716f19fb3c1b89f3 Mon Sep 17 00:00:00 2001
+From: Mikel Olasagasti Uranga <mikel@olasagasti.info>
+Date: Thu, 20 Aug 2026 16:23:27 +0200
+Subject: [PATCH] tests: accept newer OpenSSL handshake error wording
+
+Newer Python/OpenSSL combinations may report TLS handshake failures as
+"TLS_ALERT_HANDSHAKE_FAILURE" / "tls alert handshake failure" instead
+of the older "sslv3 alert handshake failure" wording expected by the
+test suite.
+
+Relax the test regexes to accept both forms without changing the
+behavior being tested.
+
+Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
+---
+ test/test_networking.py | 2 +-
+ test/test_websockets.py | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/test_networking.py b/test/test_networking.py
+index 9dbe263b6fcd..57a7a21bd14b 100644
+--- a/test/test_networking.py
++++ b/test/test_networking.py
+@@ -338,7 +338,7 @@ def test_ssl_error(self, handler):
+ https_server_thread.start()
+
+ with handler(verify=False) as rh:
+- with pytest.raises(SSLError, match=r'(?i)ssl(?:v3|/tls).alert.handshake.failure') as exc_info:
++ with pytest.raises(SSLError, match=r'(?i)(?:TLS_ALERT_HANDSHAKE_FAILURE|(?:sslv3|ssl/tls|tls).alert.handshake.failure)') as exc_info:
+ validate_and_send(rh, Request(f'https://127.0.0.1:{https_port}/headers'))
+ assert not issubclass(exc_info.type, CertificateVerifyError)
+
+diff --git a/test/test_websockets.py b/test/test_websockets.py
+index caa026f44f3a..3b3814018eeb 100644
+--- a/test/test_websockets.py
++++ b/test/test_websockets.py
+@@ -186,7 +186,7 @@ def test_verify_cert(self, handler):
+
+ def test_ssl_error(self, handler):
+ with handler(verify=False) as rh:
+- with pytest.raises(SSLError, match=r'ssl(?:v3|/tls) alert handshake failure') as exc_info:
++ with pytest.raises(SSLError, match=r'(?:TLS_ALERT_HANDSHAKE_FAILURE|(?:sslv3|ssl/tls|tls) alert handshake failure)') as exc_info:
+ ws_validate_and_send(rh, Request(self.bad_wss_host))
+ assert not issubclass(exc_info.type, CertificateVerifyError)
+
diff --git a/sources b/sources
index 8221858..7f00136 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (yt-dlp-2026.06.09.tar.gz) = d82c5a1359ae744b44ec0111c2b65a15aa1db861ccbe4f5a56575440c650a08964843a9fd3b2b1a170825768aff00dec6cad32dd7aec56a2f28aba4a1370a3f9
+SHA512 (yt-dlp-2026.08.19.tar.gz) = 04f2dae28fe2b087fed3df38fc6787eac8f85a351bd72f3b010a84fb48bccf9bfde3a50ca4c005afb384f1219ee66a4cab24e5740eb1e5b8eb1a0d8ab773bafd
diff --git a/yt-dlp.spec b/yt-dlp.spec
index 6bd49b4..fc58029 100644
--- a/yt-dlp.spec
+++ b/yt-dlp.spec
@@ -7,7 +7,7 @@
%bcond_without tests
Name: yt-dlp
-Version: 2026.06.09
+Version: 2026.08.19
Release: %autorelease
Summary: A command-line program to download videos from online video platforms
@@ -15,7 +15,10 @@ License: Unlicense
URL: https://github.com/yt-dlp/yt-dlp
Source: %{url}/archive/%{version}/yt-dlp-%{version}.tar.gz
-Patch: 0001-Fix-curl-beta-version-parsing.patch
+# https://github.com/yt-dlp/yt-dlp/pull/17491
+# Relax handshake error regexp
+Patch: 17491.patch
+
# Needed for compatibility with Fedora <= 44
Patch: 0002-Restore-compatibility-with-pytest-9.patch
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-20 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 15:10 [rpms/yt-dlp] f45: Update to 2026.08.19 - Closes rhbz#2497100 rhbz#2505367 rhbz#2491888 rhbz#2491889 rhbz#2491890 rhbz#2499189 Mikel Olasagasti Uranga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox