core_version = "13.0.0"
-version = "1.33.1"
+version = "1.33.2"
GPR_PUBLIC_HDRS = [
"include/grpc/support/alloc.h",
cmake_minimum_required(VERSION 3.5.1)
set(PACKAGE_NAME "grpc")
-set(PACKAGE_VERSION "1.33.1")
+set(PACKAGE_VERSION "1.33.2")
set(gRPC_CORE_VERSION "13.0.0")
set(gRPC_CORE_SOVERSION "13")
-set(gRPC_CPP_VERSION "1.33.1")
+set(gRPC_CPP_VERSION "1.33.2")
set(gRPC_CPP_SOVERSION "1")
-set(gRPC_CSHARP_VERSION "2.33.1")
+set(gRPC_CSHARP_VERSION "2.33.2")
set(gRPC_CSHARP_SOVERSION "2")
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}")
endif
CORE_VERSION = 13.0.0
-CPP_VERSION = 1.33.1
-CSHARP_VERSION = 2.33.1
+CPP_VERSION = 1.33.2
+CSHARP_VERSION = 2.33.2
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
core_version: 13.0.0
csharp_major_version: 2
g_stands_for: geeky
- version: 1.33.1
+ version: 1.33.2
targets:
- name: check_epollexclusive
build: tool
Pod::Spec.new do |s|
s.name = 'gRPC-C++'
# TODO (mxyan): use version that match gRPC version when pod is stabilized
- version = '1.33.1'
+ version = '1.33.2'
s.version = version
s.summary = 'gRPC C++ library'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC-Core'
- version = '1.33.1'
+ version = '1.33.2'
s.version = version
s.summary = 'Core cross-platform gRPC library, written in C'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC-ProtoRPC'
- version = '1.33.1'
+ version = '1.33.2'
s.version = version
s.summary = 'RPC library for Protocol Buffers, based on gRPC'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC-RxLibrary'
- version = '1.33.1'
+ version = '1.33.2'
s.version = version
s.summary = 'Reactive Extensions library for iOS/OSX.'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC'
- version = '1.33.1'
+ version = '1.33.2'
s.version = version
s.summary = 'gRPC client library for iOS/OSX'
s.homepage = 'https://grpc.io'
<date>2019-09-24</date>
<time>16:06:07</time>
<version>
- <release>1.33.1</release>
- <api>1.33.1</api>
+ <release>1.33.2</release>
+ <api>1.33.2</api>
</version>
<stability>
<release>stable</release>
</stability>
<license>Apache 2.0</license>
<notes>
-- gRPC Core 1.33.1 update
+- gRPC Core 1.33.2 update
</notes>
<contents>
<dir baseinstalldir="/" name="/">
#include <grpcpp/grpcpp.h>
namespace grpc {
-std::string Version() { return "1.33.1"; }
+std::string Version() { return "1.33.2"; }
} // namespace grpc
/// <summary>
/// Current <c>AssemblyFileVersion</c> of gRPC C# assemblies
/// </summary>
- public const string CurrentAssemblyFileVersion = "2.33.1.0";
+ public const string CurrentAssemblyFileVersion = "2.33.2.0";
/// <summary>
/// Current version of gRPC C#
/// </summary>
- public const string CurrentVersion = "2.33.1";
+ public const string CurrentVersion = "2.33.2";
}
}
<!-- This file is generated -->
<Project>
<PropertyGroup>
- <GrpcCsharpVersion>2.33.1</GrpcCsharpVersion>
+ <GrpcCsharpVersion>2.33.2</GrpcCsharpVersion>
<GoogleProtobufVersion>3.13.0</GoogleProtobufVersion>
</PropertyGroup>
</Project>
@rem limitations under the License.
@rem Current package versions
-set VERSION=2.33.1
+set VERSION=2.33.2
@rem Adjust the location of nuget.exe
set NUGET=nuget
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler-gRPCCppPlugin'
- v = '1.33.1'
+ v = '1.33.2'
s.version = v
s.summary = 'The gRPC ProtoC plugin generates C++ files from .proto services.'
s.description = <<-DESC
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler-gRPCPlugin'
- v = '1.33.1'
+ v = '1.33.2'
s.version = v
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
s.description = <<-DESC
// instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`.
-#define GRPC_OBJC_VERSION_STRING @"1.33.1"
+#define GRPC_OBJC_VERSION_STRING @"1.33.2"
// instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`.
-#define GRPC_OBJC_VERSION_STRING @"1.33.1"
+#define GRPC_OBJC_VERSION_STRING @"1.33.2"
#define GRPC_C_VERSION_STRING @"13.0.0"
"name": "grpc/grpc-dev",
"description": "gRPC library for PHP - for Development use only",
"license": "Apache-2.0",
- "version": "1.33.1",
+ "version": "1.33.2",
"require": {
"php": ">=5.5.0",
"google/protobuf": "^v3.3.0"
#ifndef VERSION_H
#define VERSION_H
-#define PHP_GRPC_VERSION "1.33.1"
+#define PHP_GRPC_VERSION "1.33.2"
#endif /* VERSION_H */
self._state.condition.notify_all()
-class _SingleThreadedRendezvous(_Rendezvous, grpc.Call): # pylint: disable=too-many-ancestors
+class _SingleThreadedRendezvous(_Rendezvous, grpc.Call, grpc.Future): # pylint: disable=too-many-ancestors
"""An RPC iterator operating entirely on a single thread.
The __next__ method of _SingleThreadedRendezvous does not depend on the
existence of any other thread, including the "channel spin thread".
However, this means that its interface is entirely synchronous. So this
- class cannot fulfill the grpc.Future interface.
+ class cannot completely fulfill the grpc.Future interface. The result,
+ exception, and traceback methods will never block and will instead raise
+ an exception if calling the method would result in blocking.
+
+ This means that these methods are safe to call from add_done_callback
+ handlers.
"""
+ def _is_complete(self):
+ return self._state.code is not None
+
+ def cancelled(self):
+ with self._state.condition:
+ return self._state.cancelled
+
+ def running(self):
+ with self._state.condition:
+ return self._state.code is None
+
+ def done(self):
+ with self._state.condition:
+ return self._state.code is not None
+
+ def result(self, timeout=None):
+ """Returns the result of the computation or raises its exception.
+
+ This method will never block. Instead, it will raise an exception
+ if calling this method would otherwise result in blocking.
+
+ Since this method will never block, any `timeout` argument passed will
+ be ignored.
+ """
+ del timeout
+ with self._state.condition:
+ if not self._is_complete():
+ raise grpc.experimental.UsageError(
+ "_SingleThreadedRendezvous only supports result() when the RPC is complete."
+ )
+ if self._state.code is grpc.StatusCode.OK:
+ return self._state.response
+ elif self._state.cancelled:
+ raise grpc.FutureCancelledError()
+ else:
+ raise self
+
+ def exception(self, timeout=None):
+ """Return the exception raised by the computation.
+
+ This method will never block. Instead, it will raise an exception
+ if calling this method would otherwise result in blocking.
+
+ Since this method will never block, any `timeout` argument passed will
+ be ignored.
+ """
+ del timeout
+ with self._state.condition:
+ if not self._is_complete():
+ raise grpc.experimental.UsageError(
+ "_SingleThreadedRendezvous only supports exception() when the RPC is complete."
+ )
+ if self._state.code is grpc.StatusCode.OK:
+ return None
+ elif self._state.cancelled:
+ raise grpc.FutureCancelledError()
+ else:
+ return self
+
+ def traceback(self, timeout=None):
+ """Access the traceback of the exception raised by the computation.
+
+ This method will never block. Instead, it will raise an exception
+ if calling this method would otherwise result in blocking.
+
+ Since this method will never block, any `timeout` argument passed will
+ be ignored.
+ """
+ del timeout
+ with self._state.condition:
+ if not self._is_complete():
+ raise grpc.experimental.UsageError(
+ "_SingleThreadedRendezvous only supports traceback() when the RPC is complete."
+ )
+ if self._state.code is grpc.StatusCode.OK:
+ return None
+ elif self._state.cancelled:
+ raise grpc.FutureCancelledError()
+ else:
+ try:
+ raise self
+ except grpc.RpcError:
+ return sys.exc_info()[2]
+
+ def add_done_callback(self, fn):
+ with self._state.condition:
+ if self._state.code is None:
+ self._state.callbacks.append(functools.partial(fn, self))
+ return
+
+ fn(self)
+
def initial_metadata(self):
"""See grpc.Call.initial_metadata"""
with self._state.condition:
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc/_grpcio_metadata.py.template`!!!
-__version__ = """1.33.1"""
+__version__ = """1.33.2"""
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_channelz/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_reflection/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_status/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_testing/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
's1:intercept_service', 's2:intercept_service'
])
- # NOTE: The single-threaded unary-stream path does not support the
- # grpc.Future interface, so this test does not apply.
- @unittest.skipIf(os.getenv("GRPC_SINGLE_THREADED_UNARY_STREAM"),
- "Not supported.")
def testInterceptedUnaryRequestStreamResponseWithError(self):
request = _EXCEPTION_REQUEST
# GRPC contains the General RPC module.
module GRPC
- VERSION = '1.33.1'
+ VERSION = '1.33.2'
end
module GRPC
module Tools
- VERSION = '1.33.1'
+ VERSION = '1.33.2'
end
end
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
-VERSION = '1.33.1'
+VERSION = '1.33.2'
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.33.1
+PROJECT_NUMBER = 1.33.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.33.1
+PROJECT_NUMBER = 1.33.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.33.1
+PROJECT_NUMBER = 1.33.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.33.1
+PROJECT_NUMBER = 1.33.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.33.1
+PROJECT_NUMBER = 1.33.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a