diff options
author | adam <adam@pkgsrc.org> | 2020-08-07 06:45:57 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-08-07 06:45:57 +0000 |
commit | 4d7c31bf7c0a7861b7303d8d36fe6969ca2e57f7 (patch) | |
tree | a9ae6b0e3b514045ae6f6e21532d3793f57c96ce /net/py-grpcio | |
parent | eee97d3346885b8f94a92b81986d47ba42eff4c2 (diff) | |
download | pkgsrc-4d7c31bf7c0a7861b7303d8d36fe6969ca2e57f7.tar.gz |
grpc: updated to 1.31.0
Release v1.31.0
Core
The following new xDS functionality is added in this release:
Requests matching based on path (prefix, full path and safe regex) and headers.
Requests routing to multiple clusters based on weights.
The features supported in a given release are documented here.
Other changes:
Remove MAX_EPOLL_EVENTS_HANDLED_EACH_POLL_CALL to ensure timely processing of events.
Include the target name in top-level DNS error messages.
Remove xds-experimental URI scheme.
fix memory leak of grpc_resource_user_quota.
Store ref to the ExternalConnectivityWatcher in external_watchers_ map.
Update grpclb configuration with field "service_name".
Fix possible deadlock in RemoveExternalConnectivityWatcher.
Enable TLS 1.3 in the C-core and all wrapped languages.
Add message-size check before message decompression with ordering change.
Fix race condition caused by simultaneous updates on SSL server handshaker.
Add missing reset for ping clocks to avoid mistakenly sending GOAWAY frames due to 'too_many_pings'.
C++
Simplify makefile: Get rid of "install" rules with pure make, recommend cmake and bazel instead.
Replaced grpc::string with std::string.
Fix wrong version in gRPCConfigVersion.cmake and grpc++*.pc.
Python
[Aio] Support tuple and aio.Metadata interaction.
[Aio] Allows poller to bind to ephemeral loops in multiple threads.
[Aio] Hide init_grpc_aio and guard async API outside of AsyncIO context.
[Aio] Implement methods to access auth context and peer info.
Add protobuf as an "extras" dependency to grpcio package.
[Aio] Use Metadata type.
Avoid attribute error in del of _ChannelCallState.
Default wait_for_ready to True in simple stubs.
Propagate contextvars to auxiliary threads.
Simplify channel credentials in simple stubs.
Diffstat (limited to 'net/py-grpcio')
-rw-r--r-- | net/py-grpcio/Makefile | 4 | ||||
-rw-r--r-- | net/py-grpcio/distinfo | 12 | ||||
-rw-r--r-- | net/py-grpcio/patches/patch-setup.py | 14 |
3 files changed, 15 insertions, 15 deletions
diff --git a/net/py-grpcio/Makefile b/net/py-grpcio/Makefile index 9100c058270..a0b797c54a8 100644 --- a/net/py-grpcio/Makefile +++ b/net/py-grpcio/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.19 2020/07/09 07:23:44 adam Exp $ +# $NetBSD: Makefile,v 1.20 2020/08/07 06:45:57 adam Exp $ -DISTNAME= grpcio-1.30.0 +DISTNAME= grpcio-1.31.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/} diff --git a/net/py-grpcio/distinfo b/net/py-grpcio/distinfo index af7cca10ef8..3927bd6589f 100644 --- a/net/py-grpcio/distinfo +++ b/net/py-grpcio/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.19 2020/07/09 07:23:44 adam Exp $ +$NetBSD: distinfo,v 1.20 2020/08/07 06:45:57 adam Exp $ -SHA1 (grpcio-1.30.0.tar.gz) = 64a6541ef998c77fa4dbc60b7f23bf067e6c36eb -RMD160 (grpcio-1.30.0.tar.gz) = 994432167572a3779d84b29cc4e49b9b1288640a -SHA512 (grpcio-1.30.0.tar.gz) = 5060198c5765ff3f2417453a0cad58dfabed676166265ce3d580976cdb5e9d00e64648626e998cb66f96ba477b85cacd8610aa8598e65ac8758ff9a09083db5b -Size (grpcio-1.30.0.tar.gz) = 19674635 bytes -SHA1 (patch-setup.py) = 60a9d7acb285af64289fd4fe5f4323ed890d72d2 +SHA1 (grpcio-1.31.0.tar.gz) = a206c8a980a21f24df91b6cf229a9a33920e5ebf +RMD160 (grpcio-1.31.0.tar.gz) = c99223d30d704ad51f383ee400759138cfffe1a8 +SHA512 (grpcio-1.31.0.tar.gz) = 7949a3037d71e1910f56f6950c17a6732adc7246fca7c31e42d482ca34360de3ea0dc1e9c57ac205dd98b49903e6ecc17f78223a755052f2e6103940d2c00fe7 +Size (grpcio-1.31.0.tar.gz) = 20039534 bytes +SHA1 (patch-setup.py) = dbdd4270e2cb497032a2a1f54d606d72164c816d SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a diff --git a/net/py-grpcio/patches/patch-setup.py b/net/py-grpcio/patches/patch-setup.py index fd88515c26d..aaab6231c64 100644 --- a/net/py-grpcio/patches/patch-setup.py +++ b/net/py-grpcio/patches/patch-setup.py @@ -1,11 +1,11 @@ -$NetBSD: patch-setup.py,v 1.7 2020/07/09 07:23:44 adam Exp $ +$NetBSD: patch-setup.py,v 1.8 2020/08/07 06:45:58 adam Exp $ Fix libatomic detection. Use dependencies in pkgsrc. ---- setup.py.orig 2020-06-22 21:42:24.000000000 +0000 +--- setup.py.orig 2020-08-05 07:00:04.000000000 +0000 +++ setup.py -@@ -150,7 +150,7 @@ def check_linker_need_libatomic(): +@@ -151,7 +151,7 @@ def check_linker_need_libatomic(): """Test if linker on system needs libatomic.""" code_test = (b'#include <atomic>\n' + b'int main() { return std::atomic<int64_t>{}; }') @@ -14,8 +14,8 @@ Use dependencies in pkgsrc. stdin=PIPE, stdout=PIPE, stderr=PIPE) -@@ -235,26 +235,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON - SSL_INCLUDE + UPB_INCLUDE + +@@ -236,26 +236,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON + RE2_INCLUDE + SSL_INCLUDE + UPB_INCLUDE + UPB_GRPC_GENERATED_INCLUDE + ZLIB_INCLUDE) -EXTENSION_LIBRARIES = () @@ -42,7 +42,7 @@ Use dependencies in pkgsrc. DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600)) if not DISABLE_LIBC_COMPATIBILITY: -@@ -311,7 +292,7 @@ def cython_extensions_and_necessity(): +@@ -312,7 +293,7 @@ def cython_extensions_and_necessity(): ] config = os.environ.get('CONFIG', 'opt') prefix = 'libs/' + config + '/' @@ -51,7 +51,7 @@ Use dependencies in pkgsrc. extra_objects = [ prefix + 'libares.a', prefix + 'libboringssl.a', prefix + 'libgpr.a', prefix + 'libgrpc.a' -@@ -323,7 +304,7 @@ def cython_extensions_and_necessity(): +@@ -324,7 +305,7 @@ def cython_extensions_and_necessity(): extensions = [ _extension.Extension( name=module_name, |