From 981dc3d44af41ffa07768fec8b6d1efa45f2ad38fb486998e80b4c99209e03a3 Mon Sep 17 00:00:00 2001 From: Tejas Guruswamy Date: Fri, 10 May 2024 03:19:12 +0000 Subject: [PATCH] Accepting request 1172341 from home:StevenK:branches:multimedia:apps - Fix the testsuite, pytest >= 8 is required. pytest 8.2 is currently staging in Factory if you wish to test against it. OBS-URL: https://build.opensuse.org/request/show/1172341 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=38 --- streamlink.changes | 5 +++++ streamlink.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/streamlink.changes b/streamlink.changes index 67d87b4..d79e93d 100644 --- a/streamlink.changes +++ b/streamlink.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 7 07:29:47 UTC 2024 - Steve Kowalik + +- Fix the testsuite, pytest >= 8 is required. + ------------------------------------------------------------------- Mon Apr 22 12:52:19 UTC 2024 - Richard Rahl diff --git a/streamlink.spec b/streamlink.spec index 887da8e..149045f 100644 --- a/streamlink.spec +++ b/streamlink.spec @@ -28,7 +28,6 @@ Version: 6.7.3 Release: 0 Summary: Program to pipe streams from services into a video player License: Apache-2.0 AND BSD-2-Clause -Group: Development/Languages/Python URL: https://streamlink.github.io/ Source: https://github.com/%{name}/%{name}/releases/download/%{version}/streamlink-%{version}.tar.gz Source1: https://github.com/%{name}/%{name}/releases/download/%{version}/streamlink-%{version}.tar.gz.asc @@ -57,7 +56,7 @@ BuildRequires: python3-wheel %if "%{flavor}" == "test" BuildRequires: python3-freezegun >= 1.0.0 -BuildRequires: python3-pytest >= 6.0.0 +BuildRequires: python3-pytest >= 8.0.0 BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-trio BuildRequires: python3-requests-mock @@ -103,8 +102,7 @@ enjoy various streamed content. %if "%{flavor}" == "test" %check -#for some reason pytest just breaks without errors -pytest -k "not TestEvaluate and test_timeout and test_bad_command and test_result_exception" +pytest %endif %if "%{flavor}" != "test"