diff --git a/_multibuild b/_multibuild
new file mode 100644
index 0000000..fcc7b97
--- /dev/null
+++ b/_multibuild
@@ -0,0 +1,3 @@
+
+ test
+
diff --git a/pytest-asyncio-0.17.2.tar.gz b/pytest-asyncio-0.17.2.tar.gz
deleted file mode 100644
index 8bf85ab..0000000
--- a/pytest-asyncio-0.17.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e636795f12fec811974b224790ad3240a2e17a54b6b45908f45a8cedd060409d
-size 23805
diff --git a/pytest-asyncio-0.18.3.tar.gz b/pytest-asyncio-0.18.3.tar.gz
new file mode 100644
index 0000000..8697a91
--- /dev/null
+++ b/pytest-asyncio-0.18.3.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9c129d780f1120da6f512eddc09180fa716b58fd647dd9f2efb544b8b33bc3f9
+size 25049
diff --git a/python-pytest-asyncio.changes b/python-pytest-asyncio.changes
index 65770e4..244691e 100644
--- a/python-pytest-asyncio.changes
+++ b/python-pytest-asyncio.changes
@@ -1,3 +1,26 @@
+-------------------------------------------------------------------
+Wed Jul 6 07:59:54 UTC 2022 - Steve Kowalik
+
+- Inject multibuild to defeat a build loop
+
+-------------------------------------------------------------------
+Tue Jun 28 19:00:14 UTC 2022 - Ben Greiner
+
+- Update to 0.18.3
+ * Adds pytest-trio to the test dependencies
+ * Fixes a bug that caused pytest-asyncio to try to set up async
+ pytest_trio fixtures in strict mode. #298
+- Release 0.18.2
+ * Fix asyncio auto mode not marking static methods. #295
+ * Fix a compatibility issue with Hypothesis 6.39.0. #302
+- Release 0.18.1
+ * Fixes a regression that prevented async fixtures from working
+ in synchronous tests. #286
+- Release 0.18.0
+ * Raise a warning if @pytest.mark.asyncio is applied to non-async
+ function. #275
+ * Support parametrized event_loop fixture. #278
+
-------------------------------------------------------------------
Thu Jan 20 16:39:35 UTC 2022 - Ben Greiner
diff --git a/python-pytest-asyncio.spec b/python-pytest-asyncio.spec
index 7ef7b78..b7a7d8d 100644
--- a/python-pytest-asyncio.spec
+++ b/python-pytest-asyncio.spec
@@ -1,5 +1,5 @@
#
-# spec file for package python-pytest-asyncio
+# spec file
#
# Copyright (c) 2022 SUSE LLC
#
@@ -16,29 +16,39 @@
#
-%define skip_python2 1
-%{?!python_module:%define python_module() python3-%{**}}
-Name: python-pytest-asyncio
-Version: 0.17.2
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-pytest-asyncio%{psuffix}
+Version: 0.18.3
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 async_generator >= 1.3}
BuildRequires: %{python_module base >= 3.7}
-BuildRequires: %{python_module flaky >= 3.5.0}
-BuildRequires: %{python_module hypothesis >= 5.7.1}
-BuildRequires: %{python_module pytest >= 6.1.0}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 6.1.0
-%if 0%{python_version_nodots} < 38
-Requires: python-typing-extensions >= 4
+%if 0%{?python_version_nodots} < 38
+Requires: python-typing-extensions >= 3.7.2
%endif
BuildArch: noarch
+%if %{with test}
+BuildRequires: %{python_module async_generator >= 1.3}
+BuildRequires: %{python_module flaky >= 3.5.0}
+BuildRequires: %{python_module hypothesis >= 5.7.1}
+BuildRequires: %{python_module pytest >= 6.1.0}
+BuildRequires: %{python_module pytest-asyncio = %{version}}
+BuildRequires: %{python_module pytest-trio >= 0.7}
+%endif
%python_subpackages
%description
@@ -55,18 +65,24 @@ provides useful fixtures and markers to make testing easier.
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%python_build
+%if !%{with test}
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+%if %{with test}
%check
%pytest
+%endif
+%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/pytest_asyncio
%{python_sitelib}/pytest_asyncio-%{version}*-info
+%endif
%changelog