You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a poetry update and my environment got updated to numpy 1.24.3. In that version of numpy, comparisons of numpy timedelta or timestamp objects with pandas Timedelta and Timestamp objects now return a bool instead of np.bool_, when the numpy object is on the LHS of the comparison. The type declarations didn't change - they still return Any.
So we need to do the following:
Update the pyproject.toml to point to numpy 1.24.3
Update tests of the following form in test_scalars.py to have check compare the result to bool instead of np.bool_:
I did a
poetry update
and my environment got updated to numpy 1.24.3. In that version of numpy, comparisons of numpytimedelta
ortimestamp
objects with pandasTimedelta
andTimestamp
objects now return abool
instead ofnp.bool_
, when the numpy object is on the LHS of the comparison. The type declarations didn't change - they still returnAny
.So we need to do the following:
pyproject.toml
to point to numpy 1.24.3test_scalars.py
to havecheck
compare the result tobool
instead ofnp.bool_
:I think there are about 14 such tests.
The text was updated successfully, but these errors were encountered: