public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ibm-cloud-sdk-core] rawhide: migrate to declarative buildstystem and drop constraint on python-dateutil
@ 2026-11-10 15:01 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-10 15:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-ibm-cloud-sdk-core
Branch : rawhide
Commit : 9921ee5bdb4688841694115a244ebdf958243899
Author : Miroslav Suchý <msuchy@redhat.com>
Date   : 2026-11-10T15:44:47+01:00
Stats  : +7/-16 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-ibm-cloud-sdk-core/c/9921ee5bdb4688841694115a244ebdf958243899?branch=rawhide

Log:
migrate to declarative buildstystem and drop constraint on python-dateutil

---
diff --git a/python-ibm-cloud-sdk-core.spec b/python-ibm-cloud-sdk-core.spec
index c78dd83..f09a366 100644
--- a/python-ibm-cloud-sdk-core.spec
+++ b/python-ibm-cloud-sdk-core.spec
@@ -13,6 +13,9 @@ Source0:        %{pypi_source ibm_cloud_sdk_core}
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
+BuildSystem:    pyproject
+BuildOption(install): --assert-license %{srcname}
+BuildRequires:  python3-dateutil
 
 %global _description %{expand:
 The python-sdk-core repository contains core functionality required by Python
@@ -31,23 +34,11 @@ Summary:        %{summary}
 %prep
 %autosetup -p1 -n ibm_cloud_sdk_core-%{version}
 echo > requirements-dev.txt
-# relax dependency on urllib.
-# it can be removed when urllib3 is rebased to 2.x
-sed -i 's/requests>=2.32.4,<3.0.0/requests/' pyproject.toml
+%pyproject_patch_dependency requests:drop_constraints
+# set explicitely in BR
+%pyproject_patch_dependency python-dateutil:ignore
 
-%generate_buildrequires
-%pyproject_buildrequires -r
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files %{srcname}
-
-%check
-%pyproject_check_import
+%check -a
 # some tests requires internet connections or credentials
 # %%pytest --strict-markers --verbose --tb=long test
 

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

only message in thread, other threads:[~2026-11-10 15:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 15:01 [rpms/python-ibm-cloud-sdk-core] rawhide: migrate to declarative buildstystem and drop constraint on python-dateutil 

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