public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Cline <jeremycline@microsoft.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-azure-mgmt-core] rawhide: Stop running the unit tests
Date: Wed, 24 Jun 2026 16:49:00 GMT	[thread overview]
Message-ID: <178231974024.1.14217918152806160050.rpms-python-azure-mgmt-core-22a51bcffbbd@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-24 16:49 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=178231974024.1.14217918152806160050.rpms-python-azure-mgmt-core-22a51bcffbbd@fedoraproject.org \
    --to=jeremycline@microsoft.com \
    --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