Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-github3.py for 
openSUSE:Factory checked in at 2026-05-29 18:07:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-github3.py (Old)
 and      /work/SRC/openSUSE:Factory/.python-github3.py.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-github3.py"

Fri May 29 18:07:09 2026 rev:7 rq:1355726 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-github3.py/python-github3.py.changes      
2023-06-28 21:33:43.749990920 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-github3.py.new.1937/python-github3.py.changes
    2026-05-29 18:08:51.470720238 +0200
@@ -1,0 +2,6 @@
+Fri May 29 04:05:57 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-new-requests.patch:
+  * Support argument changes for the new requests.
+
+-------------------------------------------------------------------

New:
----
  support-new-requests.patch

----------(New B)----------
  New:
- Add patch support-new-requests.patch:
  * Support argument changes for the new requests.
----------(New E)----------

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

Other differences:
------------------
++++++ python-github3.py.spec ++++++
--- /var/tmp/diff_new_pack.b4YPpE/_old  2026-05-29 18:08:52.402758823 +0200
+++ /var/tmp/diff_new_pack.b4YPpE/_new  2026-05-29 18:08:52.402758823 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-github3.py
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,9 +24,10 @@
 URL:            https://github.com/sigmavirus24/github3.py
 Source0:        
https://files.pythonhosted.org/packages/source/g/github3.py/github3.py-%{version}.tar.gz
 Source20:       
https://raw.githubusercontent.com/sigmavirus24/github3.py/%{version}/tests/id_rsa.pub
+# PATCH-FIX-OPENSUSE Fix arguments for mock calls
+Patch0:         support-new-requests.patch
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyJWT >= 2.3.0
@@ -54,7 +55,7 @@
 Github3.py is wrapper for v3 of the GitHub API written in python.
 
 %prep
-%setup -q -n github3.py-%{version}
+%autosetup -p1 -n github3.py-%{version}
 cp %{SOURCE20} tests/
 
 %build


++++++ support-new-requests.patch ++++++
Index: github3.py-4.0.1/tests/unit/test_github_session.py
===================================================================
--- github3.py-4.0.1.orig/tests/unit/test_github_session.py
+++ github3.py-4.0.1/tests/unit/test_github_session.py
@@ -41,7 +41,8 @@ class TestGitHubSession:
         r = s.get("http://example.com";)
         assert r is response
         request_mock.assert_called_once_with(
-            "GET", "http://example.com";, allow_redirects=True, timeout=(4, 10)
+            "GET", "http://example.com";, params=None, allow_redirects=True,
+            timeout=(4, 10)
         )
 
     @unittest.mock.patch.object(requests.Session, "request")
@@ -58,6 +59,7 @@ class TestGitHubSession:
         request_mock.assert_called_once_with(
             "GET",
             "http://example.com";,
+            params=None,
             allow_redirects=True,
             timeout=(300, 400),
         )
@@ -149,7 +151,8 @@ class TestGitHubSession:
         r = s.get("http://example.com";)
         assert r is response
         request_mock.assert_called_once_with(
-            "GET", "http://example.com";, allow_redirects=True, timeout=(4, 10)
+            "GET", "http://example.com";, params=None, allow_redirects=True,
+            timeout=(4, 10)
         )
 
     @unittest.mock.patch.object(requests.Session, "request")

Reply via email to