Closed seanpmorgan closed 1 year ago
@MarkDaoust when time allows can you take a look at the failure for doc build:
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/usr/local/lib/python3.9/site-packages/google/protobuf/internal/__init__.py)
Seems like protobuf changes recently.
Here is how we run the tests: https://github.com/tensorflow/addons/blob/master/tools/docker/sanity_check.Dockerfile#L81-L98 https://github.com/tensorflow/addons/blob/master/tools/install_deps/doc_requirements.txt
Yeah, sorry about that.
TF 2.12 is switching to the new version of protobuf.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/pip_package/setup.py#L100
I updated the docs tools a few weeks ago.
You're going to need to follow for the 2.12 compatible release.
But if you do want this to just pass you could point the requirement to the commit just before the update: git+https://github.com/tensorflow/docs@c1510dc5ad73aa829249822798e6263360b0f62a
Description
Test suite has several uses of np.bool and np.int which are no longer in the most recent version of numpy.