Closed barry-jin closed 3 years ago
Need to fix this.
We may add numpy dependency in our setup.py and ping it to be smaller than 1.20.0
.
That can only be a temporary solution. Please also reproduce the bug without gluonnlp and file a bur report upstream so the root cause can be addressed
Similarly, we have also triggered one bug of wikiextractor in which we should report to their repo.
Should we close this? @barry-jin
Yes, Let's close this issue first. I will find the root cause and report to pyarrow. After issues solved, we can revert #1456
Description
CPU unittest for macos with python3.7.9 will fail on
After I fix numpy version to 1.19.4, unittest for macos with python3.7.9 will pass (link).
pyarrow.lib.ArrowTypeError: ('Did not pass numpy.dtype object', 'Conversion failed for column label with type int64')
. Probably because numpy has been upgraded to 1.20.0rc1 in the most recent CI tests.Error Message
To Reproduce
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Fix numpy version to 1.19.4 in workflow. Efforts are needed to find the root cause.