Accepting request 925838 from home:bnavigator:branches:devel:languages:python:pytest

- Update to 0.16.0
  * Add support for Python 3.10
- Drop 0001-removed-support-for-python-3.5.patch not required by
  fakeredis 1.6.1 anymore

OBS-URL: https://build.opensuse.org/request/show/925838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=16
This commit is contained in:
2021-10-19 11:58:30 +00:00
committed by Git OBS Bridge
parent 0a1d6d058d
commit 2e66d0256c
5 changed files with 12 additions and 195 deletions

View File

@@ -19,13 +19,12 @@
%define skip_python2 1
%{?!python_module:%define python_module() python3-%{**}}
Name: python-pytest-asyncio
Version: 0.15.1
Version: 0.16.0
Release: 0
Summary: Pytest support for asyncio
License: Apache-2.0
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
Patch0: 0001-removed-support-for-python-3.5.patch
BuildRequires: %{python_module async_generator >= 1.3}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module hypothesis >= 5.7.1}
@@ -46,8 +45,6 @@ provides useful fixtures and markers to make testing easier.
%prep
%setup -q -n pytest-asyncio-%{version}
sed -ie '1i# -*- coding: utf-8 -*-' setup.py
%patch0 -p1 -R
%build
%python_build