Try reading the error messages (I don’t mean this in a rude way, just that they do explain clearly the problem):
np.boolwas a deprecated alias for the builtinbool. To avoid this error in existing code, useboolby itself.`
AttributeError: module ‘numpy’ has no attribute ‘float’.
np.floatwas a deprecated alias for the builtinfloat. To avoid this error in existing code, usefloatby itself.
You might have used a different version of numpy locally. You can check the versions of numpy locally and on github with this python line:
print(np.__version__)
The tests might be written for the older verson and you can try downgrading it numpy on gitpod. You can use this command:
pip install --force-reinstall numpy==1.20.3
This version should work.