public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pystemd] rawhide: Pull in test dependencies
@ 2026-12-02  5:54 Davide Cavalca
  0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-12-02  5:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pystemd
Branch : rawhide
Commit : fd95e3a0ecfdd29583aaa511c7495f4811964254
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2026-12-01T21:54:14-08:00
Stats  : +1/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pystemd/c/fd95e3a0ecfdd29583aaa511c7495f4811964254?branch=rawhide

Log:
Pull in test dependencies

---
diff --git a/python-pystemd.spec b/python-pystemd.spec
index 183792f..23484fd 100644
--- a/python-pystemd.spec
+++ b/python-pystemd.spec
@@ -16,7 +16,6 @@ Source:         %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
 BuildRequires:  gcc
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  python3-devel
-BuildRequires:  python3dist(pytest)
 BuildRequires:  sed
 
 %global _description %{expand:
@@ -51,9 +50,7 @@ sed -i pyproject.toml \
 %endif
 
 %generate_buildrequires
-# with -x t this pulls in too many optional deps like cstq and pytest-cov
-#pyproject_buildrequires -x t
-%pyproject_buildrequires
+%pyproject_buildrequires -x t
 
 
 %build
@@ -73,14 +70,12 @@ sed -i '/pystemd\/.*\.c$/d' %{pyproject_files}
 %check
 # e2e: no DBUS
 # tests/test_daemon.py: This test fails in mock because systemd isn't running
-# tests/test_version.py: This test requires additional dependencies (cstq)
 # test_pickle.py::test_loaded_unit: no DBUS
 %pytest -v \
   --ignore e2e/test_dbus.py \
   --ignore e2e/test_manager.py \
   --ignore e2e/test_pystemd_run.py \
   --ignore tests/test_daemon.py \
-  --ignore tests/test_version.py \
   --deselect=tests/test_pickle.py::test_loaded_unit \
 %{nil}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-02  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02  5:54 [rpms/python-pystemd] rawhide: Pull in test dependencies Davide Cavalca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox