From 5c5f8af59e773fd3736a20daae0209b0129981384256d8fedb136aed8a5de231 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 12 Aug 2025 02:57:11 +0000 Subject: [PATCH] - Pass asyncio-mode to pytest. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-circuitbreaker?expand=0&rev=10 --- python-circuitbreaker.changes | 5 +++++ python-circuitbreaker.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-circuitbreaker.changes b/python-circuitbreaker.changes index d546712..1e8e923 100644 --- a/python-circuitbreaker.changes +++ b/python-circuitbreaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 12 02:56:56 UTC 2025 - Steve Kowalik + +- Pass asyncio-mode to pytest. + ------------------------------------------------------------------- Mon Apr 28 14:00:11 UTC 2025 - Dirk Müller diff --git a/python-circuitbreaker.spec b/python-circuitbreaker.spec index 00e5f91..4cc2370 100644 --- a/python-circuitbreaker.spec +++ b/python-circuitbreaker.spec @@ -1,7 +1,7 @@ # # spec file for package python-circuitbreaker # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,6 +53,7 @@ Python implementation of the "Circuit Breaker" Pattern %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export PYTEST_ADDOPTS="--asyncio-mode=auto" %pytest %files %{python_files}