Accepting request 947728 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.17.2 * Require typing-extensions on Python<3.8 only. #269 * Fix a regression in tests collection introduced by 0.17.1, the plugin works fine with non-python tests again. #267 - Release notes for 0.17.1 * Fixes a bug that prevents async Hypothesis tests from working without explicit asyncio marker when --asyncio-mode=auto is set. #258 * Fixed a bug that closes the default event loop if the loop doesn't exist #257 * Added type annotations. #198 * Show asyncio mode in pytest report headers. #266 * Relax asyncio_mode type definition; it allows to support pytest 6.1+. #262 - Release notes for 0.17.0 * pytest-asyncio no longer alters existing event loop policies. #168, #188 * Drop support for Python 3.6 * Fixed an issue when pytest-asyncio was used in combination with flaky or inherited asynchronous Hypothesis tests. #178 #231 * Added flaky to test dependencies * Added unused_udp_port and unused_udp_port_factory fixtures (similar to unused_tcp_port and unused_tcp_port_factory counterparts. #99 * Added the plugin modes: strict, auto, and legacy. See documentation for details. #125 * Correctly process KeyboardInterrupt during async fixture setup phase #219 OBS-URL: https://build.opensuse.org/request/show/947728 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=17
This commit is contained in:
parent
2e66d0256c
commit
0c4c32a6ad
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2cc3c93f340185a9128dc1f3fcf6c57ad0bfb704c5b6ce425a3ab0ddbb875bb9
|
|
||||||
size 15819
|
|
3
pytest-asyncio-0.17.2.tar.gz
Normal file
3
pytest-asyncio-0.17.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e636795f12fec811974b224790ad3240a2e17a54b6b45908f45a8cedd060409d
|
||||||
|
size 23805
|
@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 20 16:39:35 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.17.2
|
||||||
|
* Require typing-extensions on Python<3.8 only. #269
|
||||||
|
* Fix a regression in tests collection introduced by 0.17.1, the
|
||||||
|
plugin works fine with non-python tests again. #267
|
||||||
|
- Release notes for 0.17.1
|
||||||
|
* Fixes a bug that prevents async Hypothesis tests from working
|
||||||
|
without explicit asyncio marker when --asyncio-mode=auto is
|
||||||
|
set. #258
|
||||||
|
* Fixed a bug that closes the default event loop if the loop
|
||||||
|
doesn't exist #257
|
||||||
|
* Added type annotations. #198
|
||||||
|
* Show asyncio mode in pytest report headers. #266
|
||||||
|
* Relax asyncio_mode type definition; it allows to support pytest
|
||||||
|
6.1+. #262
|
||||||
|
- Release notes for 0.17.0
|
||||||
|
* pytest-asyncio no longer alters existing event loop policies.
|
||||||
|
#168, #188
|
||||||
|
* Drop support for Python 3.6
|
||||||
|
* Fixed an issue when pytest-asyncio was used in combination with
|
||||||
|
flaky or inherited asynchronous Hypothesis tests. #178 #231
|
||||||
|
* Added flaky to test dependencies
|
||||||
|
* Added unused_udp_port and unused_udp_port_factory fixtures
|
||||||
|
(similar to unused_tcp_port and unused_tcp_port_factory
|
||||||
|
counterparts. #99
|
||||||
|
* Added the plugin modes: strict, auto, and legacy. See
|
||||||
|
documentation for details. #125
|
||||||
|
* Correctly process KeyboardInterrupt during async fixture setup
|
||||||
|
phase #219
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 17 13:20:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Sun Oct 17 13:20:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-asyncio
|
# spec file for package python-pytest-asyncio
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,20 +19,25 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
Name: python-pytest-asyncio
|
Name: python-pytest-asyncio
|
||||||
Version: 0.16.0
|
Version: 0.17.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest support for asyncio
|
Summary: Pytest support for asyncio
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/pytest-dev/pytest-asyncio
|
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
|
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}
|
BuildRequires: %{python_module async_generator >= 1.3}
|
||||||
BuildRequires: %{python_module base >= 3.6}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module flaky >= 3.5.0}
|
||||||
BuildRequires: %{python_module hypothesis >= 5.7.1}
|
BuildRequires: %{python_module hypothesis >= 5.7.1}
|
||||||
BuildRequires: %{python_module pytest >= 5.4.0}
|
BuildRequires: %{python_module pytest >= 6.1.0}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest >= 5.4.0
|
Requires: python-pytest >= 6.1.0
|
||||||
|
%if 0%{python_version_nodots} < 38
|
||||||
|
Requires: python-typing-extensions >= 4
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -47,20 +52,21 @@ provides useful fixtures and markers to make testing easier.
|
|||||||
%setup -q -n pytest-asyncio-%{version}
|
%setup -q -n pytest-asyncio-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# remove pytest config to not error out on deprecations
|
|
||||||
rm setup.cfg
|
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pytest_asyncio
|
||||||
|
%{python_sitelib}/pytest_asyncio-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user