public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-ibm-cloud-sdk-core] rawhide: migrate to declarative buildstystem and drop constraint on python-dateutil
Date: Tue, 10 Nov 2026 15:01:37 GMT	[thread overview]
Message-ID: <179432289702.1.5350271715014079743.rpms-python-ibm-cloud-sdk-core-9921ee5bdb46@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-10 15:01 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=179432289702.1.5350271715014079743.rpms-python-ibm-cloud-sdk-core-9921ee5bdb46@fedoraproject.org \
    --to=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