typedb/typedb-driver-python

Incompatibility with Python >=3.8 caused by grpcio 1.24

alexjpwalker opened this issue · 0 comments

Description

grpcio fails to build using bazel build //... on Python 3.8. The C compiler throws multiple unresolvable errors.

The issue can be resolved by upgrading grpcio to 1.33.1.

Given that this upgrade is desirable anyway, we should get on with it.

Environment

  1. OS (where Grakn server runs): Mac OS 11
  2. Grakn version (and platform): Grakn Core 1.8
  3. Grakn client-python version: client-python 1.8
  4. Python version: 3.8.5

Reproducible Steps

bazel build //...

Additional information

Blindly upgrading gRPC is not sensible - it causes an issue where all RPC requests fail in Grakn. However, we can resolve this by also upgrading Netty to 4.1.51.