public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-msal] f43: Break the dependency loop on self via azure-identity
@ 2026-06-17  6:22 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-17  6:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-msal
            Branch : f43
            Commit : 923ce18f897444ea2e025686fbca62be29d26cb0
            Author : Karolina Surma <ksurma@redhat.com>
            Date   : 2026-06-17T07:21:15+01:00
            Stats  : +9/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-msal/c/923ce18f897444ea2e025686fbca62be29d26cb0?branch=f43

            Log:
            Break the dependency loop on self via azure-identity

The azure-identity dependency appeared in 1.35.0. For the bootstrap of
the package, e.g. when integrating a new Python version, the loop has to
be broken.

---
diff --git a/python-msal.spec b/python-msal.spec
index 6ac5553..e5a4935 100644
--- a/python-msal.spec
+++ b/python-msal.spec
@@ -2,6 +2,8 @@
 # For testing/development purposes, it could make sense to do a mock build with
 # --with network_tests --enable-network.
 %bcond network_tests 0
+# Break the circular dependency on self via azure-identity
+%bcond bootstrap 0
 
 Name:           python-msal
 Version:        1.36.0
@@ -61,6 +63,10 @@ sed -r \
     -e 's/^(pytest-benchmark|perf_baseline)\b/# &/' \
 %if %{without network_tests} || 0%{?el9}
     -e 's/^(python-dotenv)\b/# &/' \
+%if %{with bootstrap}
+    -e 's/^(azure-identity)\b/# &/' \
+    -e 's/^(azure-keyvault-secrets)\b/# &/' \
+%endif
 %endif
     requirements.txt | tee requirements-filtered.txt
 
@@ -104,6 +110,9 @@ k="${k-}${k+ and }not TestRemoveTokensForClient"
 ignore="${ignore-} --ignore=tests/test_cryptography.py"
 ignore="${ignore-} --ignore=tests/test_e2e.py"
 ignore="${ignore-} --ignore=tests/test_e2e_manual.py"
+%if %{with bootstrap}
+ignore="${ignore-} --ignore=tests/test_fmi_e2e.py"
+%endif
 %else
 # This test requires browser interaction.
 k="${k-}${k+ and }not (SshCertTestCase and test_ssh_cert_for_user_should_work_with_any_account)"

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

only message in thread, other threads:[~2026-06-17  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17  6:22 [rpms/python-msal] f43: Break the dependency loop on self via azure-identity Karolina Surma

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