1
0

Compare commits

...

85 Commits

Author SHA256 Message Date
Ana Guerrero
2cc2209156 Accepting request 1242789 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1242789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=40
2025-02-03 20:44:57 +00:00
75336da1a1 - Update to 2.24.1
* Memory leak in bidi classes (#770)
  * Resolve the issue where rpc timeout of 0 is used when timeout expires (#776)
  * Add warnings regarding consuming externally sourced credentials (#783)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=83
2025-02-03 11:16:14 +00:00
Ana Guerrero
9e172bdf8c Accepting request 1235263 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1235263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=39
2025-01-07 19:53:02 +00:00
9a0ee48954 - Update to 2.24.0
* Add automatic logging config to support debug logging (#754)
  * Update recognized logging fields (#766)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=81
2025-01-06 16:30:05 +00:00
Ana Guerrero
db3c0db0c0 Accepting request 1228363 from 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 (forwarded request 1228327 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1228363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=38
2024-12-05 16:09:08 +00:00
42840cb44a - 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/package/show/devel:languages:python/python-google-api-core?expand=0&rev=79
2024-12-04 18:55:40 +00:00
Ana Guerrero
92a7e3a92e Accepting request 1218907 from devel:languages:python
- Resurrect python-google-api-core-no-mock.patch and refresh it, it is
  still required until 2.22.0.

- Update to 2.21.0
  * Add support for asynchronous long running operations (#724)
- Drop python-google-api-core-no-mock.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1218907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=37
2024-10-29 13:34:53 +00:00
Steve Kowalik
df7b0bc01c - Resurrect python-google-api-core-no-mock.patch and refresh it, it is
still required until 2.22.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=77
2024-10-29 04:42:53 +00:00
d437075ae9 - Update to 2.21.0
* Add support for asynchronous long running operations (#724)
- Drop python-google-api-core-no-mock.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=76
2024-10-28 15:59:45 +00:00
Ana Guerrero
97eb83e3ae Accepting request 1206129 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=36
2024-10-07 19:53:07 +00:00
6d02fe483c fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=74
2024-10-07 14:48:19 +00:00
Ana Guerrero
410abed8a7 Accepting request 1205028 from devel:languages:python
- Remove unneeded BuildRequires.
- Refreshed patches:
  * python-google-api-core-no-mock.patch

- Update to 2.20.0
  * Add async unsupported paramater exception (#694)
  * Add support for asynchronous rest streaming (#686)
  * Add support for creating exceptions from an asynchronous response (#688)

OBS-URL: https://build.opensuse.org/request/show/1205028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=35
2024-10-02 19:33:40 +00:00
Steve Kowalik
3d7721f648 - Remove unneeded BuildRequires.
- Refreshed patches:
  * python-google-api-core-no-mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=72
2024-10-02 04:04:53 +00:00
3903484804 - Update to 2.20.0
* Add async unsupported paramater exception (#694)
  * Add support for asynchronous rest streaming (#686)
  * Add support for creating exceptions from an asynchronous response (#688)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=71
2024-09-26 13:52:42 +00:00
Dominique Leuenberger
d1baefea4e Accepting request 1198474 from devel:languages:python
- Update to 2.19.2
  * Fail gracefully if could not import `rpc_status` module (#680)
- Adjust upstream source name in spec file (forwarded request 1198451 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1198474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=34
2024-09-04 11:23:21 +00:00
Dominique Leuenberger
7a541463ca Accepting request 1184029 from devel:languages:python
- update to 2.19.1:
  * Add support for protobuf 5.x
  * Ignore unknown fields in rest streaming.

OBS-URL: https://build.opensuse.org/request/show/1184029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=33
2024-07-01 09:20:20 +00:00
969fee20ca - update to 2.19.1:
* Add support for protobuf 5.x
  * Ignore unknown fields in rest streaming.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=67
2024-06-29 19:31:40 +00:00
Ana Guerrero
7c3bda7087 Accepting request 1174606 from devel:languages:python
- Update to version 2.19.0
  * Add google.api_core.version_header (#638)
- from version 2.18.0
  * Add common logic for supporting universe domain (#621)
  * Add _registered_method to grpc ChannelStub (#614)
  * **deps:** Require proto-plus >= 1.22.3 (#626)
- from version 2.17.1
  * Resolve issue handling protobuf responses in rest streaming (#604)
- from version 2.17.0
  * Add attempt_direct_path argument to create_channel (#583)
  * Retry constructors methods support None (#592)
- from version 2.16.2
  * Spelling error `a,out` -> `amount` (#596)
- from version 2.16.1
  * Fix broken import for google.api_core.retry_async.AsyncRetry (#587)
- from version 2.16.0
  * Retry and retry_async support streaming rpcs (#495)
- Refresh patches for new version
  * python-google-api-core-no-mock.patch
- Update BuildRequires and Requires from setup.py (forwarded request 1174591 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1174606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=32
2024-05-17 18:05:07 +00:00
baacc05770 Accepting request 1174591 from home:glaubitz:branches:devel:languages:python
- Update to version 2.19.0
  * Add google.api_core.version_header (#638)
- from version 2.18.0
  * Add common logic for supporting universe domain (#621)
  * Add _registered_method to grpc ChannelStub (#614)
  * **deps:** Require proto-plus >= 1.22.3 (#626)
- from version 2.17.1
  * Resolve issue handling protobuf responses in rest streaming (#604)
- from version 2.17.0
  * Add attempt_direct_path argument to create_channel (#583)
  * Retry constructors methods support None (#592)
- from version 2.16.2
  * Spelling error `a,out` -> `amount` (#596)
- from version 2.16.1
  * Fix broken import for google.api_core.retry_async.AsyncRetry (#587)
- from version 2.16.0
  * Retry and retry_async support streaming rpcs (#495)
- Refresh patches for new version
  * python-google-api-core-no-mock.patch
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1174591
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=65
2024-05-16 14:38:47 +00:00
Ana Guerrero
d2d00d20b5 Accepting request 1157353 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1157353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=31
2024-03-13 21:19:04 +00:00
451d45f163 - Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=63
2024-03-05 20:49:14 +00:00
Ana Guerrero
fd5017e073 Accepting request 1154888 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1154888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=30
2024-03-05 17:50:33 +00:00
1324269c55 - Version update in SLE 15 SP4 and later (jsc#PED-6697)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=61
2024-02-26 16:24:48 +00:00
Ana Guerrero
0a0eff34cc Accepting request 1133662 from devel:languages:python
- update to 2.15.0:
  * Add support for Python 3.12
  * Add type annotations to wrapped grpc calls
  * Add universe_domain argument to ClientOptions
  * Introduce compatibility with native namespace packages
  * Fix regression in `bidi` causing `Thread-
    ConsumeBidirectionalStream caught unexpected exception  and
    will exit` (#562)
  * Replace deprecated `datetime.datetime.utcnow()`

- To avoid a build cycle, switch to multibuild.
  * Update intersphinx mapping for requests.
  * Update pins of ‘googleapis-common-protos.

OBS-URL: https://build.opensuse.org/request/show/1133662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=29
2023-12-17 20:32:24 +00:00
2393faae30 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=59 2023-12-16 21:32:02 +00:00
95a2ad2421 - update to 2.15.0:
* Add support for Python 3.12
  * Add type annotations to wrapped grpc calls
  * Add universe_domain argument to ClientOptions
  * Introduce compatibility with native namespace packages
  * Fix regression in `bidi` causing `Thread-
    ConsumeBidirectionalStream caught unexpected exception  and
    will exit` (#562)
  * Replace deprecated `datetime.datetime.utcnow()`
- To avoid a build cycle, switch to multibuild.
  * Update intersphinx mapping for requests.
  * Update pins of ‘googleapis-common-protos.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=58
2023-12-16 19:26:53 +00:00
Ana Guerrero
f53b0bd6fd Accepting request 1131630 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1131630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=28
2023-12-07 18:11:34 +00:00
e090b45dbc Accepting request 1131617 from home:glaubitz:branches:devel:languages:python
- Update to 2.14.0
  * Support with_call for wrapped rpcs (#550)
- from version 2.13.1
  * Update async client to use async retry (#544)
- from version 2.13.0
  * Add caching to routing header calculation (#526)
  * Add warning to retry target to avoid incorrect usage (#543)
  * Drop usage of distutils (#541)
  * Ensure exception is available when BackgroundConsumer
    open stream fails (#357)

OBS-URL: https://build.opensuse.org/request/show/1131617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=56
2023-12-07 14:52:23 +00:00
Ana Guerrero
d44e594207 Accepting request 1119891 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1119891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=27
2023-10-24 18:08:44 +00:00
7d621a7261 Accepting request 1119658 from home:ecsos:python
- Use correct dependencies version for protobuf.

See in setup.py:
"protobuf>=3.19.5,<5.0.0.dev0,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",

OBS-URL: https://build.opensuse.org/request/show/1119658
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=54
2023-10-24 08:02:25 +00:00
Ana Guerrero
8ea1cd527b Accepting request 1117194 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1117194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=26
2023-10-12 21:44:07 +00:00
25b70b8854 Accepting request 1117186 from home:glaubitz:branches:devel:languages:python
- Update to 2.12.0
  * Add a little bit of typing to google.api_core.retry (#453)
  * Add grpc Compression argument to channels and methods (#451)
  * Fix a typo in google/api_core/page_iterator.py (#511)

OBS-URL: https://build.opensuse.org/request/show/1117186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=52
2023-10-12 12:15:38 +00:00
Dominique Leuenberger
a5159751ed Accepting request 1096401 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1096401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=25
2023-07-03 15:42:54 +00:00
5132dcda31 Accepting request 1096391 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=50
2023-07-02 14:50:17 +00:00
Dominique Leuenberger
f2665c283b Accepting request 1093957 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1093957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=24
2023-06-20 14:49:37 +00:00
6dccad2b1e Accepting request 1093934 from home:glaubitz:branches:devel:languages:python
- Update to 2.11.1
  * Add actionable errors for GCE long running operations (#498)
  * Invalid `dev` version identifiers in `setup.py` (#505)

OBS-URL: https://build.opensuse.org/request/show/1093934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=48
2023-06-20 10:42:08 +00:00
Dominique Leuenberger
ad90b0e231 Accepting request 1039543 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=23
2022-12-02 14:47:24 +00:00
d1bf34ea0e Accepting request 1039535 from home:glaubitz:branches:devel:languages:python
- Update to 2.11.0
  * Add support for Python 3.11 (#466)
  * Allow representing enums with their unqualified
    symbolic names in headers (#465)
  * Major refactoring of Polling, Retry and Timeout logic (#462)
  * Require google-auth >= 2.14.1 (#463)
- Refresh patches for new version
  * python-google-api-core-no-mock.patch
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1039535
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=46
2022-12-02 10:43:04 +00:00
Dominique Leuenberger
4695e6e686 Accepting request 1010899 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=22
2022-10-14 13:43:00 +00:00
ce90b6e1a3 Accepting request 1010620 from home:glaubitz:branches:devel:languages:python
- Update to 2.10.2
  * **deps:** Allow protobuf 3.19.5 (#459)
- from version 2.10.1
  * Improve transcoding error message (#442)

OBS-URL: https://build.opensuse.org/request/show/1010620
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=44
2022-10-14 11:55:32 +00:00
Dominique Leuenberger
e42e3abfcc Accepting request 1001930 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1001930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=21
2022-09-09 16:27:41 +00:00
dd4bf9780e Accepting request 1001903 from home:glaubitz:branches:devel:languages:python
- Update to 2.10.0
  * Add 'strict' to flatten_query_params to lower-case bools (#433)
  * Make grpc transcode logic work in terms of protobuf python objects (#428)
  * Require python 3.7+ (#410)
  * Restore support for grpcio-gcp (#418)
- from version 2.8.2
  * **deps:** allow protobuf < 5.0.0 (#400)
  * drop support for grpc-gcp (#401)
  * fix changelog header to consistent size (#394)
  * Fix typo in the BackgroundConsumer docstring (#395)
- Refresh patches for new version
  * python-google-api-core-no-mock.patch
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1001903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=42
2022-09-08 15:39:13 +00:00
Dominique Leuenberger
f1693852e7 Accepting request 981275 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/981275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=20
2022-06-08 12:25:13 +00:00
167092ee32 Accepting request 981273 from home:pgajdos:python
- version update to 2.8.1
  2.8.1 (2022-05-26)
  Bug Fixes
  * deps: require googleapis-common-protos >= 1.56.2 (d84d66c)
  * deps: require protobuf>= 3.15.0, <4.0.0dev (#385) (d84d66c)
  2.8.0 (2022-05-18)
  Features
  * adds support for audience in client_options (#379) (c97c498)
  * adds support for audience in client_options. (c97c498)

- version update to 2.7.3
  Bug Fixes
  * Avoid AttributeError if grpcio-status is not installed (#370) (022add1)
- deleted patches
  - 373-KeyError-in-test.patch (upstreamed)

- do not require python-mock for build
- added patches
  fix no mock
  + python-google-api-core-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/981273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=40
2022-06-08 09:43:55 +00:00
Dominique Leuenberger
8377c90390 Accepting request 973995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/973995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=19
2022-04-30 20:52:00 +00:00
3d38aed7dc Accepting request 973994 from home:mcepl:branches:devel:languages:python
- Update to 2.7.2:
  - allow grpc without grpcio-status
  - remove dependency on pkg_resources
- Add 373-KeyError-in-test.patch to allow tests to run
  (gh#googleapis/python-api-core#372)

OBS-URL: https://build.opensuse.org/request/show/973994
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=38
2022-04-29 22:01:15 +00:00
dcf8e85d97 Accepting request 967490 from home:glaubitz:branches:devel:languages:python
- Update to 2.7.1
  Bug Fixes
  * add more context to error message. (#340)
- from version 2.7.0
  Features
  * expose extra fields in ExtendedOperation (#351)
- from version 2.6.1
  Bug Fixes
  * Remove py2 tag from wheel (#343)
- from version 2.6.0
  Features
  * initial support for Extended Operations (#344)
- from version 2.5.0
  Features
  * add api_key to client options (#248)
  Bug Fixes
  * **deps:** remove setuptools from dependencies (#339)
  Documentation
  * fix typo in library name (#332)
- from version 2.4.0
  Features
  * add support for 'error_info' (#315)
  * iterator for processing JSON responses in REST streaming. (#317)
- from version 2.3.2
  Bug Fixes
  * address broken wheels in version 2.3.1
- from version 2.3.1
  Bug Fixes
  * exclude function target from retry deadline exceeded exception message (#318)
- from version 2.3.0

OBS-URL: https://build.opensuse.org/request/show/967490
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=37
2022-04-07 12:44:59 +00:00
Dominique Leuenberger
fb029cb7a4 Accepting request 917253 from devel:languages:python
- To avoid a build cycle, switch to multibuild.

OBS-URL: https://build.opensuse.org/request/show/917253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=18
2021-09-07 19:21:38 +00:00
Steve Kowalik
030d1ff609 - To avoid a build cycle, switch to multibuild.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=36
2021-09-07 11:06:47 +00:00
Dominique Leuenberger
cdd8bec74e Accepting request 916954 from devel:languages:python
- Update to 2.0.1:
  * do not error on LROs with no response or error (#258) (618f192)
  * drop support for Python 2.7 / 3.5 (#212) (a30f004)
  * bump grpcio version to use stable aio API (#234) (bdbf889)
  * strip trailing _ from field mask paths (#228) (ff6ef1b)
  * add 'requests.exceptions.ChunkedEncodingError' to retryable exceptions
    (#237) (5e540f2)
  * add ServiceUnavailable exception to polling retries (#184) (11032cf)
  * undprecate entity factory helpers (#101) (1fbee03), closes #100
  * add iterator capability to paged iterators (#200) (3487d68)
  * HTTPIterator now accepts a page_size parameter to control page
    (#197) (a421913)
  * Add support for rest/ token in x-goog-api-client header (#189) (15aca6b)
  * retry google.auth TransportError and requests ConnectionError
    (#178) (6ae04a8)
  * skip empty policy bindings in len() and iter() (#159) (9eaa786)
  * save empty IAM policy bindings (#155) (536c2ca)
  * add operation name to x-goog-request-params in async client
    (#137) (7271b23)
  * allow default_host and default_scopes to be passed to create_channel
    (#134) (94c76e0)
  * add operation name to x-goog-request-params (#133) (97cef4a)
  * allow gRPC metadata to be passed to operations client (#127) (73854e8)
- Refresh {Build,}Requires, adding pytest-asyncio and proto-plus.

OBS-URL: https://build.opensuse.org/request/show/916954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=17
2021-09-06 13:58:01 +00:00
Steve Kowalik
6a2f77ebe1 - Update to 2.0.1:
* do not error on LROs with no response or error (#258) (618f192)
  * drop support for Python 2.7 / 3.5 (#212) (a30f004)
  * bump grpcio version to use stable aio API (#234) (bdbf889)
  * strip trailing _ from field mask paths (#228) (ff6ef1b)
  * add 'requests.exceptions.ChunkedEncodingError' to retryable exceptions
    (#237) (5e540f2)
  * add ServiceUnavailable exception to polling retries (#184) (11032cf)
  * undprecate entity factory helpers (#101) (1fbee03), closes #100
  * add iterator capability to paged iterators (#200) (3487d68)
  * HTTPIterator now accepts a page_size parameter to control page
    (#197) (a421913)
  * Add support for rest/ token in x-goog-api-client header (#189) (15aca6b)
  * retry google.auth TransportError and requests ConnectionError
    (#178) (6ae04a8)
  * skip empty policy bindings in len() and iter() (#159) (9eaa786)
  * save empty IAM policy bindings (#155) (536c2ca)
  * add operation name to x-goog-request-params in async client
    (#137) (7271b23)
  * allow default_host and default_scopes to be passed to create_channel
    (#134) (94c76e0)
  * add operation name to x-goog-request-params (#133) (97cef4a)
  * allow gRPC metadata to be passed to operations client (#127) (73854e8)
- Refresh {Build,}Requires, adding pytest-asyncio and proto-plus.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=35
2021-09-06 05:41:47 +00:00
Dominique Leuenberger
cb8b1249c6 Accepting request 860790 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/860790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=16
2021-01-06 18:57:31 +00:00
fdd2469ec7 Accepting request 860769 from home:buschmann23:branches:devel:languages:python
- Skip build on python2 as it is not supported anymore
- Update to 1.24.1
  * support 'retry' for ops built from HTTP/gRPC responses
    (gh#googleapis/python-api-core#115)
- from version 1.24.0
  * add support for Python 3.9, drop support for Python 3.5
    (gh#googleapis/python-api-core#111)
- from version 1.23.0
  * api-core: pass retry from result() to done()
    (gh#googleapis/python-api-core#9)
  * map LRO errors to library exception types
    (gh#googleapis/python-api-core#15)

OBS-URL: https://build.opensuse.org/request/show/860769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=33
2021-01-06 17:05:05 +00:00
Dominique Leuenberger
5fee516d8b Accepting request 840186 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/840186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=15
2020-10-15 11:49:16 +00:00
Tomáš Chvátal
2d0d0d9981 Accepting request 840052 from home:jayvdb:branches:devel:languages:python
- Update URL to match PyPI: https://github.com/googleapis/python-api-core
- Update to v1.22.4
  * use version.py instead of pkg_resources.get_distribution
- from v1.22.3
  * require six >= 1.13.0

OBS-URL: https://build.opensuse.org/request/show/840052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=31
2020-10-08 07:25:57 +00:00
9dafc36d9b Accepting request 833478 from home:glaubitz:branches:devel:languages:python
- Update to 1.22.2
  * only add quota project id if supported (#75)
- from version 1.22.1
  * fix spelling errors for amount in retry (#69)
- from version 1.22.0
  * allow quota project to be passed to create_channel (#58)
  * _determine_timeout problem handling float type timeout (#64)
  * change the documentation for using 'six.moves.collections_abc.Mapping'
    instead of 'dict' in 'client_options.from_dict()' (#53)
- from version 1.21.0
  * allow credentials files to be passed for channel creation (#50)
- from version 1.20.1
  * **dependencies:** increase protobuf version (#49), closes (#48)
- from version 1.20.0
  * allow disabling response stream pre-fetch (#30), closes (#25)
- from version 1.19.1
  * bump up grpcio minimum version to 1.29.0 (#41)
- from version 1.19.0
  * **client_options:** add new client options 'quota_project_id', 'scopes',
    and 'credentials_file'
- from version 1.18.0
  * [CBT-6 helper] Exposing Retry._deadline as a property (#20)
  * add client_encryped_cert_source to ClientOptions (#31)
  * AsyncIO Integration [Part 2] (#28), closes (#23)
  * First batch of AIO integration (#26)
  * third batch of AsyncIO integration (#29)
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/833478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=30
2020-09-10 13:47:44 +00:00
Tomáš Chvátal
f493027cae - Fix dependency on google-auth to have proper version constrain
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=29
2020-08-28 12:21:22 +00:00
Dominique Leuenberger
bd4356c8e6 Accepting request 828031 from devel:languages:python
- Disable test test___call___and_execute_retry_hitting_deadline
  to make leap buildable

OBS-URL: https://build.opensuse.org/request/show/828031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=14
2020-08-20 20:30:53 +00:00
Tomáš Chvátal
395f2c5d08 - Disable test test___call___and_execute_retry_hitting_deadline
to make leap buildable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=27
2020-08-20 08:04:25 +00:00
Dominique Leuenberger
a99ca6b929 Accepting request 810893 from devel:languages:python
- update to 1.17.0:
  * api_core: add retry param into PollingFuture() and it’s inheritors (#9923) (14f1f34), closes #6197
  * api-core: add client_cert_source to ClientOptions (#17) (748c935)
  * consume part of StreamingResponseIterator to support failure while under a retry context (#10206) (2b103b6)

OBS-URL: https://build.opensuse.org/request/show/810893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=13
2020-06-09 22:45:21 +00:00
184a7fff1b - update to 1.17.0:
* api_core: add retry param into PollingFuture() and it’s inheritors (#9923) (14f1f34), closes #6197
  * api-core: add client_cert_source to ClientOptions (#17) (748c935)
  * consume part of StreamingResponseIterator to support failure while under a retry context (#10206) (2b103b6)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=25
2020-06-02 16:16:44 +00:00
Dominique Leuenberger
1b407600af Accepting request 795815 from devel:languages:python
- Fix condition for py2 only packages

OBS-URL: https://build.opensuse.org/request/show/795815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=12
2020-04-21 11:10:53 +00:00
Tomáš Chvátal
1b7231f539 - Fix condition for py2 only packages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=23
2020-04-20 11:57:08 +00:00
Dominique Leuenberger
0b040fe96c Accepting request 792337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/792337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=11
2020-04-10 21:52:53 +00:00
Tomáš Chvátal
a1dc15a1f9 Accepting request 792335 from home:mcalabkova:branches:devel:languages:python
- Update to 1.16.0
  * feat(storage): support optionsRequestedPolicyVersion
  * feat(api_core): support version 3 policy bindings
  * Make the last retry happen at deadline.
  * Add a repr method for ClientOptions.
  * Provide a raw_page field for page_iterator.Page.

OBS-URL: https://build.opensuse.org/request/show/792335
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=21
2020-04-08 07:43:05 +00:00
Dominique Leuenberger
3d5ac7fd91 Accepting request 722805 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/722805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=10
2019-08-13 11:25:02 +00:00
Tomáš Chvátal
60c084488a Accepting request 722804 from home:mcalabkova:branches:devel:languages:python
- Update to 1.14.2
  * Forward ‘timeout’ arg from ‘exception’ to _blocking_poll.
  * Update intersphinx mapping for requests. 
  * Firestore: Add should_terminate predicate for clean BiDi shutdown.
  * Update pins of ‘googleapis-common-protos.

OBS-URL: https://build.opensuse.org/request/show/722804
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=19
2019-08-12 14:26:43 +00:00
Dominique Leuenberger
2fb3409d86 Accepting request 713078 from devel:languages:python
- Update to 1.13.0:
  * Various fixes for new updated dependencies

OBS-URL: https://build.opensuse.org/request/show/713078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=9
2019-07-04 13:43:02 +00:00
Tomáš Chvátal
5cac53ec94 - Update to 1.13.0:
* Various fixes for new updated dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=17
2019-07-02 14:52:59 +00:00
Dominique Leuenberger
6f33ce80ae Accepting request 703515 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=8
2019-05-16 20:10:39 +00:00
Tomáš Chvátal
0515ac3fcd Accepting request 703508 from home:kwususe1:branches:devel:languages:python
- Update to 1.11.0:
  * Refactor ‘client_info’ support. (#7849)

OBS-URL: https://build.opensuse.org/request/show/703508
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=15
2019-05-16 18:14:18 +00:00
Dominique Leuenberger
4d071b5eec Accepting request 688734 from devel:languages:python
- Update to 1.8.2:
  * Remove classifier for Python 3.4 for end-of-life. (#7535)

OBS-URL: https://build.opensuse.org/request/show/688734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=7
2019-03-28 21:48:30 +00:00
Tomáš Chvátal
136d9a84d8 - Update to 1.8.2:
* Remove classifier for Python 3.4 for end-of-life. (#7535)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=13
2019-03-26 13:52:56 +00:00
Dominique Leuenberger
7c6cc27452 Accepting request 685062 from devel:languages:python
- Update to 1.8.1:
  * Protect the creation of a background thread in BackgroundConsumer and wait on it starting. (#7499)
  * Add support to unwrap Anys into wrapped pb2 objects. (#7430)
  * Add Operation.deserialize. (#7427)

OBS-URL: https://build.opensuse.org/request/show/685062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=6
2019-03-14 21:43:01 +00:00
Tomáš Chvátal
01ba8bcd3f - Update to 1.8.1:
* Protect the creation of a background thread in BackgroundConsumer and wait on it starting. (#7499)
  * Add support to unwrap Anys into wrapped pb2 objects. (#7430)
  * Add Operation.deserialize. (#7427)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=11
2019-03-14 16:23:34 +00:00
Stephan Kulow
d4a0b36385 Accepting request 676923 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=5
2019-02-28 20:41:00 +00:00
fcfa83383a Accepting request 676918 from home:jayvdb:django
- Activate tests
- Update from v1.4.0 to v1.7.0

OBS-URL: https://build.opensuse.org/request/show/676918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=9
2019-02-18 07:37:42 +00:00
Dominique Leuenberger
5f6539e91a Accepting request 659395 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=4
2018-12-19 12:53:39 +00:00
6b8caa1148 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=7
2018-12-04 13:30:03 +00:00
Yuchen Lin
183fbfc2e4 Accepting request 635277 from devel:languages:python
- update to version 1.4.0
  * Add support for gRPC connection management (available when using
    optional grpc_gcp dependency) (#5553) (#5904)
  * Update classifiers to drop Python 3.4 and add Python 3.7 (#5702)
  * Add protobuf_helpers.field_mask to calculate a field mask from
    two messages (#5320)

OBS-URL: https://build.opensuse.org/request/show/635277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=3
2018-09-13 10:12:17 +00:00
Thomas Bechtold
e4e0099bea - update to version 1.4.0
* Add support for gRPC connection management (available when using
    optional grpc_gcp dependency) (#5553) (#5904)
  * Update classifiers to drop Python 3.4 and add Python 3.7 (#5702)
  * Add protobuf_helpers.field_mask to calculate a field mask from
    two messages (#5320)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=5
2018-09-12 08:13:14 +00:00
Dominique Leuenberger
a3c2ed6222 Accepting request 612992 from devel:languages:python
- update to 1.2.0:
  * Add close method to grpc Channel (#5333)
  * Fix tests after grpcio update (#5333)
  * Add Test runs for Python 3.7 and remove 3.4 (#5295)
- use %license

OBS-URL: https://build.opensuse.org/request/show/612992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=2
2018-05-30 10:24:17 +00:00
Thomas Bechtold
52977d8be4 - update to 1.2.0:
* Add close method to grpc Channel (#5333)
  * Fix tests after grpcio update (#5333)
  * Add Test runs for Python 3.7 and remove 3.4 (#5295)
- use %license

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=3
2018-05-29 19:20:50 +00:00
Dominique Leuenberger
81215baeb0 Accepting request 612179 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/612179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=1
2018-05-29 08:43:40 +00:00
Thomas Bechtold
2903e5107f - Initial packaging (version 1.1.2)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-core?expand=0&rev=1
2018-05-25 06:00:40 +00:00
6 changed files with 75 additions and 305 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd
size 148925

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f
size 149057

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8b36f5456ab0dd99a1b693a40a31d1e7757beea380ad1b38faaf8941eae9d8a
size 163508

View File

@ -1,276 +0,0 @@
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/future/test_async_future.py google-api-core-2.19.0/tests/asyncio/future/test_async_future.py
--- google-api-core-2.19.0.orig/tests/asyncio/future/test_async_future.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/future/test_async_future.py 2024-05-16 16:03:34.320181259 +0200
@@ -14,7 +14,7 @@
import asyncio
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/gapic/test_method_async.py google-api-core-2.19.0/tests/asyncio/gapic/test_method_async.py
--- google-api-core-2.19.0.orig/tests/asyncio/gapic/test_method_async.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/gapic/test_method_async.py 2024-05-16 16:03:34.310181235 +0200
@@ -14,7 +14,7 @@
import datetime
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/operations_v1/test_operations_async_client.py google-api-core-2.19.0/tests/asyncio/operations_v1/test_operations_async_client.py
--- google-api-core-2.19.0.orig/tests/asyncio/operations_v1/test_operations_async_client.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/operations_v1/test_operations_async_client.py 2024-05-16 16:03:34.300181212 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_streaming_async.py google-api-core-2.19.0/tests/asyncio/retry/test_retry_streaming_async.py
--- google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_streaming_async.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/retry/test_retry_streaming_async.py 2024-05-16 16:03:34.296847871 +0200
@@ -16,7 +16,7 @@
import re
import asyncio
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_unary_async.py google-api-core-2.19.0/tests/asyncio/retry/test_retry_unary_async.py
--- google-api-core-2.19.0.orig/tests/asyncio/retry/test_retry_unary_async.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/retry/test_retry_unary_async.py 2024-05-16 16:03:34.293514530 +0200
@@ -15,7 +15,7 @@
import datetime
import re
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/test_grpc_helpers_async.py google-api-core-2.19.0/tests/asyncio/test_grpc_helpers_async.py
--- google-api-core-2.19.0.orig/tests/asyncio/test_grpc_helpers_async.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/test_grpc_helpers_async.py 2024-05-16 16:03:34.286847847 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
import pytest # noqa: I202
try:
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/test_operation_async.py google-api-core-2.19.0/tests/asyncio/test_operation_async.py
--- google-api-core-2.19.0.orig/tests/asyncio/test_operation_async.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/test_operation_async.py 2024-05-16 16:03:34.316847918 +0200
@@ -13,7 +13,7 @@
# limitations under the License.
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/asyncio/test_page_iterator_async.py google-api-core-2.19.0/tests/asyncio/test_page_iterator_async.py
--- google-api-core-2.19.0.orig/tests/asyncio/test_page_iterator_async.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/asyncio/test_page_iterator_async.py 2024-05-16 16:03:34.283514506 +0200
@@ -14,7 +14,7 @@
import inspect
-import mock
+from unittest import mock
import pytest
from google.api_core import page_iterator_async
diff -Nru google-api-core-2.19.0.orig/tests/unit/future/test__helpers.py google-api-core-2.19.0/tests/unit/future/test__helpers.py
--- google-api-core-2.19.0.orig/tests/unit/future/test__helpers.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/future/test__helpers.py 2024-05-16 16:03:34.433514858 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
from google.api_core.future import _helpers
diff -Nru google-api-core-2.19.0.orig/tests/unit/future/test_polling.py google-api-core-2.19.0/tests/unit/future/test_polling.py
--- google-api-core-2.19.0.orig/tests/unit/future/test_polling.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/future/test_polling.py 2024-05-16 16:03:34.433514858 +0200
@@ -16,7 +16,7 @@
import threading
import time
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions, retry
diff -Nru google-api-core-2.19.0.orig/tests/unit/gapic/test_method.py google-api-core-2.19.0/tests/unit/gapic/test_method.py
--- google-api-core-2.19.0.orig/tests/unit/gapic/test_method.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/gapic/test_method.py 2024-05-16 16:03:34.413514811 +0200
@@ -14,7 +14,7 @@
import datetime
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/unit/operations_v1/test_operations_rest_client.py google-api-core-2.19.0/tests/unit/operations_v1/test_operations_rest_client.py
--- google-api-core-2.19.0.orig/tests/unit/operations_v1/test_operations_rest_client.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/operations_v1/test_operations_rest_client.py 2024-05-16 16:03:34.393514764 +0200
@@ -15,7 +15,7 @@
#
import os
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/unit/retry/test_retry_base.py google-api-core-2.19.0/tests/unit/retry/test_retry_base.py
--- google-api-core-2.19.0.orig/tests/unit/retry/test_retry_base.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/retry/test_retry_base.py 2024-05-16 16:03:34.380181399 +0200
@@ -15,7 +15,7 @@
import itertools
import re
-import mock
+from unittest import mock
import pytest
import requests.exceptions
diff -Nru google-api-core-2.19.0.orig/tests/unit/retry/test_retry_streaming.py google-api-core-2.19.0/tests/unit/retry/test_retry_streaming.py
--- google-api-core-2.19.0.orig/tests/unit/retry/test_retry_streaming.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/retry/test_retry_streaming.py 2024-05-16 16:03:34.376848059 +0200
@@ -14,7 +14,7 @@
import re
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions
diff -Nru google-api-core-2.19.0.orig/tests/unit/retry/test_retry_unary.py google-api-core-2.19.0/tests/unit/retry/test_retry_unary.py
--- google-api-core-2.19.0.orig/tests/unit/retry/test_retry_unary.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/retry/test_retry_unary.py 2024-05-16 16:03:34.386848082 +0200
@@ -15,7 +15,7 @@
import datetime
import re
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_bidi.py google-api-core-2.19.0/tests/unit/test_bidi.py
--- google-api-core-2.19.0.orig/tests/unit/test_bidi.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_bidi.py 2024-05-16 16:03:34.326847941 +0200
@@ -17,7 +17,7 @@
import queue
import threading
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_exceptions.py google-api-core-2.19.0/tests/unit/test_exceptions.py
--- google-api-core-2.19.0.orig/tests/unit/test_exceptions.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_exceptions.py 2024-05-16 16:03:34.403514788 +0200
@@ -15,7 +15,7 @@
import http.client
import json
-import mock
+from unittest import mock
import pytest
import requests
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_extended_operation.py google-api-core-2.19.0/tests/unit/test_extended_operation.py
--- google-api-core-2.19.0.orig/tests/unit/test_extended_operation.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_extended_operation.py 2024-05-16 16:03:34.353514670 +0200
@@ -16,7 +16,7 @@
import enum
import typing
-import mock
+from unittest import mock
import pytest
from google.api_core import exceptions
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_grpc_helpers.py google-api-core-2.19.0/tests/unit/test_grpc_helpers.py
--- google-api-core-2.19.0.orig/tests/unit/test_grpc_helpers.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_grpc_helpers.py 2024-05-16 16:03:34.373514717 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_operation.py google-api-core-2.19.0/tests/unit/test_operation.py
--- google-api-core-2.19.0.orig/tests/unit/test_operation.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_operation.py 2024-05-16 16:03:34.340181306 +0200
@@ -13,7 +13,7 @@
# limitations under the License.
-import mock
+from unittest import mock
import pytest
try:
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_page_iterator.py google-api-core-2.19.0/tests/unit/test_page_iterator.py
--- google-api-core-2.19.0.orig/tests/unit/test_page_iterator.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_page_iterator.py 2024-05-16 16:03:34.333514624 +0200
@@ -15,7 +15,7 @@
import math
import types
-import mock
+from unittest import mock
import pytest
from google.api_core import page_iterator
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_path_template.py google-api-core-2.19.0/tests/unit/test_path_template.py
--- google-api-core-2.19.0.orig/tests/unit/test_path_template.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_path_template.py 2024-05-16 16:03:34.333514624 +0200
@@ -14,7 +14,7 @@
from __future__ import unicode_literals
-import mock
+from unittest import mock
import pytest
from google.api import auth_pb2
diff -Nru google-api-core-2.19.0.orig/tests/unit/test_timeout.py google-api-core-2.19.0/tests/unit/test_timeout.py
--- google-api-core-2.19.0.orig/tests/unit/test_timeout.py 2024-04-30 19:00:19.000000000 +0200
+++ google-api-core-2.19.0/tests/unit/test_timeout.py 2024-05-16 16:03:34.426848175 +0200
@@ -15,7 +15,7 @@
import datetime
import itertools
-import mock
+from unittest import mock
from google.api_core import timeout as timeouts

View File

@ -1,3 +1,65 @@
-------------------------------------------------------------------
Mon Feb 3 09:50:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.24.1
* Memory leak in bidi classes (#770)
* Resolve the issue where rpc timeout of 0 is used when timeout expires (#776)
* Add warnings regarding consuming externally sourced credentials (#783)
-------------------------------------------------------------------
Mon Jan 6 15:21:38 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.24.0
* Add automatic logging config to support debug logging (#754)
* Update recognized logging fields (#766)
-------------------------------------------------------------------
Wed Dec 4 14:22:59 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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
-------------------------------------------------------------------
Tue Oct 29 04:42:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Resurrect python-google-api-core-no-mock.patch and refresh it, it is
still required until 2.22.0.
-------------------------------------------------------------------
Mon Oct 28 12:59:16 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.21.0
* Add support for asynchronous long running operations (#724)
- Drop python-google-api-core-no-mock.patch, merged upstream
-------------------------------------------------------------------
Mon Oct 7 11:43:06 UTC 2024 - Adrian Schröter <adrian@suse.de>
- fix requirements
* Accepts new protobuf version 5.28 now.
-------------------------------------------------------------------
Wed Oct 2 04:03:30 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Remove unneeded BuildRequires.
- Refreshed patches:
* python-google-api-core-no-mock.patch
-------------------------------------------------------------------
Thu Sep 26 13:32:08 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.20.0
* Add async unsupported paramater exception (#694)
* Add support for asynchronous rest streaming (#686)
* Add support for creating exceptions from an asynchronous response (#688)
-------------------------------------------------------------------
Tue Sep 3 11:00:13 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-google-api-core
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,23 +26,14 @@
%endif
%{?sle15_python_module_pythons}
Name: python-google-api-core
Version: 2.19.2
Version: 2.24.1
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
# https://github.com/googleapis/python-api-core/issues/377
Patch0: python-google-api-core-no-mock.patch
BuildRequires: %{python_module google-auth >= 2.14.1}
BuildRequires: %{python_module googleapis-common-protos >= 1.53.0}
BuildRequires: %{python_module grpcio >= 1.33.2}
BuildRequires: %{python_module grpcio-status >= 1.33.2}
BuildRequires: %{python_module googleapis-common-protos >= 1.56.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module proto-plus >= 1.22.3 with %python-proto-plus < 2.0.0dev0}
BuildRequires: %{python_module protobuf >= 3.19.5 with %python-protobuf < 5.0.0.dev0}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests >= 2.18.0}
BuildRequires: %{python_module setuptools >= 40.3.0}
BuildRequires: %{python_module wheel}
%if 0%{?sle_version} >= 150400
@ -50,7 +41,7 @@ Obsoletes: python3-google-api-core < %{version}
%endif
# START TESTING SECTION
%if %{with test}
BuildRequires: %{python_module google-api-core >= %{version}}
BuildRequires: %{python_module google-api-core = %{version}}
BuildRequires: %{python_module proto-plus}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
@ -59,14 +50,12 @@ BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth >= 2.14.1
Requires: python-googleapis-common-protos >= 1.53.0
Requires: python-grpcio >= 1.33.2
Requires: python-grpcio-status >= 1.33.2
Requires: python-pytz
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-setuptools >= 40.3.0
Requires: (python-proto-plus >= 1.22.3 with python-proto-plus < 2.0.0dev0)
Requires: (python-protobuf >= 3.19.5 with python-protobuf < 5.0.0.dev0)
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
@ -90,14 +79,12 @@ Core Library for Google Client Libraries.
%pytest
%endif
%clean
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/google/api_core
%{python_sitelib}/google_api_core-%{version}*-info
%{python_sitelib}/google_api_core-%{version}.dist-info
%endif
%changelog