Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-requre for openSUSE:Factory 
checked in at 2025-05-15 17:01:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requre (Old)
 and      /work/SRC/openSUSE:Factory/.python-requre.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-requre"

Thu May 15 17:01:25 2025 rev:7 rq:1277535 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-requre/python-requre.changes      
2025-03-31 11:43:40.941409680 +0200
+++ /work/SRC/openSUSE:Factory/.python-requre.new.30101/python-requre.changes   
2025-05-15 17:01:36.930803709 +0200
@@ -1,0 +2,7 @@
+Thu May 15 05:16:09 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Promote pytest to Requires.
+- Add patch support-click-8.2.patch:
+  * click 8.2.0 now exits non-zero when printing help.
+
+-------------------------------------------------------------------

New:
----
  support-click-8.2.patch

BETA DEBUG BEGIN:
  New:- Promote pytest to Requires.
- Add patch support-click-8.2.patch:
  * click 8.2.0 now exits non-zero when printing help.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-requre.spec ++++++
--- /var/tmp/diff_new_pack.HK2tVM/_old  2025-05-15 17:01:37.754838278 +0200
+++ /var/tmp/diff_new_pack.HK2tVM/_new  2025-05-15 17:01:37.754838278 +0200
@@ -24,6 +24,8 @@
 License:        MIT
 URL:            https://github.com/packit-service/requre
 Source:         
https://files.pythonhosted.org/packages/source/r/requre/requre-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE click 8.2.0 now exits non-zero when printing help
+Patch0:         support-click-8.2.patch
 BuildRequires:  %{python_module hatch_vcs}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
@@ -33,8 +35,8 @@
 Requires:       python-PyYAML
 Requires:       python-click
 Requires:       python-httpx
+Requires:       python-pytest
 Requires:       python-requests
-Suggests:       python-pytest
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
@@ -53,7 +55,7 @@
 various objects and use stored data for testing.
 
 %prep
-%setup -q -n requre-%{version}
+%autosetup -p1 -n requre-%{version}
 # Remove cyclic dependency with ogr
 rm tests/test_E2E_ogr.py
 

++++++ support-click-8.2.patch ++++++
Index: requre-0.9.1/tests/test_e2e_test_patching.py
===================================================================
--- requre-0.9.1.orig/tests/test_e2e_test_patching.py
+++ requre-0.9.1/tests/test_e2e_test_patching.py
@@ -82,7 +82,7 @@ class NoApplied(unittest.TestCase):
         run_command(cmd=f"{CMD_RELATIVE} clean", fail=False)
 
     def test_help(self):
-        run_command(cmd=f"{CMD_RELATIVE}")
+        run_command(cmd=f"{CMD_RELATIVE}", fail=False)
 
     def test_bad_command(self):
         self.assertRaises(

Reply via email to