forked from pool/python-pytest-aiohttp
Accepting request 1289376 from devel:languages:python:pytest
- Update to 1.1.0: * Drop Python 3.8 (#57) * Export the plugin types at top-level (#60, #61) * Add host parameter to aiohttp_server fixture (#63) - Write out a pytest.ini file to support Pytest 8.4. OBS-URL: https://build.opensuse.org/request/show/1289376 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-aiohttp?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:880262bc5951e934463b15e3af8bb298f11f7d4d3ebac970aab425aff10a780a
|
|
||||||
size 12209
|
|
||||||
3
pytest_aiohttp-1.1.0.tar.gz
Normal file
3
pytest_aiohttp-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:147de8cb164f3fc9d7196967f109ab3c0b93ea3463ab50631e56438eab7b5adc
|
||||||
|
size 12842
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 1 02:42:12 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.1.0:
|
||||||
|
* Drop Python 3.8 (#57)
|
||||||
|
* Export the plugin types at top-level (#60, #61)
|
||||||
|
* Add host parameter to aiohttp_server fixture (#63)
|
||||||
|
- Write out a pytest.ini file to support Pytest 8.4.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 2 14:49:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon Oct 2 14:49:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-aiohttp
|
# spec file for package python-pytest-aiohttp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -16,18 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define pyname pytest-aiohttp
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytest-aiohttp
|
Name: python-pytest-aiohttp
|
||||||
Version: 1.0.5
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python pytest plugin for aiohttp support
|
Summary: Python pytest plugin for aiohttp support
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/aio-libs/pytest-aiohttp
|
URL: https://github.com/aio-libs/pytest-aiohttp
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest-aiohttp-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest_aiohttp-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module aiohttp >= 3.8.1}
|
BuildRequires: %{python_module aiohttp >= 3.8.1}
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 6.1.0}
|
BuildRequires: %{python_module pytest >= 6.1.0}
|
||||||
BuildRequires: %{python_module pytest-asyncio >= 0.20.2}
|
BuildRequires: %{python_module pytest-asyncio >= 0.20.2}
|
||||||
@@ -46,7 +44,12 @@ BuildArch: noarch
|
|||||||
A library that provides fixtures for creation test aiohttp server and client.
|
A library that provides fixtures for creation test aiohttp server and client.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{pyname}-%{version}
|
%autosetup -p1 -n pytest_aiohttp-%{version}
|
||||||
|
cat >pytest.ini <<EOF
|
||||||
|
[pytest]
|
||||||
|
asyncio_mode=auto
|
||||||
|
asyncio_default_fixture_loop_scope=function
|
||||||
|
EOF
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -62,6 +65,6 @@ A library that provides fixtures for creation test aiohttp server and client.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/pytest_aiohttp
|
%{python_sitelib}/pytest_aiohttp
|
||||||
%{python_sitelib}/pytest_aiohttp-%{version}*-info
|
%{python_sitelib}/pytest_aiohttp-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user