Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-google-auth for 
openSUSE:Factory checked in at 2025-12-02 13:18:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-auth (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-auth.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-auth"

Tue Dec  2 13:18:29 2025 rev:60 rq:1320345 version:2.43.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-auth/python-google-auth.changes    
2025-11-11 19:19:45.359500636 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-google-auth.new.14147/python-google-auth.changes
 2025-12-02 13:18:42.099189002 +0100
@@ -1,0 +2,5 @@
+Thu Nov 27 09:54:02 UTC 2025 - Markéta Machová <[email protected]>
+
+- Add upstream pytest9.patch to fix tests
+
+-------------------------------------------------------------------

New:
----
  pytest9.patch

----------(New B)----------
  New:
- Add upstream pytest9.patch to fix tests
----------(New E)----------

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

Other differences:
------------------
++++++ python-google-auth.spec ++++++
--- /var/tmp/diff_new_pack.fWLZjE/_old  2025-12-02 13:18:43.095230821 +0100
+++ /var/tmp/diff_new_pack.fWLZjE/_new  2025-12-02 13:18:43.099230989 +0100
@@ -26,6 +26,8 @@
 Source:         
https://files.pythonhosted.org/packages/source/g/google_auth/google_auth-%{version}.tar.gz
 # https://github.com/googleapis/google-auth-library-python/issues/1055
 Patch1:         python-google-auth-no-mock.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/googleapis/google-auth-library-python/pull/1868 chore: 
update secret and fix pytest issue
+Patch2:         pytest9.patch
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module PyJWT >= 2.0}
 BuildRequires:  %{python_module aiohttp >= 3.6.2}

++++++ pytest9.patch ++++++
>From 5c372a92bf5086f1b63eaa8979fc13c5c0ce9dc9 Mon Sep 17 00:00:00 2001
From: Lingqing Gan <[email protected]>
Date: Mon, 10 Nov 2025 15:58:56 -0800
Subject: [PATCH] chore: update secret and fix pytest issue  (#1868)

---
 system_tests/secrets.tar.enc         | Bin 10324 -> 10324 bytes
 tests/transport/aio/test_sessions.py |  22 ++++++++++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/tests/transport/aio/test_sessions.py 
b/tests/transport/aio/test_sessions.py
index c91a7c40a..742f863d0 100644
--- a/tests/transport/aio/test_sessions.py
+++ b/tests/transport/aio/test_sessions.py
@@ -32,8 +32,13 @@
 
 
 @pytest.fixture
-async def simple_async_task():
-    return True
+def simple_async_task():
+    # Wrap async fixture within a synchronous fixture to suppress 
pytest.PytestRemovedIn9Warning
+    # See 
https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
+    async def inner_fixture():
+        return True
+
+    return inner_fixture()
 
 
 class MockRequest(Request):
@@ -151,10 +156,15 @@ class TestAsyncAuthorizedSession(object):
     credentials = AnonymousCredentials()
 
     @pytest.fixture
-    async def mocked_content(self):
-        content = [b"Cavefish ", b"have ", b"no ", b"sight."]
-        for chunk in content:
-            yield chunk
+    def mocked_content(self):
+        # Wrap async fixture within a synchronous fixture to suppress 
pytest.PytestRemovedIn9Warning
+        # See 
https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
+        async def inner_fixture():
+            content = [b"Cavefish ", b"have ", b"no ", b"sight."]
+            for chunk in content:
+                yield chunk
+
+        return inner_fixture()
 
     @pytest.mark.asyncio
     async def test_constructor_with_default_auth_request(self):

Reply via email to