public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pulsectl-asyncio] rawhide: Run tests.
@ 2026-06-24 22:41 Peter Oliver
0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-06-24 22:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pulsectl-asyncio
Branch : rawhide
Commit : 6d32237126222764a63c3d967902ed099df8fef2
Author : Peter Oliver <git@mavit.org.uk>
Date : 2026-06-24T23:40:11+01:00
Stats : +8/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pulsectl-asyncio/c/6d32237126222764a63c3d967902ed099df8fef2?branch=rawhide
Log:
Run tests.
---
diff --git a/python-pulsectl-asyncio.spec b/python-pulsectl-asyncio.spec
index a384420..2f7afb0 100644
--- a/python-pulsectl-asyncio.spec
+++ b/python-pulsectl-asyncio.spec
@@ -7,7 +7,8 @@ URL: https://github.com/mhthies/pulsectl-asyncio
Source0: %{pypi_source pulsectl_asyncio}
BuildArch: noarch
-# BuildRequires: /usr/bin/pulseaudio
+BuildRequires: /usr/bin/paplay
+BuildRequires: /usr/bin/pulseaudio
BuildRequires: pulseaudio-libs
BuildRequires: python3-devel
@@ -42,11 +43,12 @@ Summary: %{summary}
%check
-## These test fail, because they cause the puleseaudio daemon to crash.
-## Perhaps this doesn't matter, because users will typically be using
-## pipewire-pulse instead.
-## https://github.com/mhthies/pulsectl-asyncio/issues/16
-# %%{py3_test_envvars} %%{python3} -m unittest discover
+# The tests in tests/test_examples.py depend on the contents of the
+# examples/ directory, which is present in Git but absent from the
+# release tarball.
+rm tests/test_examples.py
+
+%{py3_test_envvars} %{python3} -m unittest discover
%pyproject_check_import
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 22:41 [rpms/python-pulsectl-asyncio] rawhide: Run tests Peter Oliver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox