Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 7ab0dea

Browse files
Merge branch 'googleapis:main' into master
2 parents f7931b4 + ff229a5 commit 7ab0dea

16 files changed

Lines changed: 78 additions & 17 deletions

File tree

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:a8a80fc6456e433df53fc2a0d72ca0345db0ddefb409f1b75b118dfd1babd952
17-
# created: 2024-03-15T16:25:47.905264637Z
16+
digest: sha256:5a4c19d17e597b92d786e569be101e636c9c2817731f80a5adec56b2aa8fe070
17+
# created: 2024-04-12T11:35:58.922854369Z

.github/auto-label.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@
1313
# limitations under the License.
1414
requestsize:
1515
enabled: true
16+
17+
path:
18+
pullrequest: true
19+
paths:
20+
samples: "samples"

.github/blunderbuss.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
# Configuration for the Blunderbuss GitHub app. For more info see
2-
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss
1+
# Blunderbuss config
2+
#
3+
# This file controls who is assigned for pull requests and issues.
4+
# Note: This file is autogenerated. To make changes to the assignee
5+
# team, please update `codeowner_team` in `.repo-metadata.json`.
36
assign_issues:
47
- mukund-ananthu
8+
9+
assign_issues_by:
10+
- labels:
11+
- "samples"
12+
to:
13+
- googleapis/python-samples-reviewers
14+
- mukund-ananthu
15+
516
assign_prs:
617
- mukund-ananthu

.kokoro/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ googleapis-common-protos==1.61.0 \
252252
--hash=sha256:22f1915393bb3245343f6efe87f6fe868532efc12aa26b391b15132e1279f1c0 \
253253
--hash=sha256:8a64866a97f6304a7179873a465d6eee97b7a24ec6cfd78e0f575e96b821240b
254254
# via google-api-core
255-
idna==3.4 \
256-
--hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \
257-
--hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2
255+
idna==3.7 \
256+
--hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \
257+
--hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0
258258
# via requests
259259
importlib-metadata==6.8.0 \
260260
--hash=sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb \

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
".": "2.21.0"
2+
".": "2.21.1"
33
}
44

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
[1]: https://pypi.org/project/google-cloud-pubsub/#history
66

77

8+
## [2.21.1](https://github.com/googleapis/python-pubsub/compare/v2.21.0...v2.21.1) (2024-04-04)
9+
10+
11+
### Bug Fixes
12+
13+
* Set timeout to infinite for publishing with ordering keys enabled ([#1134](https://github.com/googleapis/python-pubsub/issues/1134)) ([67daf3c](https://github.com/googleapis/python-pubsub/commit/67daf3c64239d22eabe59c3df214057a4e59a39e))
14+
815
## [2.21.0](https://github.com/googleapis/python-pubsub/compare/v2.20.3...v2.21.0) (2024-03-26)
916

1017

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ For a list of all ``google-cloud-pubsub`` releases:
4141

4242
changelog
4343

44+
45+
.. toctree::
46+
:hidden:
47+
48+
summary_overview.md

docs/summary_overview.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
This is a templated file. Adding content to this file may result in it being
3+
reverted. Instead, if you want to place additional content, create an
4+
"overview_content.md" file in `docs/` directory. The Sphinx tool will
5+
pick up on the content and merge the content.
6+
]: #
7+
8+
# Google Cloud Pub/Sub API
9+
10+
Overview of the APIs available for Google Cloud Pub/Sub API.
11+
12+
## All entries
13+
14+
Classes, methods and properties & attributes for
15+
Google Cloud Pub/Sub API.
16+
17+
[classes](https://cloud.google.com/python/docs/reference/pubsub/latest/summary_class.html)
18+
19+
[methods](https://cloud.google.com/python/docs/reference/pubsub/latest/summary_method.html)
20+
21+
[properties and
22+
attributes](https://cloud.google.com/python/docs/reference/pubsub/latest/summary_property.html)

google/cloud/pubsub_v1/publisher/client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,13 @@ def on_publish_done(future):
399399
transport = self._transport
400400
base_retry = transport._wrapped_methods[transport.publish]._retry
401401
retry = base_retry.with_deadline(2.0**32)
402+
# timeout needs to be overridden and set to infinite in
403+
# addition to the retry deadline since both determine
404+
# the duration for which retries are attempted.
405+
timeout = 2.0**32
402406
elif retry is not None:
403407
retry = retry.with_deadline(2.0**32)
408+
timeout = 2.0**32
404409

405410
# Delegate the publishing to the sequencer.
406411
sequencer = self._get_or_create_sequencer(topic, ordering_key)

google/pubsub/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.21.0" # {x-release-please-version}
16+
__version__ = "2.21.1" # {x-release-please-version}

0 commit comments

Comments
 (0)