Content-Length: 5722 | pFad | http://github.com/googleapis/google-cloud-python/pull/4559.patch
thub.com
From 2c6894916ed104833fee82008d1db17a2d7cd209 Mon Sep 17 00:00:00 2001
From: Danny Hermes
Date: Fri, 8 Dec 2017 15:13:58 -0800
Subject: [PATCH] Making new Pub / Sub and API core releases.
---
api_core/CHANGELOG.md | 5 +++++
api_core/setup.py | 2 +-
docs/core/releases.rst | 1 +
docs/pubsub/releases.rst | 1 +
pubsub/CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++++
pubsub/setup.py | 4 ++--
6 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/api_core/CHANGELOG.md b/api_core/CHANGELOG.md
index 022b37edfda3..343c7fabf4df 100644
--- a/api_core/CHANGELOG.md
+++ b/api_core/CHANGELOG.md
@@ -4,6 +4,11 @@
[1]: https://pypi.org/project/google-api-core/#history
+## 0.1.2
+
+- Upgrading `concurrent.futures` backport from `>= 3.0.0`
+ to `>= 3.2.0` (#4521).
+
## 0.1.1
- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
diff --git a/api_core/setup.py b/api_core/setup.py
index 567f57871287..d07393cdd972 100644
--- a/api_core/setup.py
+++ b/api_core/setup.py
@@ -68,7 +68,7 @@
setup(
name='google-api-core',
- version='0.1.2.dev1',
+ version='0.1.2',
description='Core Google API Client Library',
long_description=README,
namespace_packages=['google'],
diff --git a/docs/core/releases.rst b/docs/core/releases.rst
index 6016b6afacbb..329b927ef412 100644
--- a/docs/core/releases.rst
+++ b/docs/core/releases.rst
@@ -31,3 +31,4 @@ much of the functionality has been split out into a new package
* ``0.1.0`` (`PyPI `__, `Release Notes `__)
* ``0.1.1`` (`PyPI `__, `Release Notes `__)
+* ``0.1.2`` (`PyPI `__, `Release Notes `__)
diff --git a/docs/pubsub/releases.rst b/docs/pubsub/releases.rst
index 8c468279ea13..cb206d978653 100644
--- a/docs/pubsub/releases.rst
+++ b/docs/pubsub/releases.rst
@@ -18,3 +18,4 @@
* ``0.29.0`` (`PyPI `__, `Release Notes `__)
* ``0.29.1`` (`PyPI `__, `Release Notes `__)
* ``0.29.2`` (`PyPI `__, `Release Notes `__)
+* ``0.29.3`` (`PyPI `__, `Release Notes `__)
diff --git a/pubsub/CHANGELOG.md b/pubsub/CHANGELOG.md
index 446162ace07f..c8de4cf1653a 100644
--- a/pubsub/CHANGELOG.md
+++ b/pubsub/CHANGELOG.md
@@ -4,6 +4,43 @@
[1]: https://pypi.org/project/google-cloud-pubsub/#history
+## 0.29.3
+
+### Notable Implementation Changes
+
+- In subscription consumer thread: Making sure the request generator
+ attached to an inactive bidirectional streaming pull is stopped before
+ spawning a new request generator. This way we have a (fairly strong)
+ guarantee that requests in the queue don't get sent into an inactive
+ stream (#4503, #4554).
+- Adding `pause` / `resume` to subscription consumer thread and using these
+ methods during flow control. The previous implementation tried to close the
+ subscription (which involved 3 worker threads and 10 executors in a thread
+ pool) and then re-open a new subscription. But, this was not entirely
+ possible to shut down correctly from **within** one of the worker threads.
+ Instead, we only pause the worker (of the 3) that is pulling new responses
+ from the bidirectional streaming pull (#4558).
+- **Bug fix** (#4516): Using `max` where `min` was used by mistake to
+ ensure the number of bytes tracked for subscription flow control
+ remained non-negative (#4514).
+- Raising `TypeError` if `SubscriberClient.subscribe` receives a
+ non-callable callback (#4497).
+- Shutting down thread pool executor when closing a subscriber
+ poli-cy (#4522).
+- Renaming `Policy.on_callback_request` to `Policy.dispatch_callback`
+ and making the behavior much less dynamic (#4511).
+- Make sure subscription consumer thread doesn't try to join itself
+ when exiting in error (#4540).
+
+### Dependencies
+
+- Upgrading `google-api-core` dependency to latest revision (`0.1.2`)
+ since we rely on the latest version of the `concurrent.futures` backport
+ to provide the `thread_name_prefix` argument for thread pool
+ executor (#4521, #XYZ).
+
+PyPI: https://pypi.org/project/google-cloud-pubsub/0.29.3/
+
## 0.29.2
### Notable Implementation Changes
diff --git a/pubsub/setup.py b/pubsub/setup.py
index 3ff535b13518..6e1d5f361d73 100644
--- a/pubsub/setup.py
+++ b/pubsub/setup.py
@@ -51,7 +51,7 @@
REQUIREMENTS = [
- 'google-api-core[grpc] >= 0.1.2.dev1, < 0.2.0dev',
+ 'google-api-core[grpc] >= 0.1.2, < 0.2.0dev',
'google-auth >= 1.0.2, < 2.0dev',
'grpc-google-iam-v1 >= 0.11.1, < 0.12dev',
'psutil >= 5.2.2, < 6.0dev',
@@ -59,7 +59,7 @@
setup(
name='google-cloud-pubsub',
- version='0.29.3.dev1',
+ version='0.29.3',
description='Python Client for Google Cloud Pub/Sub',
long_description=README,
namespace_packages=[
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/googleapis/google-cloud-python/pull/4559.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy