From fb439f2b85bbca6f9d8505ade62b74fb9124e9b2932a9b0dae066cbee3709fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Mar 2020 09:37:30 +0000 Subject: [PATCH] - Fix test run on python 3.8+ OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=6 --- python-pytest-asyncio.changes | 5 +++++ python-pytest-asyncio.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-pytest-asyncio.changes b/python-pytest-asyncio.changes index 1981cd6..2776154 100644 --- a/python-pytest-asyncio.changes +++ b/python-pytest-asyncio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 9 09:37:18 UTC 2020 - Tomáš Chvátal + +- Fix test run on python 3.8+ + ------------------------------------------------------------------- Wed Feb 13 13:14:40 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-asyncio.spec b/python-pytest-asyncio.spec index 2a2e0a8..c68cc8d 100644 --- a/python-pytest-asyncio.spec +++ b/python-pytest-asyncio.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-asyncio # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,6 @@ Version: 0.10.0 Release: 0 Summary: Pytest support for asyncio License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest-asyncio Source: https://github.com/pytest-dev/pytest-asyncio/archive/v%{version}.tar.gz#./pytest-asyncio-%{version}.tar.gz BuildRequires: %{python_module async_generator >= 1.3} @@ -55,7 +54,9 @@ sed -ie '1i# -*- coding: utf-8 -*-' setup.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m pytest +# remove pytest config to not error out on deprecations +rm setup.cfg +%pytest %files %{python_files} %doc README.rst