Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-api-core for
openSUSE:Factory checked in at 2026-06-08 17:01:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-api-core (Old)
and /work/SRC/openSUSE:Factory/.python-google-api-core.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-api-core"
Mon Jun 8 17:01:08 2026 rev:49 rq:1357982 version:2.31.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-api-core/python-google-api-core.changes
2026-04-13 23:22:16.964532891 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-api-core.new.2375/python-google-api-core.changes
2026-06-08 17:01:12.672965769 +0200
@@ -1,0 +2,14 @@
+Mon Jun 8 12:08:31 UTC 2026 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 2.31.0
+ * fix FAQ grammar in httplib2 example
+ * same block as other sections
+ * Bump github/codeql-action from 4.33.0 to 4.34.1
+ * Bump github/codeql-action from 4.32.0 to 4.33.0
+ * exclude Response.is_permanent_redirect from API docs
+ * clarify Quickstart POST example (#6960)
+ * Additional commits viewable in compare view
+ * bump protobuf from 4.25.8 to 5.29.6 (#17021)
+ * drop support for Python 3.9 (#16980)
+
+-------------------------------------------------------------------
Old:
----
google_api_core-2.30.3.tar.gz
New:
----
google_api_core-2.31.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-api-core.spec ++++++
--- /var/tmp/diff_new_pack.nycRyR/_old 2026-06-08 17:01:13.392995607 +0200
+++ /var/tmp/diff_new_pack.nycRyR/_new 2026-06-08 17:01:13.396995773 +0200
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-google-api-core
-Version: 2.30.3
+Version: 2.31.0
Release: 0
Summary: Google API client core library
License: Apache-2.0
++++++ google_api_core-2.30.3.tar.gz -> google_api_core-2.31.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google_api_core-2.30.3/PKG-INFO
new/google_api_core-2.31.0/PKG-INFO
--- old/google_api_core-2.30.3/PKG-INFO 2026-04-10 02:34:46.223877000 +0200
+++ new/google_api_core-2.31.0/PKG-INFO 2026-06-02 16:15:36.654407700 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: google-api-core
-Version: 2.30.3
+Version: 2.31.0
Summary: Google API client core library
Author-email: Google LLC <[email protected]>
License: Apache 2.0
@@ -12,7 +12,6 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
@@ -20,22 +19,23 @@
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
-Requires-Python: >=3.9
+Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: googleapis-common-protos<2.0.0,>=1.63.2
-Requires-Dist: protobuf<8.0.0,>=4.25.8
-Requires-Dist: proto-plus<2.0.0,>=1.22.3
+Requires-Dist: protobuf<8.0.0,>=5.29.6
+Requires-Dist: proto-plus<2.0.0,>=1.24.0
Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
Requires-Dist: google-auth<3.0.0,>=2.14.1
-Requires-Dist: requests<3.0.0,>=2.20.0
+Requires-Dist: requests<3.0.0,>=2.33.0
Provides-Extra: async-rest
-Requires-Dist: google-auth[aiohttp]<3.0.0,>=2.35.0; extra == "async-rest"
+Requires-Dist: google-auth[aiohttp]<3.0.0,>=2.14.1; extra == "async-rest"
+Requires-Dist: aiohttp>=3.13.4; extra == "async-rest"
Provides-Extra: grpc
-Requires-Dist: grpcio<2.0.0,>=1.33.2; extra == "grpc"
+Requires-Dist: grpcio<2.0.0,>=1.41.0; extra == "grpc"
Requires-Dist: grpcio<2.0.0,>=1.49.1; python_version >= "3.11" and extra ==
"grpc"
Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14" and extra ==
"grpc"
-Requires-Dist: grpcio-status<2.0.0,>=1.33.2; extra == "grpc"
+Requires-Dist: grpcio-status<2.0.0,>=1.41.0; extra == "grpc"
Requires-Dist: grpcio-status<2.0.0,>=1.49.1; python_version >= "3.11" and
extra == "grpc"
Requires-Dist: grpcio-status<2.0.0,>=1.75.1; python_version >= "3.14" and
extra == "grpc"
Dynamic: license-file
@@ -58,13 +58,12 @@
Supported Python Versions
-------------------------
-Python >= 3.9
+Python >= 3.10
Unsupported Python Versions
---------------------------
-
-Python == 2.7, Python == 3.5, Python == 3.6, Python == 3.7, Python == 3.8.
+Python <= 3.9
The last version of this library compatible with Python 2.7 and 3.5 is
`google-api-core==1.31.1`.
@@ -74,3 +73,6 @@
The last version of this library compatible with Python 3.7 and 3.8 is
`google-api-core==2.29.0`.
+
+The last version of this library compatible with Python 3.9 is
+`google-api-core==2.30.3`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google_api_core-2.30.3/README.rst
new/google_api_core-2.31.0/README.rst
--- old/google_api_core-2.30.3/README.rst 2026-04-10 02:34:07.000000000
+0200
+++ new/google_api_core-2.31.0/README.rst 2026-06-02 16:13:26.000000000
+0200
@@ -16,13 +16,12 @@
Supported Python Versions
-------------------------
-Python >= 3.9
+Python >= 3.10
Unsupported Python Versions
---------------------------
-
-Python == 2.7, Python == 3.5, Python == 3.6, Python == 3.7, Python == 3.8.
+Python <= 3.9
The last version of this library compatible with Python 2.7 and 3.5 is
`google-api-core==1.31.1`.
@@ -32,3 +31,6 @@
The last version of this library compatible with Python 3.7 and 3.8 is
`google-api-core==2.29.0`.
+
+The last version of this library compatible with Python 3.9 is
+`google-api-core==2.30.3`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/google/api_core/_python_version_support.py
new/google_api_core-2.31.0/google/api_core/_python_version_support.py
--- old/google_api_core-2.30.3/google/api_core/_python_version_support.py
2026-04-10 02:34:10.000000000 +0200
+++ new/google_api_core-2.31.0/google/api_core/_python_version_support.py
2026-06-02 16:13:30.000000000 +0200
@@ -17,6 +17,7 @@
import datetime
import enum
import functools
+from importlib import metadata
import logging
import warnings
import sys
@@ -72,13 +73,6 @@
PYTHON_VERSIONS: List[VersionInfo] = [
# Refer to https://devguide.python.org/versions/ and the PEPs linked
therefrom.
VersionInfo(
- version="3.9",
- python_beta=datetime.date(2020, 5, 18),
- python_start=datetime.date(2020, 10, 5),
- python_eol=datetime.date(2025, 10, 5),
- gapic_end=datetime.date(2025, 10, 5) + datetime.timedelta(days=90),
- ),
- VersionInfo(
version="3.10",
python_beta=datetime.date(2021, 5, 3),
python_start=datetime.date(2021, 10, 4),
@@ -140,38 +134,26 @@
return " ".join(textwrap.dedent(text).strip().split())
-# TODO(https://github.com/googleapis/python-api-core/issues/835):
-# Remove once we no longer support Python 3.9.
-# `importlib.metadata.packages_distributions()` is only supported in Python
3.10 and newer
-#
https://docs.python.org/3/library/importlib.metadata.html#importlib.metadata.packages_distributions
-if sys.version_info < (3, 10):
-
- def _get_pypi_package_name(module_name): # pragma: NO COVER
- """Determine the PyPI package name for a given module name."""
- return None
-
-else:
- from importlib import metadata
-
- @functools.cache
- def _cached_packages_distributions():
- return metadata.packages_distributions()
-
- def _get_pypi_package_name(module_name):
- """Determine the PyPI package name for a given module name."""
- try:
- module_to_distributions = _cached_packages_distributions()
-
- if module_name in module_to_distributions: # pragma: NO COVER
- return module_to_distributions[module_name][0]
- except Exception as e: # pragma: NO COVER
- _LOGGER.info(
- "An error occurred while determining PyPI package name for %s:
%s",
- module_name,
- e,
- )
[email protected]
+def _cached_packages_distributions():
+ return metadata.packages_distributions()
+
+
+def _get_pypi_package_name(module_name):
+ """Determine the PyPI package name for a given module name."""
+ try:
+ module_to_distributions = _cached_packages_distributions()
+
+ if module_name in module_to_distributions: # pragma: NO COVER
+ return module_to_distributions[module_name][0]
+ except Exception as e: # pragma: NO COVER
+ _LOGGER.info(
+ "An error occurred while determining PyPI package name for %s: %s",
+ module_name,
+ e,
+ )
- return None
+ return None
def _get_distribution_and_import_packages(import_package: str) -> Tuple[str,
Any]:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/google/api_core/client_info.py
new/google_api_core-2.31.0/google/api_core/client_info.py
--- old/google_api_core-2.30.3/google/api_core/client_info.py 2026-04-10
02:34:11.000000000 +0200
+++ new/google_api_core-2.31.0/google/api_core/client_info.py 2026-06-02
16:13:29.000000000 +0200
@@ -45,7 +45,7 @@
Args:
python_version (str): The Python interpreter version, for example,
- ``'3.9.6'``.
+ ``'3.10.0'``.
grpc_version (Optional[str]): The gRPC library version.
api_core_version (str): The google-api-core library version.
gapic_version (Optional[str]): The version of gapic-generated client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/google/api_core/gapic_v1/client_info.py
new/google_api_core-2.31.0/google/api_core/gapic_v1/client_info.py
--- old/google_api_core-2.30.3/google/api_core/gapic_v1/client_info.py
2026-04-10 02:34:08.000000000 +0200
+++ new/google_api_core-2.31.0/google/api_core/gapic_v1/client_info.py
2026-06-02 16:13:29.000000000 +0200
@@ -33,7 +33,7 @@
Args:
python_version (str): The Python interpreter version, for example,
- ``'3.9.6'``.
+ ``'3.10.0'``.
grpc_version (Optional[str]): The gRPC library version.
api_core_version (str): The google-api-core library version.
gapic_version (Optional[str]): The version of gapic-generated client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/google/api_core/grpc_helpers_async.py
new/google_api_core-2.31.0/google/api_core/grpc_helpers_async.py
--- old/google_api_core-2.30.3/google/api_core/grpc_helpers_async.py
2026-04-10 02:34:09.000000000 +0200
+++ new/google_api_core-2.31.0/google/api_core/grpc_helpers_async.py
2026-06-02 16:13:26.000000000 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-"""AsyncIO helpers for :mod:`grpc` supporting 3.7+.
+"""AsyncIO helpers for :mod:`grpc`.
Please combine more detailed docstring in grpc_helpers.py to use following
functions. This module is implementing the same surface with AsyncIO semantics.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google_api_core-2.30.3/google/api_core/version.py
new/google_api_core-2.31.0/google/api_core/version.py
--- old/google_api_core-2.30.3/google/api_core/version.py 2026-04-10
02:34:10.000000000 +0200
+++ new/google_api_core-2.31.0/google/api_core/version.py 2026-06-02
16:13:29.000000000 +0200
@@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "2.30.3"
+__version__ = "2.31.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/google_api_core.egg-info/PKG-INFO
new/google_api_core-2.31.0/google_api_core.egg-info/PKG-INFO
--- old/google_api_core-2.30.3/google_api_core.egg-info/PKG-INFO
2026-04-10 02:34:46.000000000 +0200
+++ new/google_api_core-2.31.0/google_api_core.egg-info/PKG-INFO
2026-06-02 16:15:36.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: google-api-core
-Version: 2.30.3
+Version: 2.31.0
Summary: Google API client core library
Author-email: Google LLC <[email protected]>
License: Apache 2.0
@@ -12,7 +12,6 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
@@ -20,22 +19,23 @@
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
-Requires-Python: >=3.9
+Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: googleapis-common-protos<2.0.0,>=1.63.2
-Requires-Dist: protobuf<8.0.0,>=4.25.8
-Requires-Dist: proto-plus<2.0.0,>=1.22.3
+Requires-Dist: protobuf<8.0.0,>=5.29.6
+Requires-Dist: proto-plus<2.0.0,>=1.24.0
Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
Requires-Dist: google-auth<3.0.0,>=2.14.1
-Requires-Dist: requests<3.0.0,>=2.20.0
+Requires-Dist: requests<3.0.0,>=2.33.0
Provides-Extra: async-rest
-Requires-Dist: google-auth[aiohttp]<3.0.0,>=2.35.0; extra == "async-rest"
+Requires-Dist: google-auth[aiohttp]<3.0.0,>=2.14.1; extra == "async-rest"
+Requires-Dist: aiohttp>=3.13.4; extra == "async-rest"
Provides-Extra: grpc
-Requires-Dist: grpcio<2.0.0,>=1.33.2; extra == "grpc"
+Requires-Dist: grpcio<2.0.0,>=1.41.0; extra == "grpc"
Requires-Dist: grpcio<2.0.0,>=1.49.1; python_version >= "3.11" and extra ==
"grpc"
Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14" and extra ==
"grpc"
-Requires-Dist: grpcio-status<2.0.0,>=1.33.2; extra == "grpc"
+Requires-Dist: grpcio-status<2.0.0,>=1.41.0; extra == "grpc"
Requires-Dist: grpcio-status<2.0.0,>=1.49.1; python_version >= "3.11" and
extra == "grpc"
Requires-Dist: grpcio-status<2.0.0,>=1.75.1; python_version >= "3.14" and
extra == "grpc"
Dynamic: license-file
@@ -58,13 +58,12 @@
Supported Python Versions
-------------------------
-Python >= 3.9
+Python >= 3.10
Unsupported Python Versions
---------------------------
-
-Python == 2.7, Python == 3.5, Python == 3.6, Python == 3.7, Python == 3.8.
+Python <= 3.9
The last version of this library compatible with Python 2.7 and 3.5 is
`google-api-core==1.31.1`.
@@ -74,3 +73,6 @@
The last version of this library compatible with Python 3.7 and 3.8 is
`google-api-core==2.29.0`.
+
+The last version of this library compatible with Python 3.9 is
+`google-api-core==2.30.3`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/google_api_core.egg-info/requires.txt
new/google_api_core-2.31.0/google_api_core.egg-info/requires.txt
--- old/google_api_core-2.30.3/google_api_core.egg-info/requires.txt
2026-04-10 02:34:46.000000000 +0200
+++ new/google_api_core-2.31.0/google_api_core.egg-info/requires.txt
2026-06-02 16:15:36.000000000 +0200
@@ -1,18 +1,19 @@
googleapis-common-protos<2.0.0,>=1.63.2
-protobuf<8.0.0,>=4.25.8
-proto-plus<2.0.0,>=1.22.3
+protobuf<8.0.0,>=5.29.6
+proto-plus<2.0.0,>=1.24.0
google-auth<3.0.0,>=2.14.1
-requests<3.0.0,>=2.20.0
+requests<3.0.0,>=2.33.0
[:python_version >= "3.13"]
proto-plus<2.0.0,>=1.25.0
[async_rest]
-google-auth[aiohttp]<3.0.0,>=2.35.0
+google-auth[aiohttp]<3.0.0,>=2.14.1
+aiohttp>=3.13.4
[grpc]
-grpcio<2.0.0,>=1.33.2
-grpcio-status<2.0.0,>=1.33.2
+grpcio<2.0.0,>=1.41.0
+grpcio-status<2.0.0,>=1.41.0
[grpc:python_version >= "3.11"]
grpcio<2.0.0,>=1.49.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google_api_core-2.30.3/pyproject.toml
new/google_api_core-2.31.0/pyproject.toml
--- old/google_api_core-2.30.3/pyproject.toml 2026-04-10 02:34:12.000000000
+0200
+++ new/google_api_core-2.31.0/pyproject.toml 2026-06-02 16:13:27.000000000
+0200
@@ -20,7 +20,7 @@
name = "google-api-core"
authors = [{ name = "Google LLC", email = "[email protected]" }]
license = { text = "Apache 2.0" }
-requires-python = ">=3.9"
+requires-python = ">=3.10"
readme = "README.rst"
description = "Google API client core library"
classifiers = [
@@ -34,7 +34,6 @@
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
@@ -45,11 +44,11 @@
]
dependencies = [
"googleapis-common-protos >= 1.63.2, < 2.0.0",
- "protobuf >= 4.25.8, < 8.0.0",
- "proto-plus >= 1.22.3, < 2.0.0",
+ "protobuf >= 5.29.6, < 8.0.0",
+ "proto-plus >= 1.24.0, < 2.0.0",
"proto-plus >= 1.25.0, < 2.0.0; python_version >= '3.13'",
"google-auth >= 2.14.1, < 3.0.0",
- "requests >= 2.20.0, < 3.0.0",
+ "requests >= 2.33.0, < 3.0.0",
]
dynamic = ["version"]
@@ -59,12 +58,12 @@
Repository = "https://github.com/googleapis/google-cloud-python"
[project.optional-dependencies]
-async_rest = ["google-auth[aiohttp] >= 2.35.0, < 3.0.0"]
+async_rest = ["google-auth[aiohttp] >= 2.14.1, < 3.0.0", "aiohttp >= 3.13.4"]
grpc = [
- "grpcio >= 1.33.2, < 2.0.0",
+ "grpcio >= 1.41.0, < 2.0.0",
"grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11'",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
- "grpcio-status >= 1.33.2, < 2.0.0",
+ "grpcio-status >= 1.41.0, < 2.0.0",
"grpcio-status >= 1.49.1, < 2.0.0; python_version >= '3.11'",
"grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'",
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/tests/asyncio/test_bidi_async.py
new/google_api_core-2.31.0/tests/asyncio/test_bidi_async.py
--- old/google_api_core-2.30.3/tests/asyncio/test_bidi_async.py 2026-04-10
02:34:09.000000000 +0200
+++ new/google_api_core-2.31.0/tests/asyncio/test_bidi_async.py 2026-06-02
16:13:27.000000000 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import sys
+
import asyncio
from unittest import mock
@@ -33,15 +33,6 @@
from google.api_core import bidi_async
from google.api_core import exceptions
-# TODO: remove this when droppping support for "Python 3.10" and below.
-if sys.version_info < (3, 10): # type: ignore[operator]
-
- def aiter(obj):
- return obj.__aiter__()
-
- async def anext(obj):
- return await obj.__anext__()
-
@pytest.mark.asyncio
class Test_AsyncRequestQueueGenerator:
@@ -185,10 +176,6 @@
callback.assert_called_once_with(mock.sentinel.future)
@pytest.mark.asyncio
- @pytest.mark.skipif(
- sys.version_info < (3, 8), # type: ignore[operator]
- reason="Versions of Python below 3.8 don't provide support for
assert_awaited_once",
- )
async def test_metadata(self):
rpc, call = make_async_rpc()
bidi_rpc = bidi_async.AsyncBidiRpc(rpc, metadata=mock.sentinel.A)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google_api_core-2.30.3/tests/unit/test_python_version_support.py
new/google_api_core-2.31.0/tests/unit/test_python_version_support.py
--- old/google_api_core-2.30.3/tests/unit/test_python_version_support.py
2026-04-10 02:34:10.000000000 +0200
+++ new/google_api_core-2.31.0/tests/unit/test_python_version_support.py
2026-06-02 16:13:30.000000000 +0200
@@ -164,7 +164,7 @@
def test_override_gapic_end_only():
"""Test behavior when only gapic_end is manually overridden."""
- version_tuple = (3, 9)
+ version_tuple = (3, 10)
original_info = PYTHON_VERSION_INFO[version_tuple]
mock_py_version = VersionInfoMock(major=version_tuple[0],
minor=version_tuple[1])
@@ -199,7 +199,7 @@
def test_override_gapic_deprecation_only():
"""Test behavior when only gapic_deprecation is manually overridden."""
- version_tuple = (3, 9)
+ version_tuple = (3, 10)
original_info = PYTHON_VERSION_INFO[version_tuple]
mock_py_version = VersionInfoMock(major=version_tuple[0],
minor=version_tuple[1])