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
This commit is contained in:
Tejas Guruswamy 2024-05-10 03:19:12 +00:00 committed by Git OBS Bridge
parent 06be58f0a6
commit 981dc3d44a
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 7 07:29:47 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Fix the testsuite, pytest >= 8 is required.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 22 12:52:19 UTC 2024 - Richard Rahl <rrahl0@disroot.org> Mon Apr 22 12:52:19 UTC 2024 - Richard Rahl <rrahl0@disroot.org>

View File

@ -28,7 +28,6 @@ Version: 6.7.3
Release: 0 Release: 0
Summary: Program to pipe streams from services into a video player Summary: Program to pipe streams from services into a video player
License: Apache-2.0 AND BSD-2-Clause License: Apache-2.0 AND BSD-2-Clause
Group: Development/Languages/Python
URL: https://streamlink.github.io/ URL: https://streamlink.github.io/
Source: https://github.com/%{name}/%{name}/releases/download/%{version}/streamlink-%{version}.tar.gz 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 Source1: https://github.com/%{name}/%{name}/releases/download/%{version}/streamlink-%{version}.tar.gz.asc
@ -57,7 +56,7 @@ BuildRequires: python3-wheel
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
BuildRequires: python3-freezegun >= 1.0.0 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-asyncio
BuildRequires: python3-pytest-trio BuildRequires: python3-pytest-trio
BuildRequires: python3-requests-mock BuildRequires: python3-requests-mock
@ -103,8 +102,7 @@ enjoy various streamed content.
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%check %check
#for some reason pytest just breaks without errors pytest
pytest -k "not TestEvaluate and test_timeout and test_bad_command and test_result_exception"
%endif %endif
%if "%{flavor}" != "test" %if "%{flavor}" != "test"