summaryrefslogtreecommitdiff
path: root/net/py-grpcio/patches/patch-setup.py
AgeCommit message (Collapse)AuthorFilesLines
2022-07-06grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.47.0adam1-5/+8
Release v1.47.0 Latest For gRPC documentation, see grpc.io. For previous releases, see Releases. This release contains refinements, improvements, and bug fixes, with highlights listed below. Announcement gRPC C++ 1.47.0 is the first release requiring C++14 (proposal). For those who cannot upgrade to C++14 right now, you can use gRPC C++ 1.46.x in the meantime and gRPC C++ 1.46.x will be maintained by having fixes for critical bugs (P0) and security fixes until 2023-06-01. Core xDS: Workaround to get gRPC clients working with istio Bump core version to 25.0.0 for upcoming release. Initial support for Haiku. Add NetBSD support (Community-supported). server: per-rpc backend metric reporting. Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet). C++ Expose NoOpCertificateVerifier to C++. RouteGuide example: Abort if database file not found. C# C#: Suppress CS8981 in generated source. Python Set Correct Platform Tag in Wheels on Mac OS with Python 3.10 Removed manylinux2010 python artifacts. Allow grpcio to be built against system abseil-cpp. [Python] Add an UDS example. Ruby Backport "Support for prebuilt Ruby binary on x64-mingw-ucrt platform Upgrade ruby rake-compiler-dock images (and stop building ruby gem artifacts on mac, in favor of rake-compile-dock darwin builds). Other Downgrade io_bazel_rules_go to v0.27.0 restore Bazel 3.x support.
2022-02-18grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.44.0adam1-6/+7
Release v1.44.0 Core xDS: Rbac filter updates Fix xDS client for multiple watchers. bump C-core version for upcoming release. Add a trace to list which filters are contained in a channel stack. Remove grpc_httpcli_context. xDS: Add support for RBAC HTTP filter. API to cancel grpc_resolve_address. Replace work serializer with a mutex in c-ares resolver. xDS: Add graceful shutdown for old connections on listener resource update. C++ Promote ClientContext::set_wait_for_ready to be non-experimental. Python Add python async example for hellostreamingworld using generator. Disable __wrap_memcpy hack for Python builds. Bump Bazel Python Cython dependency to 0.29.26. Fix libatomic linking on Raspberry Pi OS Bullseye. Allow generated proto sources in remote repositories for py_proto_library.
2021-04-16grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.37.0adam1-7/+7
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.
2020-12-07py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.34.0adam1-5/+7
1.34.0: Incur setuptools as an dependency for grpcio_tools. Stop the spamming log generated by ctrl-c for AsyncIO server. [gRPC Easy] Make Well-Known Types Available to Runtime Protos. Bump MACOSX_DEPLOYMENT_TARGET to 10.10 for Python. Make Python 2 an optional dependency for Bazel build. [Linux] [macOS] Support pre-compiled Python 3.9 wheels.
2020-10-21grpc: updated to 1.33.1adam1-14/+5
Release v1.33.1 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS. Expose Cronet error message to the application layer. Remove grpc_channel_ping from surface API. Do not send BDP pings if there is no receive side activity. C++ Makefile: only support building deps from submodule. C# Add trimming attribute to BindServiceMethodAttribute. Fix incremental build of csproj projects depending on grpc. Python [Backport] Make Python 2 an optional dependency for Bazel build. Allow asyncio API to be imported as grpc.aio. [gRPC Easy] Fix import errors on Windows. Make version check for importlib.abc in grpcio-tools more stringent.
2020-09-10grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.32.0adam1-11/+12
Release v1.32.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Remove stream from stalled lists on remove_stream. Do not cancel RPC if send metadata size if larger than peer's limit. Don't consider receiving non-OK status as an error for HTTP2. Keepalive throttling. Include the target_uri in "target uri is not valid" error messages. Fix "cannot send compressed message large than 1024B" in cronet_transport. Receive SETTINGS frame on clients before declaring subchannel READY. Enabled GPR_ABSEIL_SYNC. Experimental xDS v3 support. C++ Upgrade bazel used for all tests to 2.2.0. Remove test targets and test helper libraries from Makefile. Fix repeated builds broken by re2's cmake. Log the peer address of grpc_cli CallMethod RPCs to stderr. Python [gRPC Easy] GA: This release enables runtime import of .proto Files. (gRFC, PR) Together with support for simple stubs present since 1.29, this completes gRPC Easy. To start using these features, take a look at the example. If using simple stubs without runtime proto import, generated code must be regenerated with an up-to-date version of the grpcio-tools package. [Aio] Graduation from experimental folder. [Aio] Prevent call objects from outliving its parent channel or server. [Aio] Add a fail-back polling mode for Windows+3.8+. Raises an exception when port binding failed. Implement compute_engine_channel_credentials in Python. Fix bazel out directory when using external repo.
2020-08-07grpc: updated to 1.31.0adam1-7/+7
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.
2020-07-09grpc: updated to 1.30.1adam1-38/+45
Release v1.30.1 This release is a patch specifically for the Ruby bindings Release v1.30.0 Core This release adds an xDS URI scheme called xds. This is the stable version of the scheme xds-experimental that was introduced in v1.28.0. xds-experimental scheme will be removed in subsequent releases so you must switch to xds scheme instead. xds scheme is a client side implementation of xDSv2 APIs. This allows a gRPC client written in C++, Python, Ruby, PHP and C# to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching, default path (“” or “/”) matching and cluster route action are supported. The features supported in a given release are documented here. Remove unnamed typedef structs in src/core. Support xDS via both xds and xds-experimental URI schemes. Fix sorting of gRPCLB addresses when resolved via DNS. Support local creds in grpc_cli. Add some additional delay when sending pings without there being activity on receive side. Added GRPC_TSAN_SUPPRESSED and GRPC_ASAN_SUPPRESSED. Fail decompression when the gzip trailer is missing. Include source address in tcp posix async connect errors. Fix HTTP status conversion inconsistencies. Add GRPC_ARG_HTTP_PROXY channel argument. Include the query type and name in all c-ares DNS error messages. Include the destination address in synchronous TCP connect errors. Use aligned calculation to determine transport stream from call data. Fixing bug with END_STREAM if header has continuations. Fail writes when End of stream has been received. C++ Fix missing include for std::string. Don't override cmake cxx standard when already set by the user. Grpc.Tools: Fix cpp paths in tools to match actual codegen. TlsCredentialsOption API optimization. Fixed MinGW 7.3.0 shared library compile and link issues. Fix interceptor batch method FailHijackedRecvMessage for async APIs. Python Add Aio stream stream client interceptor support. [Aio] Add AsyncIO support for Channelz. Stop memory leak when Python channel is deallocated without invoking "close". Expose ALTS client/server credentials in Python API. [Aio] Stream Unary client interceptor. [Aio] Make sync handlers runnable in AsyncIO server. [Aio] Add AsyncIO support to grpcio-status. [Aio] Implement the Unary Stream client interceptor.
2020-04-04grpc: updated to 1.28.1adam1-5/+15
Release v1.28.1 This release is a patch specifically for the Python bindings to address 22546. Python Backport 22549 to 1.28 (Only load simple stubs code on 3.6+ interpreters). Release v1.28.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core feat: add x-goog-user-project header from quota_project_id field. Reintroduce 21527 (boringssl submodule unification - take two). Reintroduce 21527 (boringssl submodule unification). Treat an empty http_proxy mean "Don't use proxy" and skip parsing it. C++ This release adds an experimental client side implementation of xDSv2 APIs. This allows a gRPC client written in C++ to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching and cluster route action is supported. More features will be added in future. Cherrypick 22147: xds: send no-overprovisioning client capability and populate user_agent fields. Fix regression in MSVC runtime flag. Unify boringssl submodules and use non-developer boringssl cmake build. Objective-C Fix ObjC memory consumption increase as app runs. Python Backport Simple Stubs Codegen to 1.28. [Aio] Generate gRPC AsyncIO API Reference. Experimental: Implement Top-Level Invocation Functions Not Requiring an Explicit Channel. [Aio] Implement health checking servicer in AsyncIO. [Aio] Prohibit mixing two styles of API on client side. [Aio] Add channel_ready helper function. [Aio] Support compression for both client and server. [Aio] Close ongoing calls when the channel is closed. [Aio] Fix the server credentials & improve socket implementation. [Aio] Support wait-for-ready mechanism. [Aio] Fix the windows build failure. Stop building manylinux1 images. [Aio] Move status and initial metadata handling to Cython. Ruby Backport to 1.28.x: add ruby 2.7 to mac binary pkgs. Add ruby-2.7 to build process of binary gems for Windows and Linux.
2019-10-24py-grpcio[-tools]: updated to 1.24.3adam1-7/+7
1.24.3 Add strip_prefix to python protoc plugin and py_grpc_library. Switch py_proto_library from using src to deps to conform with google3. Expose local credentials on Python layer. Make default vtable for pointer argument a constant. Gracefully handle errors from Future object callbacks. Gracefully handle exceptions raised by signal handlers on the main thread while unary RPCs are in flight. Separate py_grpc_library and py_proto_library. Add wait_for_termination method to grpc.Server. Add Python Cancellation Example.
2019-04-19py-grpcio: updated to 1.20.0adam1-21/+10
Release v1.20.0 Add Python example for error handling. python docs: details are UTF-8 encodable, not just ASCII. Use C-Core API to perform time conversion. Use correct C integer types in Cython. Add the missing grpc_cfstream dependency. Strip Python wheel binary. Simplify batch operations event interpretation. add enter_graceful_shutdown() to health service.
2019-03-28py-grpcio: Update to 1.19.1leot1-10/+10
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)
2018-08-04net/py-grpcio: Update to 1.13.0minskim1-11/+34
Notable changes: - Eliminate grpcio package dependency on protobuf package - A new grpc.Channel.close method is introduced and correct use of gRPC Python now requires that channels be closed after use. - Python errors have become more verbose. - GRPC_ENABLE_FORK_SUPPORT=false is no longer required when running fork-exec. - Relying on an explicit with statement or explicitly calling Channel.close to release the underlying resources in Channel objects is now a required coding practice starting in v1.13.0.
2018-04-28net/py-grpcio: Import version 1.11.0minskim1-0/+33
grpcio is a Python package for gRPC. Packaged by Kethzer Docteur for pkgsrc-wip and updated by me.