typedb / typedb-driver-python

TypeDB Driver for Python

Home Page:https://typedb.com

Repository from Github https://github.comtypedb/typedb-driver-pythonRepository from Github https://github.comtypedb/typedb-driver-python

Bazel build fails in Python 3.8.7 and 3.9.1

alexjpwalker opened this issue · comments

Description

bazel build //... fails with the error: "TypeError: expected string or bytes-like object" (running python setup.py egg_info)

Environment

  1. OS (where TypeDB server runs): Mac OS 11 Big Sur
  2. TypeDB version (and platform): N/A
  3. TypeDB client-python version: client-python==2.0.0a5
  4. Python version: 3.8.7 and 3.9.1

Reproducible Steps

bazel build //...

Expected Output

Project should build

Actual Output

It fails with the error: "TypeError: expected string or bytes-like object" (running python setup.py egg_info)

Additional information

pip3 install -r requirements_dev.txt seems to succeed in these Python versions. So I think the issue is not with pip itself but with Bazel's implementation of it.

This is proving rather fiddly to re-test at all on my Mac right now. It certainly succeeds with the default Python currently installed on my Mac, which is 3.8.5.