public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zmq] rawhide: Better document a testing workaround
Date: Sat, 22 Aug 2026 07:07:07 GMT	[thread overview]
Message-ID: <178738242759.1.2439519753053584265.rpms-python-zmq-a1cdda2e0d35@fedoraproject.org> (raw)

            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 ./

                 reply	other threads:[~2026-08-22  7:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178738242759.1.2439519753053584265.rpms-python-zmq-a1cdda2e0d35@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox