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

            A new commit has been pushed.

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

            Log:
            Better document a testing workaround

[skip changelog]

---
diff --git a/python-zmq.spec b/python-zmq.spec
index 8ec9a79..b23a545 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -148,7 +148,9 @@ sed --regexp-extended \
 
 
 %check
-# 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:13 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:13 [rpms/python-zmq] epel10: 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