Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

Upgrade grpcio version to 1.39.0 #20

Open
@etherops

Description

@etherops

grpcio version 1.30.0 has been problematic in 2 fashions.

1 - Compilation issues on later versions of macOS

As detailed in this github issue, grpcio is not building on some versions of Catalina and Big Sur. There are workaround (we used the following), but grpcio has fixed this in 1.39.0 (currently in pre-release).

brew update
brew install openssl
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 pip install temporal-python-sdk

2 - Pre-build wheel unavailable for newer python versions

As detailed here pip install can take an inordinant amount of time to complete when a prebuilt wheel cannot be found for the platform. For grpcio==1.30.0 there is no wheel for python 3.9 because it was not available at the time. Upgrading to at least 1.34.0 will cover python 3.9 (according to https://pypi.org/project/grpcio-tools/1.34.0/#files).

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions