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

            A new commit has been pushed.

            Repo   : rpms/python-azure-mgmt-botservice
            Branch : rawhide
            Commit : 4473787f315c906809aac6c63b6bb6675c8c7b53
            Author : Jeremy Cline <jeremycline@microsoft.com>
            Date   : 2026-06-23T20:13:42-04:00
            Stats  : +5/-20 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-azure-mgmt-botservice/c/4473787f315c906809aac6c63b6bb6675c8c7b53?branch=rawhide

            Log:
            Drop test support and add six dependency

As with most other azure packages, the azure-devtools package is not
published and breaks APIs, so we cannot realistically test it.

---
diff --git a/python-azure-mgmt-botservice.spec b/python-azure-mgmt-botservice.spec
index 0e98a62..f220a20 100644
--- a/python-azure-mgmt-botservice.spec
+++ b/python-azure-mgmt-botservice.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-botservice
 
 Name:           python-%{srcname}
@@ -22,15 +15,8 @@ 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(pytest)
-BuildRequires:  python3dist(pytest-aiohttp)
-BuildRequires:  python3dist(python-dotenv)
-%endif
+# It depends on six but doesn't declare that
+BuildRequires:  python3dist(six)
 
 %global _description %{expand:
 Microsoft Azure Bot Service Client Library for Python}
@@ -41,6 +27,9 @@ Microsoft Azure Bot Service Client Library for Python}
 %package -n python3-%{srcname}
 Summary:        %{summary}
 
+# It depends on six but doesn't declare that
+Requires:       python3dist(six)
+
 %description -n python3-%{srcname} %{_description}
 
 
@@ -64,10 +53,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-24  0:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24  0:14 [rpms/python-azure-mgmt-botservice] rawhide: Drop test support 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