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-msal] f45: Run import smoke test even when tests are disabled
Date: Tue, 25 Aug 2026 11:19:06 GMT	[thread overview]
Message-ID: <178765674676.1.3492466469749466399.rpms-python-msal-dfc8ec2106f0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-msal
            Branch : f45
            Commit : dfc8ec2106f087b03a0dc450a60a9e6db5cee458
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-25T11:47:36+01:00
            Stats  : +4/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-msal/c/dfc8ec2106f087b03a0dc450a60a9e6db5cee458?branch=f45

            Log:
            Run import smoke test even when tests are disabled

[skip changelog]

---
diff --git a/python-msal.spec b/python-msal.spec
index 7a7318b..4e38b12 100644
--- a/python-msal.spec
+++ b/python-msal.spec
@@ -82,6 +82,10 @@ sed --regexp-extended \
 
 
 %check
+# The msal.broker module requires the broker extra; that requires
+# pymsalruntime, which we can’t package.
+%pyproject_check_import -e msal.broker
+
 %if %{with tests}
 %if %{without network_tests}
 # All of the following require network access:
@@ -121,11 +125,6 @@ k="${k-}${k+ and }not (CryptographyTestCase and test_should_be_run_with_latest_v
 ignore="${ignore-} --ignore=tests/test_benchmark.py"
 
 %pytest --disable-warnings tests ${ignore-} -k "${k-}" --verbose
-
-%else
-# The msal.broker module requires the broker extra; that requires
-# pymsalruntime, which we can’t package.
-%pyproject_check_import -e msal.broker
 %endif
 
 

                 reply	other threads:[~2026-08-25 11:19 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=178765674676.1.3492466469749466399.rpms-python-msal-dfc8ec2106f0@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