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
- OS (where TypeDB server runs): Mac OS 11 Big Sur
- TypeDB version (and platform): N/A
- TypeDB client-python version: client-python==2.0.0a5
- 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.