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
This commit is contained in:
Matej Cepl 2022-01-22 14:51:57 +00:00 committed by Git OBS Bridge
parent 9088b453c3
commit 296f43e5c1
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 22 10:58:48 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Ignore deprecation warnings from pytest-asycio for compatibility
with 0.17
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 27 21:12:17 UTC 2021 - Arun Persaud <arun@gmx.de> Sat Nov 27 21:12:17 UTC 2021 - Arun Persaud <arun@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -78,6 +78,8 @@ This package provides the completion file for bash
%prep %prep
%setup -q -n tqdm-%{version} %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 # remove bash shebang for completion script
sed -i '1 s/^#!.*/# bash completion for tqdm -*- shell-script -*-/' tqdm/completion.sh sed -i '1 s/^#!.*/# bash completion for tqdm -*- shell-script -*-/' tqdm/completion.sh
chmod a-x tqdm/completion.sh chmod a-x tqdm/completion.sh