public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-azure-mgmt-billing] rawhide: Drop test section and add six dependency
@ 2026-06-23 21:17 Jeremy Cline
  0 siblings, 0 replies; only message in thread
From: Jeremy Cline @ 2026-06-23 21:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-azure-mgmt-billing
            Branch : rawhide
            Commit : 8f5b070f2057e91c4745c3d73b29a78ea342450d
            Author : Jeremy Cline <jeremycline@microsoft.com>
            Date   : 2026-06-23T17:15:19-04:00
            Stats  : +6/-20 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-azure-mgmt-billing/c/8f5b070f2057e91c4745c3d73b29a78ea342450d?branch=rawhide

            Log:
            Drop test section and add six dependency

The testing tools from Azure's SDK isn't available as a released version
and azure-cli pins wildly different versions so it's basically
untestable.

---
diff --git a/python-azure-mgmt-billing.spec b/python-azure-mgmt-billing.spec
index bd64e22..cbe0a91 100644
--- a/python-azure-mgmt-billing.spec
+++ b/python-azure-mgmt-billing.spec
@@ -1,10 +1,3 @@
-# EPEL9 does not have python-aiohttp packaged yet.
-%if 0%{?fedora}
-%bcond_without  tests
-%else
-%bcond_with     tests
-%endif
-
 %global         srcname     azure-mgmt-billing
 
 Name:           python-%{srcname}
@@ -19,16 +12,10 @@ BuildArch:      noarch
 
 
 BuildRequires:  python3-devel
+# We're stuck on an old version of this package because azure-cli; it depends on six
+# but doesn't include that detail in its metadata.
+BuildRequires:  python3dist(six)
 
-%if %{with tests}
-BuildRequires:  python3dist(azure-devtools)
-BuildRequires:  python3dist(azure-mgmt-keyvault)
-BuildRequires:  python3dist(azure-mgmt-resource)
-BuildRequires:  python3dist(azure-sdk-tools)
-BuildRequires:  python3dist(pytest)
-BuildRequires:  python3dist(pytest-aiohttp)
-BuildRequires:  python3dist(python-dotenv)
-%endif
 
 %global _description %{expand:
 Microsoft Azure Billing AI Management Client Library for Python}
@@ -38,6 +25,9 @@ Microsoft Azure Billing AI Management Client Library for Python}
 
 %package -n python3-%{srcname}
 Summary:        %{summary}
+# We're stuck on an old version of this package because azure-cli; it depends on six
+# but doesn't include that detail in its metadata.
+BuildRequires:  python3dist(six)
 
 %description -n python3-%{srcname} %{_description}
 
@@ -62,10 +52,6 @@ Summary:        %{summary}
 %check
 %pyproject_check_import
 
-%if %{with tests}
-%pytest
-%endif
-
 
 %files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.md CHANGELOG.md

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 21:17 [rpms/python-azure-mgmt-billing] rawhide: Drop test section and add six dependency Jeremy Cline

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