Accepting request 993601 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/993601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-08-10 15:12:26 +00:00 committed by Git OBS Bridge
commit ce37f39229
4 changed files with 20 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c129d780f1120da6f512eddc09180fa716b58fd647dd9f2efb544b8b33bc3f9
size 25049

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94d00bc9fbe91d9075db8afc7d9ca32be682c79be1466504481ae9d419ea8c01
size 25754

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Aug 5 04:57:24 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Update to 0.19.0
* BREAKING: The default ``asyncio_mode`` is now *strict*.
* Removes `setup.py` since all relevant configuration is present
`setup.cfg`.
* Declare support for Python 3.11
-------------------------------------------------------------------
Wed Jul 6 07:59:54 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,5 +1,5 @@
#
# spec file
# spec file for package python-pytest-asyncio
#
# Copyright (c) 2022 SUSE LLC
#
@ -25,15 +25,17 @@
%bcond_with test
%endif
Name: python-pytest-asyncio%{psuffix}
Version: 0.18.3
Version: 0.19.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
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 6.1.0
@ -63,12 +65,12 @@ provides useful fixtures and markers to make testing easier.
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%python_build
%pyproject_wheel
%if !%{with test}
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@ -81,8 +83,8 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/pytest_asyncio
%{python_sitelib}/pytest_asyncio-%{version}*-info
%{python_sitelib}/pytest_asyncio/
%{python_sitelib}/pytest_asyncio-%{version}*-info/
%endif
%changelog