pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net grpc py-grpcio py-grpcio-testing py-grpcio-tools: ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b9af9bfd92d
branches: trunk
changeset: 450421:7b9af9bfd92d
user: adam <adam%pkgsrc.org@localhost>
date: Fri Apr 16 09:20:00 2021 +0000
description:
grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.37.0
Release v1.37.0
This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core
Bump up minimum supported clang to 4.0.
Use URI form of address for channelz listen node.
Implementation CSDS (xDS Config Dump).
Don't assume that c-ares won't retry failed writes in grpc_core::GrpcPolledFdWindows::SendVUDP.
Fix an infinite read loop with SRV record resolution on windows.
xDS status notifier.
Remove CAS loops in global subchannel pool and simplify subchannel refcounting.
Add missing security field to channelz Socket.
Disable check_call_host when server_verification_option is not GRPC_TLS_SERVER_VERIFICATION.
C++
Remove fault injection environmental variable guard.
Implement C++ Admin Interface API.
cmake: Reflect minor version change in SONAME for C++ and C#.
xDS Client-Side Fault Injection.
Python
use boringssl asm optimizations in aarch64 wheel source build.
Clarify Guarantees about grpc.Future Interface.
Use crosscompilation to build python armv7 wheels.
[Aio] Add time_remaining method to ServicerContext.
Standardize all environment variable boolean configuration in python's setup.py.
Crosscompile python aarch64 wheels with dockcross.
Fix Signal Safety Issue.
diffstat:
net/grpc/Makefile | 4 ++--
net/grpc/PLIST | 17 +++++++++--------
net/grpc/distinfo | 10 +++++-----
net/py-grpcio-testing/Makefile | 4 ++--
net/py-grpcio-testing/distinfo | 10 +++++-----
net/py-grpcio-tools/Makefile | 4 ++--
net/py-grpcio-tools/distinfo | 12 ++++++------
net/py-grpcio-tools/patches/patch-setup.py | 18 +++++++++---------
net/py-grpcio/Makefile | 4 ++--
net/py-grpcio/distinfo | 12 ++++++------
net/py-grpcio/patches/patch-setup.py | 14 +++++++-------
11 files changed, 55 insertions(+), 54 deletions(-)
diffs (270 lines):
diff -r e02812e01436 -r 7b9af9bfd92d net/grpc/Makefile
--- a/net/grpc/Makefile Fri Apr 16 08:53:17 2021 +0000
+++ b/net/grpc/Makefile Fri Apr 16 09:20:00 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2021/03/19 07:04:51 adam Exp $
+# $NetBSD: Makefile,v 1.41 2021/04/16 09:20:00 adam Exp $
-DISTNAME= grpc-1.36.4
+DISTNAME= grpc-1.37.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r e02812e01436 -r 7b9af9bfd92d net/grpc/PLIST
--- a/net/grpc/PLIST Fri Apr 16 08:53:17 2021 +0000
+++ b/net/grpc/PLIST Fri Apr 16 09:20:00 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2021/02/27 10:03:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.25 2021/04/16 09:20:00 adam Exp $
bin/grpc_cpp_plugin
bin/grpc_csharp_plugin
bin/grpc_node_plugin
@@ -185,6 +185,7 @@
include/grpcpp/impl/codegen/message_allocator.h
include/grpcpp/impl/codegen/metadata_map.h
include/grpcpp/impl/codegen/method_handler.h
+include/grpcpp/impl/codegen/method_handler_impl.h
include/grpcpp/impl/codegen/proto_buffer_reader.h
include/grpcpp/impl/codegen/proto_buffer_writer.h
include/grpcpp/impl/codegen/proto_utils.h
@@ -266,31 +267,31 @@
lib/libgpr.so.15.0.0
lib/libgrpc++.so
lib/libgrpc++.so.${PKGVERSION}
-lib/libgrpc++.so.1
+lib/libgrpc++.so.1.37
lib/libgrpc++_alts.so
lib/libgrpc++_alts.so.${PKGVERSION}
-lib/libgrpc++_alts.so.1
+lib/libgrpc++_alts.so.1.37
lib/libgrpc++_error_details.so
lib/libgrpc++_error_details.so.${PKGVERSION}
-lib/libgrpc++_error_details.so.1
+lib/libgrpc++_error_details.so.1.37
lib/libgrpc++_reflection.so
lib/libgrpc++_reflection.so.${PKGVERSION}
-lib/libgrpc++_reflection.so.1
+lib/libgrpc++_reflection.so.1.37
lib/libgrpc++_unsecure.so
lib/libgrpc++_unsecure.so.${PKGVERSION}
-lib/libgrpc++_unsecure.so.1
+lib/libgrpc++_unsecure.so.1.37
lib/libgrpc.so
lib/libgrpc.so.15
lib/libgrpc.so.15.0.0
lib/libgrpc_plugin_support.so
lib/libgrpc_plugin_support.so.${PKGVERSION}
-lib/libgrpc_plugin_support.so.1
+lib/libgrpc_plugin_support.so.1.37
lib/libgrpc_unsecure.so
lib/libgrpc_unsecure.so.15
lib/libgrpc_unsecure.so.15.0.0
lib/libgrpcpp_channelz.so
lib/libgrpcpp_channelz.so.${PKGVERSION}
-lib/libgrpcpp_channelz.so.1
+lib/libgrpcpp_channelz.so.1.37
lib/libupb.so
lib/libupb.so.15
lib/libupb.so.15.0.0
diff -r e02812e01436 -r 7b9af9bfd92d net/grpc/distinfo
--- a/net/grpc/distinfo Fri Apr 16 08:53:17 2021 +0000
+++ b/net/grpc/distinfo Fri Apr 16 09:20:00 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.39 2021/03/19 07:04:51 adam Exp $
+$NetBSD: distinfo,v 1.40 2021/04/16 09:20:00 adam Exp $
-SHA1 (grpc-1.36.4.tar.gz) = 5e89a4859b6080093fd9c1bcb690a08c86ff1ca6
-RMD160 (grpc-1.36.4.tar.gz) = b0b07f7f72e00953602807d3371d44f8240ccf7c
-SHA512 (grpc-1.36.4.tar.gz) = bc712ef27954fc8b2e130ca3ff3c982d2286ffea37193c5b4acafc1b711121754b968f60e67edadf94dd50c1cc978d5335753c7e03383f40f94b9a89b7275083
-Size (grpc-1.36.4.tar.gz) = 7899288 bytes
+SHA1 (grpc-1.37.0.tar.gz) = 307543973fdab0ffbf2d886e70fad6b114b13a8d
+RMD160 (grpc-1.37.0.tar.gz) = 8a88471e7957bf63b4d159d102cc80c0d5bf25bc
+SHA512 (grpc-1.37.0.tar.gz) = b7c1feda505822f90dec213a53996b5fa8355d519c949cbf8926a667f2203a4c44245744354b4ccbce0566eb9bdbe60e1479c222dff5ed228981367fe1ac6a1a
+Size (grpc-1.37.0.tar.gz) = 8201157 bytes
SHA1 (patch-CMakeLists.txt) = af17a03bdbb2b7905ced111b3c13c80b0cf3fec2
SHA1 (patch-cmake_benchmark.cmake) = 6a7880c30019a723a35b56b0c5bd2d730b36550d
SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = 77137590f488d81ee731d82148b6e982f29b7aad
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio-testing/Makefile
--- a/net/py-grpcio-testing/Makefile Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio-testing/Makefile Fri Apr 16 09:20:00 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2021/03/04 08:09:31 adam Exp $
+# $NetBSD: Makefile,v 1.17 2021/04/16 09:20:01 adam Exp $
-DISTNAME= grpcio-testing-1.36.1
+DISTNAME= grpcio-testing-1.37.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-testing/}
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio-testing/distinfo
--- a/net/py-grpcio-testing/distinfo Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio-testing/distinfo Fri Apr 16 09:20:00 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2021/03/04 08:09:31 adam Exp $
+$NetBSD: distinfo,v 1.16 2021/04/16 09:20:01 adam Exp $
-SHA1 (grpcio-testing-1.36.1.tar.gz) = 02cc657710f3e98f121a150c5a4a1b8a2ee084b6
-RMD160 (grpcio-testing-1.36.1.tar.gz) = 7ae10ed1314618af5c1c690fa3c5d02e1b30fbb8
-SHA512 (grpcio-testing-1.36.1.tar.gz) = 726d193ce95d4422ad05c96c4f87e1d6f1059c4e733c55b7eae50a016b35400fcb32271461c01e6b34140d921f30a9f98abac8f17e529672e23ab1b7b434c677
-Size (grpcio-testing-1.36.1.tar.gz) = 16966 bytes
+SHA1 (grpcio-testing-1.37.0.tar.gz) = baea22ee80b69b09ea151d12a4a5ae1cb3157715
+RMD160 (grpcio-testing-1.37.0.tar.gz) = ab55ca96933de7d68c1975426c63ffa5ebf0d9b7
+SHA512 (grpcio-testing-1.37.0.tar.gz) = a09a1dc98dda81b4fce6a730f7aa7e116e2eb8f1f6ef909fc1bd61a7e1e0ed590e57f95878a679957e79fa0ea3ec8432a6e73bf486e655f1e41b1d6e6e60da44
+Size (grpcio-testing-1.37.0.tar.gz) = 16774 bytes
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio-tools/Makefile
--- a/net/py-grpcio-tools/Makefile Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio-tools/Makefile Fri Apr 16 09:20:00 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2021/03/04 08:09:32 adam Exp $
+# $NetBSD: Makefile,v 1.27 2021/04/16 09:20:01 adam Exp $
-DISTNAME= grpcio-tools-1.36.1
+DISTNAME= grpcio-tools-1.37.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/}
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio-tools/distinfo
--- a/net/py-grpcio-tools/distinfo Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio-tools/distinfo Fri Apr 16 09:20:00 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.24 2021/03/04 08:09:32 adam Exp $
+$NetBSD: distinfo,v 1.25 2021/04/16 09:20:01 adam Exp $
-SHA1 (grpcio-tools-1.36.1.tar.gz) = a5170c5dcb54c509ab293eacc7e9d16121648c33
-RMD160 (grpcio-tools-1.36.1.tar.gz) = 2a36cca2d5d4dadd2b107bb2831ccc8efb923c47
-SHA512 (grpcio-tools-1.36.1.tar.gz) = 60f5e581fe15f76ab920a244adc491f56e4fb9c849896275a03281c6956f30780f926f7f75f4da0679b3a5b900fc057424b0ff86853a68e37ab4dbb33dc663d9
-Size (grpcio-tools-1.36.1.tar.gz) = 2118932 bytes
-SHA1 (patch-setup.py) = 259bc18faa647599d079106fc681eeb99affa30e
+SHA1 (grpcio-tools-1.37.0.tar.gz) = 2de075996301b6b410010c6f0e8c593df3340f3b
+RMD160 (grpcio-tools-1.37.0.tar.gz) = fad5341dc29a3e28e68d3ea0201d1f56c9496b53
+SHA512 (grpcio-tools-1.37.0.tar.gz) = db7f80c264b450029184ab3c17603621cd7319711501d318f0d416564265a1d444d626349e5ffb1d117a3e15891a0a61949434f7a5e9b96386cf81f6578d3d37
+Size (grpcio-tools-1.37.0.tar.gz) = 2120358 bytes
+SHA1 (patch-setup.py) = ecd08109c7d3173ccaa6d3b4428a66a9eac560f7
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio-tools/patches/patch-setup.py
--- a/net/py-grpcio-tools/patches/patch-setup.py Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio-tools/patches/patch-setup.py Fri Apr 16 09:20:00 2021 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.4 2021/01/14 10:17:46 adam Exp $
+$NetBSD: patch-setup.py,v 1.5 2021/04/16 09:20:01 adam Exp $
Use pthread on FreeBSD.
Use external protobuf.
---- setup.py.orig 2021-01-13 06:42:53.000000000 +0000
+--- setup.py.orig 2021-04-07 05:49:06.000000000 +0000
+++ setup.py
-@@ -146,7 +146,7 @@ if EXTRA_ENV_LINK_ARGS is None:
+@@ -180,7 +180,7 @@ if EXTRA_ENV_LINK_ARGS is None:
if "darwin" in sys.platform:
EXTRA_ENV_LINK_ARGS += ' -Wl,-exported_symbol,_{}'.format(
_EXT_INIT_SYMBOL)
@@ -14,9 +14,9 @@
EXTRA_ENV_LINK_ARGS += ' -lpthread'
if check_linker_need_libatomic():
EXTRA_ENV_LINK_ARGS += ' -latomic'
-@@ -159,11 +159,9 @@ if EXTRA_ENV_LINK_ARGS is None:
- EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
- EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)
+@@ -196,11 +196,9 @@ EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_
+ if BUILD_WITH_STATIC_LIBSTDCXX:
+ EXTRA_LINK_ARGS.append('-static-libstdc++')
-CC_FILES = [os.path.normpath(cc_file) for cc_file in protoc_lib_deps.CC_FILES]
PROTO_FILES = [
@@ -26,7 +26,7 @@
PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)
GRPC_PYTHON_TOOLS_PACKAGE = 'grpc_tools'
-@@ -174,7 +172,7 @@ if "win32" in sys.platform:
+@@ -211,7 +209,7 @@ if "win32" in sys.platform:
DEFINE_MACROS += (('WIN32_LEAN_AND_MEAN', 1),)
if '64bit' in platform.architecture()[0]:
DEFINE_MACROS += (('MS_WIN64', 1),)
@@ -35,7 +35,7 @@
DEFINE_MACROS += (('HAVE_PTHREAD', 1),)
# By default, Python3 distutils enforces compatibility of
-@@ -221,7 +219,7 @@ def extension_modules():
+@@ -258,7 +256,7 @@ def extension_modules():
plugin_sources += [
os.path.join('grpc_tools', 'main.cc'),
os.path.join('grpc_root', 'src', 'compiler', 'python_generator.cc')
@@ -44,7 +44,7 @@
plugin_ext = extension.Extension(
name='grpc_tools._protoc_compiler',
-@@ -230,7 +228,6 @@ def extension_modules():
+@@ -267,7 +265,6 @@ def extension_modules():
'.',
'grpc_root',
os.path.join('grpc_root', 'include'),
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio/Makefile
--- a/net/py-grpcio/Makefile Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio/Makefile Fri Apr 16 09:20:00 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2021/03/22 18:43:28 adam Exp $
+# $NetBSD: Makefile,v 1.31 2021/04/16 09:20:00 adam Exp $
-DISTNAME= grpcio-1.36.1
+DISTNAME= grpcio-1.37.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio/distinfo
--- a/net/py-grpcio/distinfo Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio/distinfo Fri Apr 16 09:20:00 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.28 2021/03/04 08:09:31 adam Exp $
+$NetBSD: distinfo,v 1.29 2021/04/16 09:20:00 adam Exp $
-SHA1 (grpcio-1.36.1.tar.gz) = 4d1e64c45c7f9b40cef7649b626b1e84509d66a1
-RMD160 (grpcio-1.36.1.tar.gz) = 9ba05692dee2f0b41b6b84cc1ec6d1abaec1ed5f
-SHA512 (grpcio-1.36.1.tar.gz) = ec1a4f226ea418acfd9b5096e8d3485c78ac42f3b788eaba9f6d92ec2f461d995d13fbc9aae5340531c951d00958eda4d678b6e5ec1bb53a232cccfddf1c908e
-Size (grpcio-1.36.1.tar.gz) = 21469482 bytes
-SHA1 (patch-setup.py) = 16aa10a48f4e1f5d3fc57c793623fc3e7d07c98e
+SHA1 (grpcio-1.37.0.tar.gz) = 9ee3ca19caad9e3f91a3a3163d6f029998353434
+RMD160 (grpcio-1.37.0.tar.gz) = 5a4f966e6769ffe63124fd15c8ba8e8d6329d918
+SHA512 (grpcio-1.37.0.tar.gz) = 0b9ef3ff1c3e2b13f134eb36d9ca288b7021812e5de9d64a4bf8b512a1d92ce60669dff7f7e40e7418336e530c039e6878010166e9b0efa5f4df34af74e446ef
+Size (grpcio-1.37.0.tar.gz) = 21678743 bytes
+SHA1 (patch-setup.py) = c3135fbac1d69942eca57a5fccaf805c8a6cff23
SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a
diff -r e02812e01436 -r 7b9af9bfd92d net/py-grpcio/patches/patch-setup.py
--- a/net/py-grpcio/patches/patch-setup.py Fri Apr 16 08:53:17 2021 +0000
+++ b/net/py-grpcio/patches/patch-setup.py Fri Apr 16 09:20:00 2021 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-setup.py,v 1.11 2020/12/07 08:01:04 adam Exp $
+$NetBSD: patch-setup.py,v 1.12 2021/04/16 09:20:00 adam Exp $
Fix libatomic detection.
Use dependencies in pkgsrc.
---- setup.py.orig 2020-12-01 23:41:42.000000000 +0000
+--- setup.py.orig 2021-04-07 05:49:03.000000000 +0000
+++ setup.py
-@@ -273,28 +273,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
- UPB_GRPC_GENERATED_INCLUDE +
- UPBDEFS_GRPC_GENERATED_INCLUDE + ZLIB_INCLUDE)
+@@ -303,28 +303,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
+ UPBDEFS_GRPC_GENERATED_INCLUDE +
+ XXHASH_INCLUDE + ZLIB_INCLUDE)
-EXTENSION_LIBRARIES = ()
-if "linux" in sys.platform:
@@ -35,7 +35,7 @@
DEFINE_MACROS = (('_WIN32_WINNT', 0x600),)
asm_files = []
-@@ -372,7 +351,7 @@ def cython_extensions_and_necessity():
+@@ -409,7 +388,7 @@ def cython_extensions_and_necessity():
]
config = os.environ.get('CONFIG', 'opt')
prefix = 'libs/' + config + '/'
@@ -44,7 +44,7 @@
extra_objects = [
prefix + 'libares.a', prefix + 'libboringssl.a',
prefix + 'libgpr.a', prefix + 'libgrpc.a'
-@@ -384,8 +363,7 @@ def cython_extensions_and_necessity():
+@@ -421,8 +400,7 @@ def cython_extensions_and_necessity():
extensions = [
_extension.Extension(
name=module_name,
Home |
Main Index |
Thread Index |
Old Index