commit: 4846b48997fd1f77d1a5ebfd1cbbaebd3e3253fe Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Feb 21 15:26:03 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Fri Feb 21 15:36:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4846b489
net-misc/yt-dlp: (always) skip websockets tests These were already skipped when dev-python/websockets is not installed. In bug #940630, considered depending on it for tests but yt-dlp seems to be picky with websockets version (sometime wanting newer, sometime older to work right) and that works out poorly with the straight to stable model of yt-dlp. Ultimately not aware of typical users needing this, we do not even advertise it as a optfeature -- so can consider it semi-unsupported. Closes: https://bugs.gentoo.org/940630 Closes: https://bugs.gentoo.org/950030 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild | 8 ++++---- net-misc/yt-dlp/yt-dlp-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild b/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild index db37821e73bc..9b9eb962a869 100644 --- a/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild +++ b/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild @@ -34,10 +34,10 @@ python_test() { test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout # fails with FEATURES=distcc, bug #915614 test/test_networking.py::TestYoutubeDLNetworking::test_proxy\[None-expected2\] - # needs (optional) websockets-15 which is not stable yet, and - # it is not considered a big issue if websockets tests fails - # as not even advertised as a optfeature, so just skip for now - test/test_websockets.py::TestWebsSocketRequestHandlerConformance::test_verify_cert\[Websockets\] + # websockets tests break easily depending on dev-python/websockets + # version and, as far as I know, most users do not use/need it -- + # thus being neither in RDEPEND nor optfeature (bug #940630,#950030) + test/test_websockets.py ) epytest -m 'not download' diff --git a/net-misc/yt-dlp/yt-dlp-9999.ebuild b/net-misc/yt-dlp/yt-dlp-9999.ebuild index e6e7a5d4cb47..5e48f1d170d0 100644 --- a/net-misc/yt-dlp/yt-dlp-9999.ebuild +++ b/net-misc/yt-dlp/yt-dlp-9999.ebuild @@ -41,6 +41,10 @@ python_test() { test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout # fails with FEATURES=distcc, bug #915614 test/test_networking.py::TestYoutubeDLNetworking::test_proxy\[None-expected2\] + # websockets tests break easily depending on dev-python/websockets + # version and, as far as I know, most users do not use/need it -- + # thus being neither in RDEPEND nor optfeature (bug #940630,#950030) + test/test_websockets.py ) epytest -m 'not download'
