Wed May 15 21:13:50 2024 UTC (32d)
*grpcio*: update to 1.63

This is release 1.63.0 (giggle) of gRPC Core.

For gRPC documentation, see grpc.io. For previous releases, see Releases.

This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core

    [Deps] Backport: Protobuf upgrade to v26.1. (#36353)
    [surface] Add an API to inject connected endpoints into servers. (#35957)
    [CMake] Add gRPC_USE_SYSTEMD option. (#34384)
    [Deps] Upgraded protobuf to v26.1. (#35796)
    [channel] canonify target and set channel arg in only one place. (#36134)
    [grpc][Gpr_To_Absl_Logging] Using absl from within gpr logging. (#36108)
    [BoringSSL] Update third_party/boringssl-with-bazel. (#36089)
    [EventEngine] Document RunAfter can return an invalid handle for immediate execution. (#36072)
    [EventEngine] Enable the EventEngine DNS Resolver on Posix. (#35573)
    [EventEngine] Support AF_UNIX for windows. (#34801)

C++

    [OTel C++] Add APIs to enable/disable metrics. (#36183)
    [EventEngine] Refactor ServerCallbackCall to use EventEngine::Run. (#36126)
    [OTel C++] Add CMake build support. (#36063)
    gRPC C++ upgraded Protobuf to v26.1. (#36323)
    [OTel C++] Add experimental optional locality label available to client per-attempt metrics. (#36254)
    [OTel C++] Add API to set channel scope filter. (#36189)

Python

    [Python Version] Drop support for Python 3.7. (#34450)
    [Python Aio] Change aio Metadata inheritance. (#36214)
    [Documentation] fix asyncio Server and Channel stop() method documentation. (#35946)
    [Python O11y] Change public interface. (#36094)
    [Python Stub] Add version check to stubs generated by grpcio_tools. (#35906)
    [AbortError] Reapply "[AbortError] And and check AbortError while abort". (#34525)
    [Build Reproducibility] Sort input file list. (#35687)
    [Python O11Y] Reapply registered method change. (#35850)
    [Python Modernization] Deprecate pkg_resources. (#35849)
    [Python Bazel] Allow overwriting grpc_library in python_rules.bzl. (#35629)


(wiz)
diff -r1.87 -r1.88 pkgsrc/net/grpc/Makefile
diff -r1.43 -r1.44 pkgsrc/net/grpc/PLIST
diff -r1.81 -r1.82 pkgsrc/net/grpc/distinfo
diff -r1.70 -r1.71 pkgsrc/net/py-grpcio/Makefile
diff -r1.60 -r1.61 pkgsrc/net/py-grpcio/distinfo
diff -r1.47 -r1.48 pkgsrc/net/py-grpcio-testing/Makefile
diff -r1.47 -r1.48 pkgsrc/net/py-grpcio-testing/distinfo
diff -r1.64 -r1.65 pkgsrc/net/py-grpcio-tools/Makefile
diff -r1.2 -r1.3 pkgsrc/net/py-grpcio-tools/PLIST
diff -r1.56 -r1.57 pkgsrc/net/py-grpcio-tools/distinfo
diff -r1.7 -r1.8 pkgsrc/net/py-grpcio-tools/patches/patch-setup.py
diff -r1.16 -r1.17 pkgsrc/net/py-grpcio/patches/patch-setup.py

cvs diff -r1.87 -r1.88 pkgsrc/net/grpc/Makefile (expand / switch to unified diff)

--- pkgsrc/net/grpc/Makefile 2024/04/19 04:54:36 1.87
+++ pkgsrc/net/grpc/Makefile 2024/05/15 21:13:49 1.88
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.87 2024/04/19 04:54:36 adam Exp $ 1# $NetBSD: Makefile,v 1.88 2024/05/15 21:13:49 wiz Exp $
2 2
3DISTNAME= grpc-1.62.2 3DISTNAME= grpc-1.63.0
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
6GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= minskim@NetBSD.org 8MAINTAINER= minskim@NetBSD.org
9HOMEPAGE= https://grpc.io/ 9HOMEPAGE= https://grpc.io/
10COMMENT= High performance, open-source universal RPC framework 10COMMENT= High performance, open-source universal RPC framework
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13USE_CXX_FEATURES= c++14 13USE_CXX_FEATURES= c++14
14USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
15USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
16FORCE_CXX_STD= c++14 16FORCE_CXX_STD= c++14

cvs diff -r1.43 -r1.44 pkgsrc/net/grpc/PLIST (expand / switch to unified diff)

--- pkgsrc/net/grpc/PLIST 2024/02/22 11:55:59 1.43
+++ pkgsrc/net/grpc/PLIST 2024/05/15 21:13:49 1.44
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.43 2024/02/22 11:55:59 adam Exp $ 1@comment $NetBSD: PLIST,v 1.44 2024/05/15 21:13:49 wiz Exp $
2bin/grpc_cpp_plugin 2bin/grpc_cpp_plugin
3bin/grpc_csharp_plugin 3bin/grpc_csharp_plugin
4bin/grpc_node_plugin 4bin/grpc_node_plugin
5bin/grpc_objective_c_plugin 5bin/grpc_objective_c_plugin
6bin/grpc_php_plugin 6bin/grpc_php_plugin
7bin/grpc_python_plugin 7bin/grpc_python_plugin
8bin/grpc_ruby_plugin 8bin/grpc_ruby_plugin
9include/grpc++/alarm.h 9include/grpc++/alarm.h
10include/grpc++/channel.h 10include/grpc++/channel.h
11include/grpc++/client_context.h 11include/grpc++/client_context.h
12include/grpc++/completion_queue.h 12include/grpc++/completion_queue.h
13include/grpc++/create_channel.h 13include/grpc++/create_channel.h
14include/grpc++/create_channel_posix.h 14include/grpc++/create_channel_posix.h
@@ -135,26 +135,27 @@ include/grpc/impl/slice_type.h @@ -135,26 +135,27 @@ include/grpc/impl/slice_type.h
135include/grpc/load_reporting.h 135include/grpc/load_reporting.h
136include/grpc/slice.h 136include/grpc/slice.h
137include/grpc/slice_buffer.h 137include/grpc/slice_buffer.h
138include/grpc/status.h 138include/grpc/status.h
139include/grpc/support/alloc.h 139include/grpc/support/alloc.h
140include/grpc/support/atm.h 140include/grpc/support/atm.h
141include/grpc/support/atm_gcc_atomic.h 141include/grpc/support/atm_gcc_atomic.h
142include/grpc/support/atm_gcc_sync.h 142include/grpc/support/atm_gcc_sync.h
143include/grpc/support/atm_windows.h 143include/grpc/support/atm_windows.h
144include/grpc/support/cpu.h 144include/grpc/support/cpu.h
145include/grpc/support/json.h 145include/grpc/support/json.h
146include/grpc/support/log.h 146include/grpc/support/log.h
147include/grpc/support/log_windows.h 147include/grpc/support/log_windows.h
 148include/grpc/support/metrics.h
148include/grpc/support/port_platform.h 149include/grpc/support/port_platform.h
149include/grpc/support/string_util.h 150include/grpc/support/string_util.h
150include/grpc/support/sync.h 151include/grpc/support/sync.h
151include/grpc/support/sync_abseil.h 152include/grpc/support/sync_abseil.h
152include/grpc/support/sync_custom.h 153include/grpc/support/sync_custom.h
153include/grpc/support/sync_generic.h 154include/grpc/support/sync_generic.h
154include/grpc/support/sync_posix.h 155include/grpc/support/sync_posix.h
155include/grpc/support/sync_windows.h 156include/grpc/support/sync_windows.h
156include/grpc/support/thd_id.h 157include/grpc/support/thd_id.h
157include/grpc/support/time.h 158include/grpc/support/time.h
158include/grpc/support/workaround_list.h 159include/grpc/support/workaround_list.h
159include/grpcpp/alarm.h 160include/grpcpp/alarm.h
160include/grpcpp/channel.h 161include/grpcpp/channel.h
@@ -292,72 +293,72 @@ include/grpcpp/support/time.h @@ -292,72 +293,72 @@ include/grpcpp/support/time.h
292include/grpcpp/support/validate_service_config.h 293include/grpcpp/support/validate_service_config.h
293include/grpcpp/version_info.h 294include/grpcpp/version_info.h
294include/grpcpp/xds_server_builder.h 295include/grpcpp/xds_server_builder.h
295lib/cmake/grpc/gRPCConfig.cmake 296lib/cmake/grpc/gRPCConfig.cmake
296lib/cmake/grpc/gRPCConfigVersion.cmake 297lib/cmake/grpc/gRPCConfigVersion.cmake
297lib/cmake/grpc/gRPCPluginTargets-noconfig.cmake 298lib/cmake/grpc/gRPCPluginTargets-noconfig.cmake
298lib/cmake/grpc/gRPCPluginTargets.cmake 299lib/cmake/grpc/gRPCPluginTargets.cmake
299lib/cmake/grpc/gRPCTargets-noconfig.cmake 300lib/cmake/grpc/gRPCTargets-noconfig.cmake
300lib/cmake/grpc/gRPCTargets.cmake 301lib/cmake/grpc/gRPCTargets.cmake
301lib/cmake/grpc/modules/Findc-ares.cmake 302lib/cmake/grpc/modules/Findc-ares.cmake
302lib/cmake/grpc/modules/Findre2.cmake 303lib/cmake/grpc/modules/Findre2.cmake
303lib/cmake/grpc/modules/Findsystemd.cmake 304lib/cmake/grpc/modules/Findsystemd.cmake
304lib/libaddress_sorting.so 305lib/libaddress_sorting.so
305lib/libaddress_sorting.so.39 306lib/libaddress_sorting.so.40
306lib/libaddress_sorting.so.39.0.0 307lib/libaddress_sorting.so.40.0.0
307lib/libgpr.so 308lib/libgpr.so
308lib/libgpr.so.39 309lib/libgpr.so.40
309lib/libgpr.so.39.0.0 310lib/libgpr.so.40.0.0
310lib/libgrpc++.so 311lib/libgrpc++.so
 312lib/libgrpc++.so.1.63
311lib/libgrpc++.so.${PKGVERSION} 313lib/libgrpc++.so.${PKGVERSION}
312lib/libgrpc++.so.1.62 
313lib/libgrpc++_alts.so 314lib/libgrpc++_alts.so
 315lib/libgrpc++_alts.so.1.63
314lib/libgrpc++_alts.so.${PKGVERSION} 316lib/libgrpc++_alts.so.${PKGVERSION}
315lib/libgrpc++_alts.so.1.62 
316lib/libgrpc++_error_details.so 317lib/libgrpc++_error_details.so
 318lib/libgrpc++_error_details.so.1.63
317lib/libgrpc++_error_details.so.${PKGVERSION} 319lib/libgrpc++_error_details.so.${PKGVERSION}
318lib/libgrpc++_error_details.so.1.62 
319lib/libgrpc++_reflection.so 320lib/libgrpc++_reflection.so
 321lib/libgrpc++_reflection.so.1.63
320lib/libgrpc++_reflection.so.${PKGVERSION} 322lib/libgrpc++_reflection.so.${PKGVERSION}
321lib/libgrpc++_reflection.so.1.62 
322lib/libgrpc++_unsecure.so 323lib/libgrpc++_unsecure.so
 324lib/libgrpc++_unsecure.so.1.63
323lib/libgrpc++_unsecure.so.${PKGVERSION} 325lib/libgrpc++_unsecure.so.${PKGVERSION}
324lib/libgrpc++_unsecure.so.1.62 
325lib/libgrpc.so 326lib/libgrpc.so
326lib/libgrpc.so.39 327lib/libgrpc.so.40
327lib/libgrpc.so.39.0.0 328lib/libgrpc.so.40.0.0
328lib/libgrpc_authorization_provider.so 329lib/libgrpc_authorization_provider.so
 330lib/libgrpc_authorization_provider.so.1.63
329lib/libgrpc_authorization_provider.so.${PKGVERSION} 331lib/libgrpc_authorization_provider.so.${PKGVERSION}
330lib/libgrpc_authorization_provider.so.1.62 
331lib/libgrpc_plugin_support.so 332lib/libgrpc_plugin_support.so
 333lib/libgrpc_plugin_support.so.1.63
332lib/libgrpc_plugin_support.so.${PKGVERSION} 334lib/libgrpc_plugin_support.so.${PKGVERSION}
333lib/libgrpc_plugin_support.so.1.62 
334lib/libgrpc_unsecure.so 335lib/libgrpc_unsecure.so
335lib/libgrpc_unsecure.so.39 336lib/libgrpc_unsecure.so.40
336lib/libgrpc_unsecure.so.39.0.0 337lib/libgrpc_unsecure.so.40.0.0
337lib/libgrpcpp_channelz.so 338lib/libgrpcpp_channelz.so
 339lib/libgrpcpp_channelz.so.1.63
338lib/libgrpcpp_channelz.so.${PKGVERSION} 340lib/libgrpcpp_channelz.so.${PKGVERSION}
339lib/libgrpcpp_channelz.so.1.62 
340lib/libupb_base_lib.so 341lib/libupb_base_lib.so
341lib/libupb_base_lib.so.39 342lib/libupb_base_lib.so.40
342lib/libupb_base_lib.so.39.0.0 343lib/libupb_base_lib.so.40.0.0
343lib/libupb_json_lib.so 344lib/libupb_json_lib.so
344lib/libupb_json_lib.so.39 345lib/libupb_json_lib.so.40
345lib/libupb_json_lib.so.39.0.0 346lib/libupb_json_lib.so.40.0.0
346lib/libupb_mem_lib.so 347lib/libupb_mem_lib.so
347lib/libupb_mem_lib.so.39 348lib/libupb_mem_lib.so.40
348lib/libupb_mem_lib.so.39.0.0 349lib/libupb_mem_lib.so.40.0.0
349lib/libupb_message_lib.so 350lib/libupb_message_lib.so
350lib/libupb_message_lib.so.39 351lib/libupb_message_lib.so.40
351lib/libupb_message_lib.so.39.0.0 352lib/libupb_message_lib.so.40.0.0
352lib/libupb_textformat_lib.so 353lib/libupb_textformat_lib.so
353lib/libupb_textformat_lib.so.39 354lib/libupb_textformat_lib.so.40
354lib/libupb_textformat_lib.so.39.0.0 355lib/libupb_textformat_lib.so.40.0.0
355lib/libutf8_range_lib.so 356lib/libutf8_range_lib.so
356lib/libutf8_range_lib.so.39 357lib/libutf8_range_lib.so.40
357lib/libutf8_range_lib.so.39.0.0 358lib/libutf8_range_lib.so.40.0.0
358lib/pkgconfig/gpr.pc 359lib/pkgconfig/gpr.pc
359lib/pkgconfig/grpc++.pc 360lib/pkgconfig/grpc++.pc
360lib/pkgconfig/grpc++_unsecure.pc 361lib/pkgconfig/grpc++_unsecure.pc
361lib/pkgconfig/grpc.pc 362lib/pkgconfig/grpc.pc
362lib/pkgconfig/grpc_unsecure.pc 363lib/pkgconfig/grpc_unsecure.pc
363share/grpc/roots.pem 364share/grpc/roots.pem

cvs diff -r1.81 -r1.82 pkgsrc/net/grpc/distinfo (expand / switch to unified diff)

--- pkgsrc/net/grpc/distinfo 2024/04/19 04:54:36 1.81
+++ pkgsrc/net/grpc/distinfo 2024/05/15 21:13:49 1.82
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
1$NetBSD: distinfo,v 1.81 2024/04/19 04:54:36 adam Exp $ 1$NetBSD: distinfo,v 1.82 2024/05/15 21:13:49 wiz Exp $
2 2
3BLAKE2s (grpc-1.62.2.tar.gz) = e5b00c7206efcb39f0211fbb49f39c6f40d43f91964162dbce90db87b5e5dba9 3BLAKE2s (grpc-1.63.0.tar.gz) = 335d6dce3755e3ecb32d70f560744198db63d56cc495204e1dfc8e18af489f59
4SHA512 (grpc-1.62.2.tar.gz) = 9a000c8d87ca6dc13c458115394027cfa2982898c617c9c204371eaf7ef20e0fd61b099607fa85e45b4cf77e84201163b5ce09ca86a1ef7aed92cebf44f781b8 4SHA512 (grpc-1.63.0.tar.gz) = 7210131243529d8134c9be18cd09297bc189b7ab633c4037d9096e0f5fdb33c3a93728cfabb0e5b06304cfdc00c33449e8c02b09d0782b6b5de2674a2e2a3c24
5Size (grpc-1.62.2.tar.gz) = 22384704 bytes 5Size (grpc-1.63.0.tar.gz) = 22431725 bytes
6BLAKE2s (opencensus-proto-0.3.0.tar.gz) = be3ce863226f4aa422d9faa997fe29f9bb1743c0e804af3c5fad3c170e60ba42 6BLAKE2s (opencensus-proto-0.3.0.tar.gz) = be3ce863226f4aa422d9faa997fe29f9bb1743c0e804af3c5fad3c170e60ba42
7SHA512 (opencensus-proto-0.3.0.tar.gz) = 39231a495dfdccfc8267d1e6af2ac624feea611a8691c10ec570de2194b352e4a9c3b0ce1606414fb98e5d77c66873bed4a9e56512efa12b267b8a91e0c5851e 7SHA512 (opencensus-proto-0.3.0.tar.gz) = 39231a495dfdccfc8267d1e6af2ac624feea611a8691c10ec570de2194b352e4a9c3b0ce1606414fb98e5d77c66873bed4a9e56512efa12b267b8a91e0c5851e
8Size (opencensus-proto-0.3.0.tar.gz) = 163404 bytes 8Size (opencensus-proto-0.3.0.tar.gz) = 163404 bytes
9SHA1 (patch-CMakeLists.txt) = e3ec7dd3fdc01ac7b7afaa8abdac0dfb47bb5317 9SHA1 (patch-CMakeLists.txt) = e3ec7dd3fdc01ac7b7afaa8abdac0dfb47bb5317
10SHA1 (patch-include_grpc_event__engine_port.h) = ee0937d5ec59d2f0a462a64145fc63ef68564c17 10SHA1 (patch-include_grpc_event__engine_port.h) = ee0937d5ec59d2f0a462a64145fc63ef68564c17
11SHA1 (patch-src_core_lib_event__engine_cf__engine_cfstream__endpoint.h) = 75c50a6e275de0e47feb0cfa0f0976078025caba 11SHA1 (patch-src_core_lib_event__engine_cf__engine_cfstream__endpoint.h) = 75c50a6e275de0e47feb0cfa0f0976078025caba
12SHA1 (patch-src_core_lib_iomgr_port.h) = 81e474c608595b5b2defdd04e8c52a63485e7d06 12SHA1 (patch-src_core_lib_iomgr_port.h) = 81e474c608595b5b2defdd04e8c52a63485e7d06

cvs diff -r1.70 -r1.71 pkgsrc/net/py-grpcio/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio/Makefile 2024/04/19 04:54:36 1.70
+++ pkgsrc/net/py-grpcio/Makefile 2024/05/15 21:13:50 1.71
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.70 2024/04/19 04:54:36 adam Exp $ 1# $NetBSD: Makefile,v 1.71 2024/05/15 21:13:50 wiz Exp $
2 2
3DISTNAME= grpcio-1.62.2 3DISTNAME= grpcio-1.63.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
7 7
8MAINTAINER= kethzer.dr@gmail.com 8MAINTAINER= kethzer.dr@gmail.com
9HOMEPAGE= https://grpc.io/ 9HOMEPAGE= https://grpc.io/
10COMMENT= HTTP/2-based RPC framework 10COMMENT= HTTP/2-based RPC framework
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15 15
16USE_CC_FEATURES= c99 16USE_CC_FEATURES= c99

cvs diff -r1.60 -r1.61 pkgsrc/net/py-grpcio/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio/distinfo 2024/04/19 04:54:36 1.60
+++ pkgsrc/net/py-grpcio/distinfo 2024/05/15 21:13:50 1.61
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.60 2024/04/19 04:54:36 adam Exp $ 1$NetBSD: distinfo,v 1.61 2024/05/15 21:13:50 wiz Exp $
2 2
3BLAKE2s (grpcio-1.62.2.tar.gz) = e0d04fa46699ccd239fa3e95dc83fe37ffee77c1945bdece2ba3bbad6acc81b6 3BLAKE2s (grpcio-1.63.0.tar.gz) = 65052f5069a4b36c8e6e1067995e52d97245505b346b8991a9f53cec3f79c8f9
4SHA512 (grpcio-1.62.2.tar.gz) = cf9356c58c246c34c734e882362cea514420a25f095dca3809a90eba8e38eb71d303e0c33a96e52451c058fd55d37c8afde1cb019bc3a69ac5ce96a8a52c1a7a 4SHA512 (grpcio-1.63.0.tar.gz) = b22f928272577f0bd6728eecfcbcda0c79dc76dd025a78cb0658d580367c43be49c0cb8d9384fa4803bf1ac53d534fce95fd9aec9f51aaf3ef79958f5282ffda
5Size (grpcio-1.62.2.tar.gz) = 26316089 bytes 5Size (grpcio-1.63.0.tar.gz) = 26327099 bytes
6SHA1 (patch-setup.py) = c069957e57dc1bf0f3d09caa518f3b19e6057146 6SHA1 (patch-setup.py) = d8bd1807052c157fc919ac888349320c0594abf1
7SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a 7SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a

cvs diff -r1.47 -r1.48 pkgsrc/net/py-grpcio-testing/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio-testing/Makefile 2024/04/19 04:54:36 1.47
+++ pkgsrc/net/py-grpcio-testing/Makefile 2024/05/15 21:13:50 1.48
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.47 2024/04/19 04:54:36 adam Exp $ 1# $NetBSD: Makefile,v 1.48 2024/05/15 21:13:50 wiz Exp $
2 2
3DISTNAME= grpcio-testing-1.62.2 3DISTNAME= grpcio_testing-1.63.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-testing/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-testing/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://grpc.io/ 9HOMEPAGE= https://grpc.io/
10COMMENT= gRPC Python testing package 10COMMENT= gRPC Python testing package
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15DEPENDS+= ${PYPKGPREFIX}-grpcio>=${PKGVERSION_NOREV}:../../net/py-grpcio 15DEPENDS+= ${PYPKGPREFIX}-grpcio>=${PKGVERSION_NOREV}:../../net/py-grpcio
16DEPENDS+= ${PYPKGPREFIX}-protobuf>=4.21.6:../../devel/py-protobuf 16DEPENDS+= ${PYPKGPREFIX}-protobuf>=4.21.6:../../devel/py-protobuf
17 17

cvs diff -r1.47 -r1.48 pkgsrc/net/py-grpcio-testing/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio-testing/distinfo 2024/04/19 04:54:36 1.47
+++ pkgsrc/net/py-grpcio-testing/distinfo 2024/05/15 21:13:50 1.48
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.47 2024/04/19 04:54:36 adam Exp $ 1$NetBSD: distinfo,v 1.48 2024/05/15 21:13:50 wiz Exp $
2 2
3BLAKE2s (grpcio-testing-1.62.2.tar.gz) = 0641e38d5f611691080b315a0ecde74730f75a74973813ef559be4771ebd94f8 3BLAKE2s (grpcio_testing-1.63.0.tar.gz) = 23bd9bb5bc4ae524ccfb1fc72293e8bea182c6bed4ac72e00ee5fdb6134e71da
4SHA512 (grpcio-testing-1.62.2.tar.gz) = 4fbc7eac446367c24e963a3b6ab1d7a9f230cc97cf5de24c813f0f8202332e6a4d6af8e80d2621b4d4dd9eaf864d4ff6300525f84921f9e15635d3953e3c6f11 4SHA512 (grpcio_testing-1.63.0.tar.gz) = a96fd482bf43fb5f6fa92c7b97c19bbf21652c467c9bbed853a045b753c498b10b94c5639ec7a4cbd872549b80476d749225112f1bed31c2be385fa10a3c9e5d
5Size (grpcio-testing-1.62.2.tar.gz) = 21708 bytes 5Size (grpcio_testing-1.63.0.tar.gz) = 22564 bytes

cvs diff -r1.64 -r1.65 pkgsrc/net/py-grpcio-tools/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio-tools/Makefile 2024/04/19 04:54:36 1.64
+++ pkgsrc/net/py-grpcio-tools/Makefile 2024/05/15 21:13:50 1.65
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.64 2024/04/19 04:54:36 adam Exp $ 1# $NetBSD: Makefile,v 1.65 2024/05/15 21:13:50 wiz Exp $
2 2
3DISTNAME= grpcio-tools-1.62.2 3DISTNAME= grpcio_tools-1.63.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/}
7 7
8MAINTAINER= minskim@NetBSD.org 8MAINTAINER= minskim@NetBSD.org
9HOMEPAGE= https://grpc.io/ 9HOMEPAGE= https://grpc.io/
10COMMENT= Protobuf code generator for gRPC 10COMMENT= Protobuf code generator for gRPC
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 13TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
14DEPENDS+= ${PYPKGPREFIX}-grpcio>=${PKGVERSION_NOREV}:../../net/py-grpcio 14DEPENDS+= ${PYPKGPREFIX}-grpcio>=${PKGVERSION_NOREV}:../../net/py-grpcio
15DEPENDS+= ${PYPKGPREFIX}-protobuf>=4.21.6:../../devel/py-protobuf 15DEPENDS+= ${PYPKGPREFIX}-protobuf>=4.21.6:../../devel/py-protobuf
16DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 16DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
17 17

cvs diff -r1.2 -r1.3 pkgsrc/net/py-grpcio-tools/PLIST (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio-tools/PLIST 2023/11/02 12:46:45 1.2
+++ pkgsrc/net/py-grpcio-tools/PLIST 2024/05/15 21:13:50 1.3
@@ -1,27 +1,30 @@ @@ -1,27 +1,30 @@
1@comment $NetBSD: PLIST,v 1.2 2023/11/02 12:46:45 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.3 2024/05/15 21:13:50 wiz Exp $
2${PYSITELIB}/grpc_tools/__init__.py 2${PYSITELIB}/grpc_tools/__init__.py
3${PYSITELIB}/grpc_tools/__init__.pyc 3${PYSITELIB}/grpc_tools/__init__.pyc
4${PYSITELIB}/grpc_tools/__init__.pyo 4${PYSITELIB}/grpc_tools/__init__.pyo
5${PYSITELIB}/grpc_tools/_proto/google/protobuf/any.proto 5${PYSITELIB}/grpc_tools/_proto/google/protobuf/any.proto
6${PYSITELIB}/grpc_tools/_proto/google/protobuf/api.proto 6${PYSITELIB}/grpc_tools/_proto/google/protobuf/api.proto
7${PYSITELIB}/grpc_tools/_proto/google/protobuf/compiler/plugin.proto 7${PYSITELIB}/grpc_tools/_proto/google/protobuf/compiler/plugin.proto
8${PYSITELIB}/grpc_tools/_proto/google/protobuf/descriptor.proto 8${PYSITELIB}/grpc_tools/_proto/google/protobuf/descriptor.proto
9${PYSITELIB}/grpc_tools/_proto/google/protobuf/duration.proto 9${PYSITELIB}/grpc_tools/_proto/google/protobuf/duration.proto
10${PYSITELIB}/grpc_tools/_proto/google/protobuf/empty.proto 10${PYSITELIB}/grpc_tools/_proto/google/protobuf/empty.proto
11${PYSITELIB}/grpc_tools/_proto/google/protobuf/field_mask.proto 11${PYSITELIB}/grpc_tools/_proto/google/protobuf/field_mask.proto
12${PYSITELIB}/grpc_tools/_proto/google/protobuf/source_context.proto 12${PYSITELIB}/grpc_tools/_proto/google/protobuf/source_context.proto
13${PYSITELIB}/grpc_tools/_proto/google/protobuf/struct.proto 13${PYSITELIB}/grpc_tools/_proto/google/protobuf/struct.proto
14${PYSITELIB}/grpc_tools/_proto/google/protobuf/timestamp.proto 14${PYSITELIB}/grpc_tools/_proto/google/protobuf/timestamp.proto
15${PYSITELIB}/grpc_tools/_proto/google/protobuf/type.proto 15${PYSITELIB}/grpc_tools/_proto/google/protobuf/type.proto
16${PYSITELIB}/grpc_tools/_proto/google/protobuf/wrappers.proto 16${PYSITELIB}/grpc_tools/_proto/google/protobuf/wrappers.proto
17${PYSITELIB}/grpc_tools/_protoc_compiler.so 17${PYSITELIB}/grpc_tools/_protoc_compiler.so
18${PYSITELIB}/grpc_tools/command.py 18${PYSITELIB}/grpc_tools/command.py
19${PYSITELIB}/grpc_tools/command.pyc 19${PYSITELIB}/grpc_tools/command.pyc
20${PYSITELIB}/grpc_tools/command.pyo 20${PYSITELIB}/grpc_tools/command.pyo
 21${PYSITELIB}/grpc_tools/grpc_version.py
 22${PYSITELIB}/grpc_tools/grpc_version.pyc
 23${PYSITELIB}/grpc_tools/grpc_version.pyo
21${PYSITELIB}/grpc_tools/protoc.py 24${PYSITELIB}/grpc_tools/protoc.py
22${PYSITELIB}/grpc_tools/protoc.pyc 25${PYSITELIB}/grpc_tools/protoc.pyc
23${PYSITELIB}/grpc_tools/protoc.pyo 26${PYSITELIB}/grpc_tools/protoc.pyo
24${PYSITELIB}/${WHEEL_INFODIR}/METADATA 27${PYSITELIB}/${WHEEL_INFODIR}/METADATA
25${PYSITELIB}/${WHEEL_INFODIR}/RECORD 28${PYSITELIB}/${WHEEL_INFODIR}/RECORD
26${PYSITELIB}/${WHEEL_INFODIR}/WHEEL 29${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
27${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt 30${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt

cvs diff -r1.56 -r1.57 pkgsrc/net/py-grpcio-tools/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio-tools/distinfo 2024/04/19 04:54:36 1.56
+++ pkgsrc/net/py-grpcio-tools/distinfo 2024/05/15 21:13:50 1.57
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.56 2024/04/19 04:54:36 adam Exp $ 1$NetBSD: distinfo,v 1.57 2024/05/15 21:13:50 wiz Exp $
2 2
3BLAKE2s (grpcio-tools-1.62.2.tar.gz) = ea4eece92c994e5f5bebf23a7adef6ad2c8766ca37ef7383e37f3fbed5ae608e 3BLAKE2s (grpcio_tools-1.63.0.tar.gz) = 78e83ed4bf41e82e0c3ec188744f4648f128f3b90d517d682416fdd120484d38
4SHA512 (grpcio-tools-1.62.2.tar.gz) = 90905e844b57539d70d8744ec8c7de94e5ba35d1208c3033092af89d9252a684944080f3c2fea3e5d0c5bfd62a89066f2c8cce35a206c3224af73b1a2ca4ad33 4SHA512 (grpcio_tools-1.63.0.tar.gz) = b460659fda2952896f720d92b9a0be7177af9052ffff486267023082a5f58be74c73cb4a5547a82f6f1f6217df8ab428428c51a69adc344eccee8d6692d6c84e
5Size (grpcio-tools-1.62.2.tar.gz) = 4538350 bytes 5Size (grpcio_tools-1.63.0.tar.gz) = 5026765 bytes
6SHA1 (patch-setup.py) = e1a89937a346971a1bba446d11e7a66d4cdded11 6SHA1 (patch-setup.py) = 24025086f2117a429392fb8f1f58169c3cf0d0b0

cvs diff -r1.7 -r1.8 pkgsrc/net/py-grpcio-tools/patches/patch-setup.py (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio-tools/patches/patch-setup.py 2023/11/02 12:46:45 1.7
+++ pkgsrc/net/py-grpcio-tools/patches/patch-setup.py 2024/05/15 21:13:50 1.8
@@ -1,58 +1,58 @@ @@ -1,58 +1,58 @@
1$NetBSD: patch-setup.py,v 1.7 2023/11/02 12:46:45 wiz Exp $ 1$NetBSD: patch-setup.py,v 1.8 2024/05/15 21:13:50 wiz Exp $
2 2
3Use pthread on FreeBSD. 3Use pthread on FreeBSD.
4Use external protobuf. 4Use external protobuf.
5 5
6--- setup.py.orig 2023-10-30 18:02:42.000000000 +0000 6--- setup.py.orig 2024-04-26 06:29:22.000000000 +0000
7+++ setup.py 7+++ setup.py
8@@ -185,7 +185,7 @@ if EXTRA_ENV_LINK_ARGS is None: 8@@ -211,7 +211,7 @@ if EXTRA_ENV_LINK_ARGS is None:
9 EXTRA_ENV_LINK_ARGS += " -Wl,-exported_symbol,_{}".format( 9 EXTRA_ENV_LINK_ARGS += " -Wl,-exported_symbol,_{}".format(
10 _EXT_INIT_SYMBOL 10 _EXT_INIT_SYMBOL
11 ) 11 )
12- if "linux" in sys.platform or "darwin" in sys.platform: 12- if "linux" in sys.platform or "darwin" in sys.platform:
13+ if "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: 13+ if "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform:
14 EXTRA_ENV_LINK_ARGS += " -lpthread" 14 EXTRA_ENV_LINK_ARGS += " -lpthread"
15 if check_linker_need_libatomic(): 15 if check_linker_need_libatomic():
16 EXTRA_ENV_LINK_ARGS += " -latomic" 16 EXTRA_ENV_LINK_ARGS += " -latomic"
17@@ -196,13 +196,9 @@ EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_ 17@@ -227,13 +227,9 @@ EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_
18 if BUILD_WITH_STATIC_LIBSTDCXX: 18 if BUILD_WITH_STATIC_LIBSTDCXX:
19 EXTRA_LINK_ARGS.append("-static-libstdc++") 19 EXTRA_LINK_ARGS.append("-static-libstdc++")
20  20
21-CC_FILES = [os.path.normpath(cc_file) for cc_file in protoc_lib_deps.CC_FILES] 21-CC_FILES = [os.path.normpath(cc_file) for cc_file in protoc_lib_deps.CC_FILES]
22 PROTO_FILES = [ 22 PROTO_FILES = [
23 os.path.normpath(proto_file) for proto_file in protoc_lib_deps.PROTO_FILES 23 os.path.normpath(proto_file) for proto_file in protoc_lib_deps.PROTO_FILES
24 ] 24 ]
25-CC_INCLUDES = [ 25-CC_INCLUDES = [
26- os.path.normpath(include_dir) for include_dir in protoc_lib_deps.CC_INCLUDES 26- os.path.normpath(include_dir) for include_dir in protoc_lib_deps.CC_INCLUDES
27-] 27-]
28 PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE) 28 PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)
29  29
30 GRPC_PYTHON_TOOLS_PACKAGE = "grpc_tools" 30 GRPC_PYTHON_TOOLS_PACKAGE = "grpc_tools"
31@@ -217,7 +213,7 @@ if "win32" in sys.platform: 31@@ -248,7 +244,7 @@ if "win32" in sys.platform:
32 ) 32 )
33 if "64bit" in platform.architecture()[0]: 33 if "64bit" in platform.architecture()[0]:
34 DEFINE_MACROS += (("MS_WIN64", 1),) 34 DEFINE_MACROS += (("MS_WIN64", 1),)
35-elif "linux" in sys.platform or "darwin" in sys.platform: 35-elif "linux" in sys.platform or "darwin" in sys.platform:
36+elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: 36+elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform:
37 DEFINE_MACROS += (("HAVE_PTHREAD", 1),) 37 DEFINE_MACROS += (("HAVE_PTHREAD", 1),)
38  38
39 # By default, Python3 setuptools(distutils) enforces compatibility of 39
40@@ -271,7 +267,7 @@ def extension_modules(): 40@@ -286,7 +282,7 @@ def extension_modules():
41 os.path.join("grpc_tools", "main.cc"), 41 os.path.join("grpc_tools", "main.cc"),
42 os.path.join("grpc_root", "src", "compiler", "python_generator.cc"), 42 os.path.join("grpc_root", "src", "compiler", "python_generator.cc"),
43 os.path.join("grpc_root", "src", "compiler", "proto_parser_helper.cc"), 43 os.path.join("grpc_root", "src", "compiler", "proto_parser_helper.cc"),
44- ] + CC_FILES 44- ] + CC_FILES
45+ ] 45+ ]
46  46
47 plugin_ext = Extension( 47 plugin_ext = Extension(
48 name="grpc_tools._protoc_compiler", 48 name="grpc_tools._protoc_compiler",
49@@ -280,8 +276,7 @@ def extension_modules(): 49@@ -295,8 +291,7 @@ def extension_modules():
50 ".", 50 ".",
51 "grpc_root", 51 "grpc_root",
52 os.path.join("grpc_root", "include"), 52 os.path.join("grpc_root", "include"),
53- ] 53- ]
54- + CC_INCLUDES, 54- + CC_INCLUDES,
55+ ], 55+ ],
56 language="c++", 
57 define_macros=list(DEFINE_MACROS), 56 define_macros=list(DEFINE_MACROS),
58 extra_compile_args=list(EXTRA_COMPILE_ARGS), 57 extra_compile_args=list(EXTRA_COMPILE_ARGS),
 58 extra_link_args=list(EXTRA_LINK_ARGS),

cvs diff -r1.16 -r1.17 pkgsrc/net/py-grpcio/patches/patch-setup.py (expand / switch to unified diff)

--- pkgsrc/net/py-grpcio/patches/patch-setup.py 2023/11/02 12:46:44 1.16
+++ pkgsrc/net/py-grpcio/patches/patch-setup.py 2024/05/15 21:13:50 1.17
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1$NetBSD: patch-setup.py,v 1.16 2023/11/02 12:46:44 wiz Exp $ 1$NetBSD: patch-setup.py,v 1.17 2024/05/15 21:13:50 wiz Exp $
2 2
3Fix libatomic detection. 3Fix libatomic detection.
4Use dependencies in pkgsrc. 4Use dependencies in pkgsrc.
5 5
6--- setup.py.orig 2023-10-30 18:02:41.000000000 +0000 6--- setup.py.orig 2024-04-26 06:29:21.000000000 +0000
7+++ setup.py 7+++ setup.py
8@@ -350,33 +350,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ( 8@@ -335,34 +335,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
9 + ZLIB_INCLUDE 9 + ZLIB_INCLUDE
10 ) 10 )
11  11
12-EXTENSION_LIBRARIES = () 12-EXTENSION_LIBRARIES = ()
13-if "linux" in sys.platform: 13-if "linux" in sys.platform:
14- EXTENSION_LIBRARIES += ("rt",) 14- EXTENSION_LIBRARIES += ("rt",)
15-if not "win32" in sys.platform: 15-if not "win32" in sys.platform:
16- EXTENSION_LIBRARIES += ("m",) 16- EXTENSION_LIBRARIES += ("m",)
17-if "win32" in sys.platform: 17-if "win32" in sys.platform:
18- EXTENSION_LIBRARIES += ( 18- EXTENSION_LIBRARIES += (
19- "advapi32", 19- "advapi32",
20- "bcrypt", 20- "bcrypt",
21- "dbghelp", 21- "dbghelp",
@@ -24,37 +24,38 @@ Use dependencies in pkgsrc. @@ -24,37 +24,38 @@ Use dependencies in pkgsrc.
24-if BUILD_WITH_SYSTEM_OPENSSL: 24-if BUILD_WITH_SYSTEM_OPENSSL:
25- EXTENSION_LIBRARIES += ( 25- EXTENSION_LIBRARIES += (
26- "ssl", 26- "ssl",
27- "crypto", 27- "crypto",
28- ) 28- )
29-if BUILD_WITH_SYSTEM_ZLIB: 29-if BUILD_WITH_SYSTEM_ZLIB:
30- EXTENSION_LIBRARIES += ("z",) 30- EXTENSION_LIBRARIES += ("z",)
31-if BUILD_WITH_SYSTEM_CARES: 31-if BUILD_WITH_SYSTEM_CARES:
32- EXTENSION_LIBRARIES += ("cares",) 32- EXTENSION_LIBRARIES += ("cares",)
33-if BUILD_WITH_SYSTEM_RE2: 33-if BUILD_WITH_SYSTEM_RE2:
34- EXTENSION_LIBRARIES += ("re2",) 34- EXTENSION_LIBRARIES += ("re2",)
35-if BUILD_WITH_SYSTEM_ABSL: 35-if BUILD_WITH_SYSTEM_ABSL:
36- EXTENSION_LIBRARIES += tuple( 36- EXTENSION_LIBRARIES += tuple(
37- lib.stem[3:] for lib in pathlib.Path("/usr").glob("lib*/libabsl_*.so") 37- lib.stem[3:]
 38- for lib in sorted(pathlib.Path("/usr").glob("lib*/libabsl_*.so"))
38- ) 39- )
39+EXTENSION_LIBRARIES = ('grpc',) 40+EXTENSION_LIBRARIES = ('grpc',)
40  41
41 DEFINE_MACROS = (("_WIN32_WINNT", 0x600),) 42 DEFINE_MACROS = (("_WIN32_WINNT", 0x600),)
42 asm_files = [] 43 asm_files = []
43@@ -494,7 +468,7 @@ def cython_extensions_and_necessity(): 44@@ -466,7 +439,7 @@ def cython_extensions_and_necessity():
44 ] 45 ]
45 config = os.environ.get("CONFIG", "opt") 46 config = os.environ.get("CONFIG", "opt")
46 prefix = "libs/" + config + "/" 47 prefix = "libs/" + config + "/"
47- if USE_PREBUILT_GRPC_CORE: 48- if USE_PREBUILT_GRPC_CORE:
48+ if False: 49+ if False:
49 extra_objects = [ 50 extra_objects = [
50 prefix + "libares.a", 51 prefix + "libares.a",
51 prefix + "libboringssl.a", 52 prefix + "libboringssl.a",
52@@ -511,8 +485,6 @@ def cython_extensions_and_necessity(): 53@@ -483,8 +456,6 @@ def cython_extensions_and_necessity():
53 sources=( 54 sources=(
54 [module_file] 55 [module_file]
55 + list(CYTHON_HELPER_C_FILES) 56 + list(CYTHON_HELPER_C_FILES)
56- + core_c_files 57- + core_c_files
57- + asm_files 58- + asm_files
58 ), 59 ),
59 include_dirs=list(EXTENSION_INCLUDE_DIRECTORIES), 60 include_dirs=list(EXTENSION_INCLUDE_DIRECTORIES),
60 libraries=list(EXTENSION_LIBRARIES), 61 libraries=list(EXTENSION_LIBRARIES),