pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-grpcio py-grpcio: Update to 1.19.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd01df6706dd
branches: trunk
changeset: 393949:cd01df6706dd
user: leot <leot%pkgsrc.org@localhost>
date: Thu Mar 28 17:35:14 2019 +0000
description:
py-grpcio: Update to 1.19.1
1.19.1
------
Python
* Backport "Add the missing grpc_cfstream dependency" to v1.19.x.
1.19.0
------
Python
* grpc_prefork(): check grpc_is_initialized before creating execctx.
* [gRPC] Enable Python 3 for Bazel to Run Tests.
* Escalate the failure of protoc execution.
* Remove dependency of grpc.framework.foundation.callable_util.
1.18.0
------
Python
* Servers are no longer guaranteed to automatically shutdown when garbage
collected. Applications must explicitly invoke grpc.Server.stop() to
shutdown the server and release its resources. This aligns server behavior
with the grpc.Channel.close() semantics introduced in v1.12.0.
* Add python API to retrieve library version. (#17580)
* Add Watch method to health check service. (#17597)
* Refactor server deallocation. (#17444)
* Add grpcio-status extension package. (#17490)
* Add gRPC Python Example: Metadata. (#17485)
* New abort with grpc.Status API. (#17481)
* Update urllib3 to avoid security vulnerability. (#17476)
* Add License to Python tarball. (#17411)
* Revert "Strip manylinux1 binary wheels". (#17412)
* Surface exceptions from Cython to Python as much as possible. (#16971)
* Add logging.basicConfig() for example servers. (#17322)
* Channelz Python wrapper implementation. (#17266)
* Fix Python blocking interceptors facing RpcError. (#17317)
* Raise the exception while credential initialization. (#17281)
1.17.1
------
Python
* Update urllib3 version number to avoid security vulnerability. (#17477)
* Revert stripping manylinux1 binary wheels to fix bad checksum of .so file.
(#17415)
1.17.0
------
Python
* Update Python documentation. (#17194)
* Migrate tests from Python 3.4 to Python 3.7. (#16995)
* Add wait-for-ready option. (#16919)
* The new gRPC Python documentation generator. (#17074)
* Allow gpr compatibility mode to be disabled in the Python build. (#16916)
* Fix logging issues introduced due to root logger being configured by gRPC.
(#17091)
* Add support for utf-8 error messages. (#16946)
* Ensure libboringssl.a is always built for Python. (#17049)
* Add python example to show the use of channel options. (#16924)
* Add type checking for channel args. (#16864)
* Strip manylinux1 binary wheels. (#16836)
1.16.1
------
This is 1.16.1 patch release for gRPC-Python.
Please see the notes for the previous releases here: https://github.com/grpc/
grpc/releases. Please consult https://grpc.io/ for all information regarding
this product.
This prerelease contains refinements, improvements, and bug fixes.
* Python: Fixed the issue where calls to logging.basicConfig() in various
modules added a handler to the root logger. This also fixes "No handlers
could be found" message in some cases. (#17064)
1.16.0
------
Python
* Fix SSL channel credential when an argument is None. (#16640)
* Bazel: Fix python BUILD rules. (#16561)
1.15.1
------
Python
* Added experimental support for client-side fork on Linux and Mac by setting
the environment variable GRPC_ENABLE_FORK_SUPPORT=1. Applications may fork
with active RPCs, as long as no user threads are currently invoking gRPC
library methods. In-progress RPCs continue in the parent process, and the
child process may use gRPC by creating new channels. (#16264)
* Improve PyPy compatibility. (#16364)
* Fix segmentation fault caused by channel.close() when used with
connectivity-state subscriptions. (#16296)
* Add server reflection guide for Python. See https://github.com/grpc/grpc/
blob/master/doc/python/server_reflection.md.
* Add Cython functionality to directly wrap grpc_arg. (#16192, #16197)
1.14.2
------
* Python: Segmentation fault caused by channel.close() when used with
connectivity-state subscriptions. (#16296)
1.14.1
------
If you are using version 1.14.0, please upgrade to this patch. A fix for issue
#15889 is reverted in this patch. The fix may cause memory corruption is some
corner cases. We advise not to use release 1.14.0.
1.14.0
------
Python
* Explicitly check conformance of handlers added to a gRPC server to
grpc.GenericRpcHandler type. (#15689)
* Expose SERVICE_NAME field from reflection and health checking services. (#
16153)
* Explicitly close channels in examples via the Channel.close API. (#15725)
+ Please note that gRPC requires explicit closure of Channel objects via
a with block or directly invoking the Channel.close API to ensure
resources are appropriately released.
* Official Python 3.7 binary wheels for Windows (x64), macOS, and Linux (x86
and x64) are now available. (#15632)
* Optimize blocking intercepted response-unary calls to use the blocking API
and not rely on a future underneath. (#14639)
diffstat:
net/py-grpcio/Makefile | 12 ++++----
net/py-grpcio/distinfo | 14 +++++-----
net/py-grpcio/patches/patch-setup.py | 20 +++++++-------
net/py-grpcio/patches/patch-src_python_grpcio_commands.py | 12 ++++----
4 files changed, 29 insertions(+), 29 deletions(-)
diffs (114 lines):
diff -r aaf48d98f983 -r cd01df6706dd net/py-grpcio/Makefile
--- a/net/py-grpcio/Makefile Thu Mar 28 14:52:56 2019 +0000
+++ b/net/py-grpcio/Makefile Thu Mar 28 17:35:14 2019 +0000
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.2 2018/08/04 21:56:47 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2019/03/28 17:35:14 leot Exp $
-DISTNAME= grpcio-1.13.0
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME= grpcio-1.19.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
MAINTAINER= kethzer.dr%gmail.com@localhost
HOMEPAGE= https://grpc.io/
COMMENT= HTTP/2-based RPC framework
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf
-DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf
+DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
.include "../../lang/python/pyversion.mk"
.if "${PYPKGPREFIX}" == "py27"
diff -r aaf48d98f983 -r cd01df6706dd net/py-grpcio/distinfo
--- a/net/py-grpcio/distinfo Thu Mar 28 14:52:56 2019 +0000
+++ b/net/py-grpcio/distinfo Thu Mar 28 17:35:14 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2018/12/31 23:03:02 leot Exp $
+$NetBSD: distinfo,v 1.5 2019/03/28 17:35:14 leot Exp $
-SHA1 (grpcio-1.13.0.tar.gz) = 4ea6933da54b1628c65e3907134c805fa9d2d640
-RMD160 (grpcio-1.13.0.tar.gz) = 829e7b0a0004738a90852e7f4c67d617a51df6b7
-SHA512 (grpcio-1.13.0.tar.gz) = 4263c027d123332967692df467f01cb3b84acb3721eab7ae421a8ad79850cf00d0abca306ad6ff16acc95f1599c9c219a6c137e934f07f91ef1a11ce66b04545
-Size (grpcio-1.13.0.tar.gz) = 14320631 bytes
-SHA1 (patch-setup.py) = 383ea9fc9067b84a6eb08edd99cb9e9062724744
+SHA1 (grpcio-1.19.0.tar.gz) = 983938931832781234193373783d41341b8a7714
+RMD160 (grpcio-1.19.0.tar.gz) = d507dd96643d42f9bee3ddf327cb6c7f4e93fbb4
+SHA512 (grpcio-1.19.0.tar.gz) = 620459dd1a22cf60cb6bccb1b7dd64175f1efdfc098152cfa1889ad0a727b7a92b72f9de28b57e9a45cc8d2c22e2fc36307af8ab52ced454a91aedeaf7158273
+Size (grpcio-1.19.0.tar.gz) = 14621509 bytes
+SHA1 (patch-setup.py) = 297fd7c363998e1e58bd4f24724b84626d419634
SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a
-SHA1 (patch-src_python_grpcio_commands.py) = e84c0ddb13d9d9a3d2c90fe93c9db72264176512
+SHA1 (patch-src_python_grpcio_commands.py) = 10c9342a0a1e2fa70e85ed107b51e9a011f76a2c
diff -r aaf48d98f983 -r cd01df6706dd net/py-grpcio/patches/patch-setup.py
--- a/net/py-grpcio/patches/patch-setup.py Thu Mar 28 14:52:56 2019 +0000
+++ b/net/py-grpcio/patches/patch-setup.py Thu Mar 28 17:35:14 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.2 2018/08/04 21:56:47 minskim Exp $
+$NetBSD: patch-setup.py,v 1.3 2019/03/28 17:35:14 leot Exp $
Use dependencies in pkgsrc.
---- setup.py.orig 2018-06-28 00:44:17.000000000 +0000
+--- setup.py.orig 2019-02-26 17:31:26.000000000 +0000
+++ setup.py
-@@ -184,18 +184,19 @@ EXTENSION_INCLUDE_DIRECTORIES = (
- CARES_INCLUDE + ADDRESS_SORTING_INCLUDE)
+@@ -207,18 +207,19 @@ EXTENSION_INCLUDE_DIRECTORIES = (
+ NANOPB_INCLUDE + CARES_INCLUDE + ADDRESS_SORTING_INCLUDE)
EXTENSION_LIBRARIES = ()
-if "linux" in sys.platform:
@@ -34,18 +34,18 @@
+# EXTENSION_LIBRARIES += ('cares',)
+EXTENSION_LIBRARIES += ('grpc',)
- DEFINE_MACROS = (
- ('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600),
-@@ -242,7 +243,7 @@ def cython_extensions_and_necessity():
+ DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600))
+ if not DISABLE_LIBC_COMPATIBILITY:
+@@ -265,7 +266,7 @@ def cython_extensions_and_necessity():
for name in CYTHON_EXTENSION_MODULE_NAMES]
config = os.environ.get('CONFIG', 'opt')
prefix = 'libs/' + config + '/'
-- if "darwin" in sys.platform:
-+ if False and "darwin" in sys.platform:
+- if "darwin" in sys.platform or USE_PREBUILT_GRPC_CORE:
++ if False and "darwin" in sys.platform or USE_PREBUILT_GRPC_CORE:
extra_objects = [prefix + 'libares.a',
prefix + 'libboringssl.a',
prefix + 'libgpr.a',
-@@ -254,7 +255,7 @@ def cython_extensions_and_necessity():
+@@ -277,7 +278,7 @@ def cython_extensions_and_necessity():
extensions = [
_extension.Extension(
name=module_name,
diff -r aaf48d98f983 -r cd01df6706dd net/py-grpcio/patches/patch-src_python_grpcio_commands.py
--- a/net/py-grpcio/patches/patch-src_python_grpcio_commands.py Thu Mar 28 14:52:56 2019 +0000
+++ b/net/py-grpcio/patches/patch-src_python_grpcio_commands.py Thu Mar 28 17:35:14 2019 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-src_python_grpcio_commands.py,v 1.1 2018/04/28 01:16:29 minskim Exp $
+$NetBSD: patch-src_python_grpcio_commands.py,v 1.2 2019/03/28 17:35:14 leot Exp $
Use dependencies in pkgsrc.
---- src/python/grpcio/commands.py.orig 2018-04-05 20:19:07.000000000 +0000
+--- src/python/grpcio/commands.py.orig 2019-02-26 17:31:26.000000000 +0000
+++ src/python/grpcio/commands.py
-@@ -253,7 +253,7 @@ class BuildExt(build_ext.build_ext):
- LINK_OPTIONS = {}
-
- def build_extensions(self):
+@@ -218,7 +218,7 @@ class BuildExt(build_ext.build_ext):
+ # all C or all C++ compilation, the mix of C and C++ will crash.
+ # *By default*, the macOS use clang and Linux use gcc, that's why
+ # the special condition here is checking platform.
- if "darwin" in sys.platform:
+ if False and "darwin" in sys.platform:
config = os.environ.get('CONFIG', 'opt')
Home |
Main Index |
Thread Index |
Old Index