Description
gRPC Python =========== Package for gRPC Python. Installation ------------ gRPC Python is available for Linux, macOS, and Windows. Installing From PyPI ~~~~~~~~~~~~~~~~~~~~ If you are installing locally... :: $ pip install grpcio Else system wide (on Ubuntu)... :: $ sudo pip install grpcio If you're on Windows make sure that you installed the :code:`pip.exe` component when you installed Python (if not go back and install it!) then invoke: :: $ pip.exe install grpcio Windows users may need to invoke :code:`pip.exe` from a command line ran as administrator. n.b. On Windows and on Mac OS X one *must* have a recent release of :code:`pip` to retrieve the proper wheel from PyPI. Be sure to upgrade to the latest version! Installing From Source ~~~~~~~~~~~~~~~~~~~~~~ Building from source requires that you have the Python headers (usually a package named :code:`python-dev`). :: $ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice $ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc $REPO_ROOT $ cd $REPO_ROOT $ git submodule update --init # To include systemd socket-activation feature in the build, # first install the `libsystemd-dev` package, then : $ export GRPC_PYTHON_BUILD_WITH_SYSTEMD=1 # For the next two commands do `sudo pip install` if you get permission-denied errors $ pip install -r requirements.txt $ GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install . You cannot currently install Python from source on Windows. Things might work out for you in MSYS2 (follow the Linux instructions), but it isn't officially supported at the moment. Troubleshooting ~~~~~~~~~~~~~~~ Help, I ... * **... see the following error on some platforms** :: /tmp/pip-build-U8pSsr/cython/Cython/Plex/Scanners.c:4:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. You can fix it by installing `python-dev` package. i.e :: sudo apt-get install python-dev Versioning ~~~~~~~~~~ gRPC Python is developed in a monorepo shared with implementations of gRPC in other programming languages. While the minor versions are released in lock-step with other languages in the repo (e.g. 1.63.0 is guaranteed to exist for all languages), patch versions may be specific to only a single language. For example, if 1.63.1 is a C++-specific patch, 1.63.1 may not be uploaded to PyPi. As a result, it is __not__ a good assumption that the latest patch for a given minor version on Github is also the latest patch for that same minor version on PyPi.
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 1.80.0 | Imported from PyPI (1.80.0) | Low | 4/21/2026 |
| v1.80.0 | This is release 1.80.0 ([glimmering](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [ssl] Implement TLS private key signer in Python. ([#41701](https://github.com/grpc/grpc/pull/41701)) - [TLS Credentials]: Priva | Medium | 3/26/2026 |
| v1.80.0-pre1 | This is a prerelease of gRPC Core 1.80.0 (glimmering). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 3/13/2026 |
| v1.78.1 | This is release 1.78.1 ([gutsy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Python --- *Added 2026-03-12:*\ *CAUTION! This gRPC Python release 1.78.1 was yanked from PyPI on 2026-02-26 due to issue #41725.* - **[REVERT | Low | 2/20/2026 |
| v1.78.0 | This is release 1.78.0 ([gutsy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. C++ --- - adding address_sorting dep in naming test build. ([#41045](https://github.com/grpc/grpc/pull/41045)) Objective-C --- - [Backport | Low | 2/4/2026 |
| v1.78.0-pre2 | This is a prerelease of gRPC Core 1.78.0 (gutsy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 1/15/2026 |
| v1.78.0-pre1 | This is a prerelease of gRPC Core 1.78.0 (gutsy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 12/25/2025 |
| v1.76.0 | This is release 1.76.0 ([genuine](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - Prioritize system CA over bundled CA. ([#40583](https://github.com/grpc/grpc/pull/40583)) - [event_engine] Introduce a event_engine | Low | 10/20/2025 |
| v1.76.0-pre1 | This is a prerelease of gRPC Core 1.76.0 (genuine). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 10/2/2025 |
| v1.75.1 | This is release gRPC Core 1.75.1 (gemini). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. ## What's Changed ### Python * Release grpcio wheels with Python 3.14 support (#40403) * Asyncio: fixes grpc shutdown race condition occurring during python interpreter finalizations. (#40447) * This also addresses previously reported issues w | Low | 9/26/2025 |
| v1.75.0 | This is release 1.75.0 ([gemini](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Security] Cherry Pick Spiffe Verification. ([#40515](https://github.com/grpc/grpc/pull/40515)) - [Python][Typeguard] Part 3 - Add T | Low | 9/15/2025 |
| v1.75.0-pre1 | This is a prerelease of gRPC Core 1.75.0 (gemini). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 8/25/2025 |
| v1.74.1 | This is release gRPC Core 1.74.1 (gee). This is a patch release for grpc-ruby. Ruby --- - [Backport of #40394 to v1.74.x] Mark credential object in channel to fix https://github.com/grpc/grpc/issues/40368 | Low | 8/7/2025 |
| v1.74.0 | This is release 1.74.0 ([gee](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [OTel C++, Posix EE] Plumb TCP write timestamps and metrics to OTel tracers. ([#39946](https://github.com/grpc/grpc/pull/39946)) - [eve | Low | 7/23/2025 |
| v1.74.0-pre2 | This is a prerelease of gRPC Core 1.74.0 (gee). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 7/17/2025 |
| v1.74.0-pre1 | This is a prerelease of gRPC Core 1.74.0 (gee). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 7/11/2025 |
| v1.71.2 | This is release 1.71.2 ([gears](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. C++ --- - [Backport of #39266 to v1.71.x] Protect grpc generated sources from unwanted system macros (#39484). Python --- - [Backport of #3989 | Low | 6/28/2025 |
| v1.72.2 | This is release 1.72.2 ([gusto](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Python --- - [Backport of #39894 to v1.72.x] Fix the issue with gRPC Python Client not reconnecting in certain situations: #38290, #39113, #39631. ( | Low | 6/26/2025 |
| v1.73.1 | This is release 1.73.1 ([gradient](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Python --- - [Backport of #39894 to v1.73.x] Fix the issue with gRPC Python Client not reconnecting in certain situations: #38290, #39113, #39631 | Low | 6/25/2025 |
| v1.73.0 | This is release 1.73.0 ([gradient](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- As of this version, gRPC on MacOS & iOS will utilize Abseil's synchronization features, aligning it with other platforms. Should you en | Low | 6/7/2025 |
| v1.72.1 | This is release gRPC Core 1.72.1 (gusto). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. C++ --- - [Backport of #39266 to v1.71.x] Protect grpc generated sources from unwanted system macros (#39484). Python --- - [Backport of #39609 to v1.71.x] Pin Cython to 3.1.1 (#39632). This addresses severa | Low | 6/2/2025 |
| v1.73.0-pre2 | This is a prerelease of gRPC Core 1.73.0 (gradient). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 5/31/2025 |
| v1.73.0-pre1 | This is a prerelease of gRPC Core 1.73.0 (gradient). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 5/24/2025 |
| v1.70.2 | This is release gRPC Core 1.70.2 (genius). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. * [[EventEngine] Fix busy loop in thread pool when shutting down (#39258) | Low | 5/5/2025 |
| v1.71.1 | This is release gRPC Core 1.71.1 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). * [RLS] fix use-after-free from accessing config after LB policy shutdown (https://github.com/grpc/grpc/pull/39303) * [EventEngine] Fix busy loop in thread pool when shutting down (https://github.com/grpc/grpc/pull/39258) | Low | 4/23/2025 |
| v1.72.0 | This is release gRPC Core 1.72.0 (gusto). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. | Low | 4/23/2025 |
| v1.72.0-pre1 | This is a prerelease of gRPC Core 1.72.0 (gusto). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 4/8/2025 |
| v1.71.0 | This is release gRPC Core 1.71.0 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. Core --- - [CallAttemptTracer] Fix call attempt tracer lifetimes for retries (#38729). ([#38796](https://github.com/grpc/grpc/pull/38796)) - [pick_first] fix bug that caused us to stop triggering connection attempts. ([#38714](https://github | Low | 3/7/2025 |
| v1.71.0-pre3 | This is a prerelease of gRPC Core 1.71.0 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 3/3/2025 |
| v1.71.0-pre2 | This is a prerelease of gRPC Core 1.71.0 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 2/22/2025 |
| v1.70.1 | This is release 1.70.1 ([genius](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- * [Backport-v1.70.x] Added ws2_32 to address_sorting (https://github.com/grpc/grpc/pull/38657) Ruby --- - Add ruby 3.4 support to pr | Low | 1/31/2025 |
| v1.70.0 | This is release 1.70.0 ([genius](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- * [BoringSSL] Update third_party/boringssl-with-bazel. (#38274) C++ --- - gRPC C++ begins to require C++17 or later to build and u | Low | 1/23/2025 |
| v1.70.0-pre1 | This is a prerelease of gRPC Core 1.70.0 (genius). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 1/9/2025 |
| v1.69.0 | This is release 1.69.0 ([gridiron](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Alarm] Fix Alarm reuse on cancellation. ([#38114](https://github.com/grpc/grpc/pull/38114)) - [xDS RBAC] Support string_match in | Low | 12/24/2024 |
| v1.69.0-pre1 | This is a prerelease of gRPC Core 1.69.0 (gridiron). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 12/9/2024 |
| v1.68.2 | This is release gRPC Core 1.68.2 (groovy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. C++ --- - [CI] Added a gRPC_BUILD_TESTS guard to third_party protos (https://github.com/grpc/grpc/pull/38182) | Low | 12/3/2024 |
| v1.68.1 | This is release 1.68.1 ([groovy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [xDS RBAC] Support string_match in HeaderMatcher (#38185). ([#38198](https://github.com/grpc/grpc/pull/38198)) Python --- *Adde | Low | 11/27/2024 |
| v1.68.0 | This is release 1.68.0 ([groovy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [XdsClient][Backport] Add missing authority to XdsClient metrics scope (#38009). ([#38023](https://github.com/grpc/grpc/pull/38023)) - | Low | 11/16/2024 |
| v1.68.0-pre1 | This is a prerelease of gRPC Core 1.68.0 (groovy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 10/31/2024 |
| v1.67.1 | This is release gRPC Core 1.67.1 (gesundheit). This is a Python-only patch release. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. | Low | 10/29/2024 |
| v1.67.0 | This is release 1.67.0 ([gesundheit](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [ruby] reduce an INFO log to DEBUG (backport https://github.com/grpc/grpc/pull/37633). ([#37686](https://github.com/grpc/grpc/pull | Low | 10/8/2024 |
| v1.66.2 | This is release gRPC Core 1.66.2 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. ## What's Changed ### Python * Added support for Python 3.13 and templating system for supported Python versions (#37643) **Full Changelog**: https://github.com/grpc/grpc/compare/v1.66.1...v1.66.2 | Low | 9/28/2024 |
| v1.67.0-pre1 | This is a prerelease of gRPC Core 1.67.0 (gesundheit). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 9/17/2024 |
| v1.66.1 | This is release gRPC Core 1.66.1 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. # Core * Enable EDS dualstack support by default (https://github.com/grpc/grpc/pull/37545) | Low | 8/26/2024 |
| v1.66.0 | This is release 1.66.0 ([gladiator](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Python Otel] Manage call tracer life cycle use call arena. (v1.66.x backport). ([#37479](https://github.com/grpc/grpc/pull/37479)) | Low | 8/22/2024 |
| v1.65.5 | This is release gRPC Core 1.65.5 (gnarly). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. * [OTel C++] Fix race when adding and removing callbacks (#37509) * [RlsLB] Fix Deadlock (#37503) * [Python Otel] Manage call tracer life cycle use call arena. (v1.65.x backport) (#37478) | Low | 8/17/2024 |
| v1.66.0-pre5 | This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 8/16/2024 |
| v1.66.0-pre4 | This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 8/15/2024 |
| v1.66.0-pre3 | This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 8/7/2024 |
| v1.66.0-pre2 | This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. | Low | 8/2/2024 |
| v1.58.3 | This is release gRPC Core 1.58.3 (goku). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. - https://github.com/grpc/grpc/pull/37359 Fix a bug in hpack error handling | Low | 8/2/2024 |
