17
0

Accepting request 1228327 from home:glaubitz:branches:devel:languages:python

- Update to 2.23.0
  * Migrate to pyproject.toml (#736)
- from version 2.22.0
  * Add support for python 3.13 (#696)
  * Add type hints to ClientOptions (#735)
  * Improve `Any` decode error (#712)
  * Require proto-plus >= 1.25.0 for Python 3.13 (#740)
  * Switch to unittest.mock from mock (#713)
- Drop python-google-api-core-no-mock.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1228327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=79
This commit is contained in:
2024-12-04 18:55:40 +00:00
committed by Git OBS Bridge
parent 2ca152b3f6
commit b2cd284728
5 changed files with 18 additions and 393 deletions

View File

@@ -26,15 +26,12 @@
%endif
%{?sle15_python_module_pythons}
Name: python-google-api-core
Version: 2.21.0
Version: 2.23.0
Release: 0
Summary: Google API client core library
License: Apache-2.0
URL: https://github.com/googleapis/python-api-core
Source: https://files.pythonhosted.org/packages/source/g/google_api_core/google_api_core-%{version}.tar.gz
# PATCH-FIX-UPSTREAM Based on gh#googleapis/python-api-core#713
Patch0: python-google-api-core-no-mock.patch
# Needed for python_sitelib/google
BuildRequires: %{python_module googleapis-common-protos >= 1.56.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 40.3.0}
@@ -57,7 +54,7 @@ Requires: python-googleapis-common-protos >= 1.56.2
Requires: python-grpcio >= 1.49.1
Requires: python-grpcio-status >= 1.49.1
Requires: python-requests >= 2.18.0
Requires: (python-proto-plus >= 1.22.3 with python-proto-plus < 2.0.0dev0)
Requires: (python-proto-plus >= 1.25.0 with python-proto-plus < 2.0.0dev0)
Requires: (python-protobuf >= 3.19.5 with python-protobuf < 6.0.0.dev0)
BuildArch: noarch
%python_subpackages