public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-azure-mgmt-subscription] rawhide: Add python3-six dependency
@ 2026-06-08 17:51 Mikhail Gavrilov
  0 siblings, 0 replies; only message in thread
From: Mikhail Gavrilov @ 2026-06-08 17:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-azure-mgmt-subscription
            Branch : rawhide
            Commit : e4ecb6e53b228aa387103d545722d715ece0c917
            Author : Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
            Date   : 2026-06-08T16:02:54+05:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-azure-mgmt-subscription/c/e4ecb6e53b228aa387103d545722d715ece0c917?branch=rawhide

            Log:
            Add python3-six dependency

The generated enum modules import six.with_metaclass, but six is not in the
upstream dist metadata, so neither %pyproject_buildrequires nor the automatic
runtime dependency generator picks it up. It used to be pulled in transitively
via msrest/azure-core; that no longer happens, which breaks the %check import
test and the module at runtime. Add it as BuildRequires and Requires.

---
diff --git a/python-azure-mgmt-subscription.spec b/python-azure-mgmt-subscription.spec
index 23ea41d..a3d17ae 100644
--- a/python-azure-mgmt-subscription.spec
+++ b/python-azure-mgmt-subscription.spec
@@ -17,6 +17,7 @@ Epoch:          1
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
+BuildRequires:  python3-six
 
 %if %{with tests}
 BuildRequires:  python3dist(azure-devtools)
@@ -28,6 +29,12 @@ BuildRequires:  python3dist(pytest-aiohttp)
 BuildRequires:  python3dist(python-dotenv)
 %endif
 
+# Generated enum modules import six.with_metaclass, but six is not in the
+# upstream dist metadata, so the dependency generators miss it (both the
+# BuildRequires and this Requires must be added by hand). Needed at runtime
+# whenever the module is imported.
+Requires:       python3-six
+
 %global _description %{expand:
 Microsoft Azure Subscription Management Client Library for Python}
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08 17:51 [rpms/python-azure-mgmt-subscription] rawhide: Add python3-six dependency Mikhail Gavrilov

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