public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-azure-mgmt-core] rawhide: Stop running the unit tests
@ 2026-06-24 16:49 Jeremy Cline
0 siblings, 0 replies; only message in thread
From: Jeremy Cline @ 2026-06-24 16:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-azure-mgmt-core
Branch : rawhide
Commit : 22a51bcffbbd91b2171861ca3693278846704e00
Author : Jeremy Cline <jeremycline@microsoft.com>
Date : 2026-06-24T12:47:16-04:00
Stats : +1/-23 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-azure-mgmt-core/c/22a51bcffbbd91b2171861ca3693278846704e00?branch=rawhide
Log:
Stop running the unit tests
Sadly, the Azure SDK relies on an in-repo set of Python tools and
libraries they don't publish to PyPI. It also breaks its APIs, and
there's a range of Azure SDK components in Fedora because azure-cli pins
things to ancient releases. Drop the tests. I've begged upstream to tag
and publish their test tools, and for azure-cli to update their
dependencies.
---
diff --git a/python-azure-mgmt-core.spec b/python-azure-mgmt-core.spec
index ab39b8d..204e6f0 100644
--- a/python-azure-mgmt-core.spec
+++ b/python-azure-mgmt-core.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-core
%global tarball_name azure_mgmt_core
@@ -22,17 +15,6 @@ Epoch: 1
BuildRequires: python3-devel
-%if %{with tests}
-BuildRequires: python3dist(azure-devtools)
-BuildRequires: python3dist(azure-mgmt-keyvault)
-BuildRequires: python3dist(azure-mgmt-resource)
-BuildRequires: python3dist(azure-sdk-tools)
-BuildRequires: python3dist(httpretty)
-BuildRequires: python3dist(msrest)
-BuildRequires: python3dist(pytest)
-BuildRequires: python3dist(pytest-aiohttp)
-BuildRequires: python3dist(python-dotenv)
-%endif
%global _description %{expand:
Azure Management Core Library}
@@ -59,16 +41,12 @@ Summary: %{summary}
%install
%pyproject_install
-%pyproject_save_files azure
+%pyproject_save_files -l azure
%check
%pyproject_check_import
-%if %{with tests}
-%pytest
-%endif
-
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.md
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 16:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 16:49 [rpms/python-azure-mgmt-core] rawhide: Stop running the unit tests Jeremy Cline
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox