Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-cloud-logging for
openSUSE:Factory checked in at 2026-08-11 17:19:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-logging (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-logging.new.17972
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-logging"
Tue Aug 11 17:19:31 2026 rev:7 rq:1370707 version:3.16.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-cloud-logging/python-google-cloud-logging.changes
2026-07-15 17:01:12.694313522 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-cloud-logging.new.17972/python-google-cloud-logging.changes
2026-08-11 17:19:55.037110249 +0200
@@ -1,0 +2,8 @@
+Tue Aug 11 13:37:55 UTC 2026 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 3.16.2
+ * bump grpcio to 1.59.0; require Python 3.10+ (#17351)
+ * require Protobuf 6.33.5+ (#17743)
+- Update BuildRequires and Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
google_cloud_logging-3.16.1.tar.gz
New:
----
google_cloud_logging-3.16.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-logging.spec ++++++
--- /var/tmp/diff_new_pack.e9cTJg/_old 2026-08-11 17:19:55.737139809 +0200
+++ /var/tmp/diff_new_pack.e9cTJg/_new 2026-08-11 17:19:55.737139809 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-google-cloud-logging
-Version: 3.16.1
+Version: 3.16.2
Release: 0
Summary: Stackdriver Logging API client library
License: Apache-2.0
@@ -29,9 +29,9 @@
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
-BuildRequires: %{python_module google-api-core >= 2.11.0}
+BuildRequires: %{python_module google-api-core >= 2.25.0}
BuildRequires: %{python_module google-auth >= 2.14.1}
-BuildRequires: %{python_module google-cloud-appengine-logging >= 0.1.3}
+BuildRequires: %{python_module google-cloud-appengine-logging >= 1.6.1}
BuildRequires: %{python_module google-cloud-audit-log >= 0.3.1}
BuildRequires: %{python_module google-cloud-core >= 2.0.0}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.4}
@@ -41,9 +41,9 @@
BuildRequires: %{python_module protobuf >= 4.25.8}
# /SECTION
BuildRequires: fdupes
-Requires: python-google-api-core >= 2.11.0
+Requires: python-google-api-core >= 2.25.0
Requires: python-google-auth >= 2.14.1
-Requires: python-google-cloud-appengine-logging >= 0.1.3
+Requires: python-google-cloud-appengine-logging >= 1.6.1
Requires: python-google-cloud-audit-log >= 0.3.1
Requires: python-google-cloud-core >= 2.0.0
Requires: python-grpc-google-iam-v1 >= 0.12.4
++++++ google_cloud_logging-3.16.1.tar.gz -> google_cloud_logging-3.16.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google_cloud_logging-3.16.1/PKG-INFO
new/google_cloud_logging-3.16.2/PKG-INFO
--- old/google_cloud_logging-3.16.1/PKG-INFO 2026-07-08 18:40:06.778935200
+0200
+++ new/google_cloud_logging-3.16.2/PKG-INFO 2026-08-06 07:57:56.019411600
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: google-cloud-logging
-Version: 3.16.1
+Version: 3.16.2
Summary: Google Cloud Logging API client library
Home-page:
https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-logging
Author: Google LLC
@@ -21,9 +21,9 @@
Classifier: Topic :: Internet
Requires-Python: >=3.10
License-File: LICENSE
-Requires-Dist: google-api-core[grpc]<3.0.0,>=2.24.2
+Requires-Dist: google-api-core[grpc]<3.0.0,>=2.25.0
Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
-Requires-Dist: google-cloud-appengine-logging<2.0.0,>=0.1.3
+Requires-Dist: google-cloud-appengine-logging<2.0.0,>=1.6.1
Requires-Dist: google-cloud-audit-log<1.0.0,>=0.3.2
Requires-Dist: google-cloud-core<3.0.0,>=2.0.0
Requires-Dist: grpc-google-iam-v1<1.0.0,>=0.14.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging/gapic_version.py
new/google_cloud_logging-3.16.2/google/cloud/logging/gapic_version.py
--- old/google_cloud_logging-3.16.1/google/cloud/logging/gapic_version.py
2026-07-08 18:37:46.000000000 +0200
+++ new/google_cloud_logging-3.16.2/google/cloud/logging/gapic_version.py
2026-08-06 07:54:29.000000000 +0200
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "3.16.1" # {x-release-please-version}
+__version__ = "3.16.2" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/gapic_version.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/gapic_version.py
--- old/google_cloud_logging-3.16.1/google/cloud/logging_v2/gapic_version.py
2026-07-08 18:37:46.000000000 +0200
+++ new/google_cloud_logging-3.16.2/google/cloud/logging_v2/gapic_version.py
2026-08-06 07:54:29.000000000 +0200
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "3.16.1" # {x-release-please-version}
+__version__ = "3.16.2" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/config_service_v2/async_client.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/config_service_v2/async_client.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/config_service_v2/async_client.py
2026-07-08 18:37:46.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/config_service_v2/async_client.py
2026-08-06 07:54:29.000000000 +0200
@@ -4242,9 +4242,7 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
__all__ = ("ConfigServiceV2AsyncClient",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/config_service_v2/client.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/config_service_v2/client.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/config_service_v2/client.py
2026-07-08 18:37:44.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/config_service_v2/client.py
2026-08-06 07:54:29.000000000 +0200
@@ -4709,8 +4709,6 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
__all__ = ("ConfigServiceV2Client",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/config_service_v2/transports/base.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/config_service_v2/transports/base.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/config_service_v2/transports/base.py
2026-07-08 18:37:46.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/config_service_v2/transports/base.py
2026-08-06 07:54:33.000000000 +0200
@@ -33,9 +33,7 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
class ConfigServiceV2Transport(abc.ABC):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/logging_service_v2/async_client.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/logging_service_v2/async_client.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/logging_service_v2/async_client.py
2026-07-08 18:37:47.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/logging_service_v2/async_client.py
2026-08-06 07:54:33.000000000 +0200
@@ -1281,9 +1281,7 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
__all__ = ("LoggingServiceV2AsyncClient",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/logging_service_v2/client.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/logging_service_v2/client.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/logging_service_v2/client.py
2026-07-08 18:37:45.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/logging_service_v2/client.py
2026-08-06 07:54:34.000000000 +0200
@@ -1708,8 +1708,6 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
__all__ = ("LoggingServiceV2Client",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/logging_service_v2/transports/base.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/logging_service_v2/transports/base.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/logging_service_v2/transports/base.py
2026-07-08 18:37:47.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/logging_service_v2/transports/base.py
2026-08-06 07:54:29.000000000 +0200
@@ -33,9 +33,7 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
class LoggingServiceV2Transport(abc.ABC):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/metrics_service_v2/async_client.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/metrics_service_v2/async_client.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/metrics_service_v2/async_client.py
2026-07-08 18:37:47.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/metrics_service_v2/async_client.py
2026-08-06 07:54:31.000000000 +0200
@@ -1129,9 +1129,7 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
__all__ = ("MetricsServiceV2AsyncClient",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/metrics_service_v2/client.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/metrics_service_v2/client.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/metrics_service_v2/client.py
2026-07-08 18:37:43.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/metrics_service_v2/client.py
2026-08-06 07:54:30.000000000 +0200
@@ -1557,8 +1557,6 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
__all__ = ("MetricsServiceV2Client",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py
---
old/google_cloud_logging-3.16.1/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py
2026-07-08 18:37:47.000000000 +0200
+++
new/google_cloud_logging-3.16.2/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py
2026-08-06 07:54:34.000000000 +0200
@@ -33,9 +33,7 @@
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
)
-
-if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO
COVER
- DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
+DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
class MetricsServiceV2Transport(abc.ABC):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google_cloud_logging.egg-info/PKG-INFO
new/google_cloud_logging-3.16.2/google_cloud_logging.egg-info/PKG-INFO
--- old/google_cloud_logging-3.16.1/google_cloud_logging.egg-info/PKG-INFO
2026-07-08 18:40:06.000000000 +0200
+++ new/google_cloud_logging-3.16.2/google_cloud_logging.egg-info/PKG-INFO
2026-08-06 07:57:55.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: google-cloud-logging
-Version: 3.16.1
+Version: 3.16.2
Summary: Google Cloud Logging API client library
Home-page:
https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-logging
Author: Google LLC
@@ -21,9 +21,9 @@
Classifier: Topic :: Internet
Requires-Python: >=3.10
License-File: LICENSE
-Requires-Dist: google-api-core[grpc]<3.0.0,>=2.24.2
+Requires-Dist: google-api-core[grpc]<3.0.0,>=2.25.0
Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
-Requires-Dist: google-cloud-appengine-logging<2.0.0,>=0.1.3
+Requires-Dist: google-cloud-appengine-logging<2.0.0,>=1.6.1
Requires-Dist: google-cloud-audit-log<1.0.0,>=0.3.2
Requires-Dist: google-cloud-core<3.0.0,>=2.0.0
Requires-Dist: grpc-google-iam-v1<1.0.0,>=0.14.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/google_cloud_logging.egg-info/requires.txt
new/google_cloud_logging-3.16.2/google_cloud_logging.egg-info/requires.txt
--- old/google_cloud_logging-3.16.1/google_cloud_logging.egg-info/requires.txt
2026-07-08 18:40:06.000000000 +0200
+++ new/google_cloud_logging-3.16.2/google_cloud_logging.egg-info/requires.txt
2026-08-06 07:57:55.000000000 +0200
@@ -1,6 +1,6 @@
-google-api-core[grpc]<3.0.0,>=2.24.2
+google-api-core[grpc]<3.0.0,>=2.25.0
google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
-google-cloud-appengine-logging<2.0.0,>=0.1.3
+google-cloud-appengine-logging<2.0.0,>=1.6.1
google-cloud-audit-log<1.0.0,>=0.3.2
google-cloud-core<3.0.0,>=2.0.0
grpc-google-iam-v1<1.0.0,>=0.14.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google_cloud_logging-3.16.1/setup.py
new/google_cloud_logging-3.16.2/setup.py
--- old/google_cloud_logging-3.16.1/setup.py 2026-07-08 18:37:47.000000000
+0200
+++ new/google_cloud_logging-3.16.2/setup.py 2026-08-06 07:54:32.000000000
+0200
@@ -42,11 +42,11 @@
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
- "google-api-core[grpc] >= 2.24.2, <3.0.0",
+ "google-api-core[grpc] >= 2.25.0, <3.0.0",
# Exclude incompatible versions of `google-auth`
# See https://github.com/googleapis/google-cloud-python/issues/12364
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
- "google-cloud-appengine-logging>=0.1.3, <2.0.0",
+ "google-cloud-appengine-logging>=1.6.1, <2.0.0",
"google-cloud-audit-log >= 0.3.2, < 1.0.0",
"google-cloud-core >= 2.0.0, <3.0.0",
"grpc-google-iam-v1 >=0.14.2, <1.0.0",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/tests/unit/gapic/logging_v2/test_config_service_v2.py
new/google_cloud_logging-3.16.2/tests/unit/gapic/logging_v2/test_config_service_v2.py
---
old/google_cloud_logging-3.16.1/tests/unit/gapic/logging_v2/test_config_service_v2.py
2026-07-08 18:37:47.000000000 +0200
+++
new/google_cloud_logging-3.16.2/tests/unit/gapic/logging_v2/test_config_service_v2.py
2026-08-06 07:54:30.000000000 +0200
@@ -960,7 +960,14 @@
config_filename = "mock_certificate_config.json"
config_file_content = json.dumps(config_data)
m = mock.mock_open(read_data=config_file_content)
- with mock.patch("builtins.open", m):
+ with (
+ mock.patch("builtins.open", m),
+ mock.patch(
+ "os.path.exists",
+ side_effect=lambda path: os.path.basename(path)
+ == config_filename,
+ ),
+ ):
with mock.patch.dict(
os.environ, {"GOOGLE_API_CERTIFICATE_CONFIG":
config_filename}
):
@@ -1007,7 +1014,14 @@
config_filename = "mock_certificate_config.json"
config_file_content = json.dumps(config_data)
m = mock.mock_open(read_data=config_file_content)
- with mock.patch("builtins.open", m):
+ with (
+ mock.patch("builtins.open", m),
+ mock.patch(
+ "os.path.exists",
+ side_effect=lambda path: os.path.basename(path)
+ == config_filename,
+ ),
+ ):
with mock.patch.dict(
os.environ, {"GOOGLE_API_CERTIFICATE_CONFIG":
config_filename}
):
@@ -1705,6 +1719,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, logging_config.LogBucket) for i in results)
@@ -1793,6 +1810,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
@@ -4003,6 +4022,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, logging_config.LogView) for i in results)
@@ -4091,6 +4113,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
@@ -5499,6 +5523,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, logging_config.LogSink) for i in results)
@@ -5587,6 +5614,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
@@ -8087,6 +8116,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, logging_config.Link) for i in results)
@@ -8175,6 +8207,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
@@ -8929,6 +8963,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, logging_config.LogExclusion) for i in results)
@@ -9017,6 +9054,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/tests/unit/gapic/logging_v2/test_logging_service_v2.py
new/google_cloud_logging-3.16.2/tests/unit/gapic/logging_v2/test_logging_service_v2.py
---
old/google_cloud_logging-3.16.1/tests/unit/gapic/logging_v2/test_logging_service_v2.py
2026-07-08 18:37:44.000000000 +0200
+++
new/google_cloud_logging-3.16.2/tests/unit/gapic/logging_v2/test_logging_service_v2.py
2026-08-06 07:54:33.000000000 +0200
@@ -961,7 +961,14 @@
config_filename = "mock_certificate_config.json"
config_file_content = json.dumps(config_data)
m = mock.mock_open(read_data=config_file_content)
- with mock.patch("builtins.open", m):
+ with (
+ mock.patch("builtins.open", m),
+ mock.patch(
+ "os.path.exists",
+ side_effect=lambda path: os.path.basename(path)
+ == config_filename,
+ ),
+ ):
with mock.patch.dict(
os.environ, {"GOOGLE_API_CERTIFICATE_CONFIG":
config_filename}
):
@@ -1008,7 +1015,14 @@
config_filename = "mock_certificate_config.json"
config_file_content = json.dumps(config_data)
m = mock.mock_open(read_data=config_file_content)
- with mock.patch("builtins.open", m):
+ with (
+ mock.patch("builtins.open", m),
+ mock.patch(
+ "os.path.exists",
+ side_effect=lambda path: os.path.basename(path)
+ == config_filename,
+ ),
+ ):
with mock.patch.dict(
os.environ, {"GOOGLE_API_CERTIFICATE_CONFIG":
config_filename}
):
@@ -2276,6 +2290,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, log_entry.LogEntry) for i in results)
@@ -2364,6 +2381,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
@@ -2661,6 +2680,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(
@@ -2756,6 +2778,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
@@ -3193,6 +3217,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, str) for i in results)
@@ -3281,6 +3308,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_cloud_logging-3.16.1/tests/unit/gapic/logging_v2/test_metrics_service_v2.py
new/google_cloud_logging-3.16.2/tests/unit/gapic/logging_v2/test_metrics_service_v2.py
---
old/google_cloud_logging-3.16.1/tests/unit/gapic/logging_v2/test_metrics_service_v2.py
2026-07-08 18:37:44.000000000 +0200
+++
new/google_cloud_logging-3.16.2/tests/unit/gapic/logging_v2/test_metrics_service_v2.py
2026-08-06 07:54:30.000000000 +0200
@@ -960,7 +960,14 @@
config_filename = "mock_certificate_config.json"
config_file_content = json.dumps(config_data)
m = mock.mock_open(read_data=config_file_content)
- with mock.patch("builtins.open", m):
+ with (
+ mock.patch("builtins.open", m),
+ mock.patch(
+ "os.path.exists",
+ side_effect=lambda path: os.path.basename(path)
+ == config_filename,
+ ),
+ ):
with mock.patch.dict(
os.environ, {"GOOGLE_API_CERTIFICATE_CONFIG":
config_filename}
):
@@ -1007,7 +1014,14 @@
config_filename = "mock_certificate_config.json"
config_file_content = json.dumps(config_data)
m = mock.mock_open(read_data=config_file_content)
- with mock.patch("builtins.open", m):
+ with (
+ mock.patch("builtins.open", m),
+ mock.patch(
+ "os.path.exists",
+ side_effect=lambda path: os.path.basename(path)
+ == config_filename,
+ ),
+ ):
with mock.patch.dict(
os.environ, {"GOOGLE_API_CERTIFICATE_CONFIG":
config_filename}
):
@@ -1708,6 +1722,9 @@
assert pager._retry == retry
assert pager._timeout == timeout
+ assert pager.next_page_token == "abc"
+ assert str(pager).startswith(f"{pager.__class__.__name__}<")
+
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, logging_metrics.LogMetric) for i in results)
@@ -1796,6 +1813,8 @@
request={},
)
assert async_pager.next_page_token == "abc"
+ assert
str(async_pager).startswith(f"{async_pager.__class__.__name__}<")
+
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)