From 296f43e5c150f09c685fae7d85195eaf9ed2fe768968a0d58b63929243ecebe0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 22 Jan 2022 14:51:57 +0000 Subject: [PATCH] Accepting request 948108 from home:bnavigator:branches:devel:languages:python - Ignore deprecation warnings from pytest-asycio for compatibility with 0.17 OBS-URL: https://build.opensuse.org/request/show/948108 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=105 --- python-tqdm.changes | 6 ++++++ python-tqdm.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-tqdm.changes b/python-tqdm.changes index f781bb5..a599eac 100644 --- a/python-tqdm.changes +++ b/python-tqdm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 22 10:58:48 UTC 2022 - Ben Greiner + +- Ignore deprecation warnings from pytest-asycio for compatibility + with 0.17 + ------------------------------------------------------------------- Sat Nov 27 21:12:17 UTC 2021 - Arun Persaud diff --git a/python-tqdm.spec b/python-tqdm.spec index 11b6164..3a30959 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -78,6 +78,8 @@ This package provides the completion file for bash %prep %setup -q -n tqdm-%{version} +# ignore new asyncio mode warning from pytest-asyncio 0.17 +sed -i 's/-W=error//' setup.cfg # remove bash shebang for completion script sed -i '1 s/^#!.*/# bash completion for tqdm -*- shell-script -*-/' tqdm/completion.sh chmod a-x tqdm/completion.sh