Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-aiohttp for
openSUSE:Factory checked in at 2022-10-18 12:45:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-aiohttp (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-aiohttp.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-aiohttp"
Tue Oct 18 12:45:01 2022 rev:3 rq:1012119 version:1.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-aiohttp/python-pytest-aiohttp.changes
2022-10-11 18:05:16.382057962 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-aiohttp.new.2275/python-pytest-aiohttp.changes
2022-10-18 12:45:27.649786702 +0200
@@ -1,0 +2,6 @@
+Sat Oct 15 09:17:10 UTC 2022 - Ben Greiner <[email protected]>
+
+- Fix dependencies: pytest-asyncio missing
+- Enable test suite
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-aiohttp.spec ++++++
--- /var/tmp/diff_new_pack.iDhmW5/_old 2022-10-18 12:45:28.145787831 +0200
+++ /var/tmp/diff_new_pack.iDhmW5/_new 2022-10-18 12:45:28.149787840 +0200
@@ -16,8 +16,6 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
%define pyname pytest-aiohttp
Name: python-pytest-aiohttp
Version: 1.0.4
@@ -28,20 +26,23 @@
URL: https://github.com/aio-libs/pytest-aiohttp
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 base >= 3.7}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module pytest-asyncio}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest >= 6.1.0}
+BuildRequires: %{python_module pytest-asyncio >= 0.17.2}
+BuildRequires: %{python_module setuptools_scm >= 6.2}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-aiohttp >= 2.3.5
-Requires: python-pytest
+Requires: python-aiohttp >= 3.8.1
+Requires: python-pytest >= 6.1.0
+Requires: python-pytest-asyncio >= 0.17.2
BuildArch: noarch
%python_subpackages
%description
-The library allows to use aiohttp pytest plugin without need for implicitly
loading it like pytest_plugins = 'aiohttp.pytest_plugin'.
+A library that provides fixtures for creation test aiohttp server and client.
%prep
%setup -q -n %{pyname}-%{version}
@@ -54,11 +55,12 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# there are no tests
+%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/pytest_aiohttp
+%{python_sitelib}/pytest_aiohttp-%{version}*-info
%changelog