public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zmq] rawhide: Better document a testing workaround
@ 2026-08-22  7:07 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-22  7:07 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-zmq
            Branch : rawhide
            Commit : a1cdda2e0d353f9dee0d275b708b52704646edaa
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-22T08:06:59+01:00
            Stats  : +3/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-zmq/c/a1cdda2e0d353f9dee0d275b708b52704646edaa?branch=rawhide

            Log:
            Better document a testing workaround

[skip changelog]

---
diff --git a/python-zmq.spec b/python-zmq.spec
index b7157c4..ba7bd37 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -142,7 +142,9 @@ find 'src' -type f -name '*.py' \
 
 
 %check -p
-# to avoid partially initialized zmq module from cwd
+# Ensure the “un-built” zmq in the source directory is not imported in the
+# tests. Passing --import-mode=append to pytest would mostly handle this, but
+# it would not suffice for tests that use subprocesses.
 mkdir --parents _empty
 cd _empty
 ln --symbolic ../tests/ ../pytest.ini ./

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

only message in thread, other threads:[~2026-08-22  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-22  7:07 [rpms/python-zmq] rawhide: Better document a testing workaround Benjamin A. Beasley

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