-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Handling of deprecated np.bool_
is not ideal
#1006
Comments
Looks like a similar error occurred here: materialsproject/fireworks#522. |
Data is passed through What do you think? |
I also think this is the right way to go! Thanks for the suggestion! I will close this issue when I have a moment to open a proper monty issue. |
Thanks @Andrew-S-Rosen ! Interestingly, the existing |
I will have to drill down a bit to see how to make this more of a minimal example than I have. Perhaps it is something to do with how it is nested in the data structure. Glad the tests pass though! |
Ah, I guess there's a bigger problem here - I realized that our last Auto Dependency Upgrades PR actually downgraded numpy to |
In my case, the issue only appears on numpy 1.x! 😅 |
Code snippet
What happened?
When trying to store a document with a numpy 1.x
np.bool_
entry, the underlyingbson
dependency raises anInvalidDocument
error and maggma can't store the document in the connected store. Some sanitization should likely be done to address this.Hmm, but the following works okay, so there is something in-between here:
Version
0.70.0
Which OS?
Log output
The text was updated successfully, but these errors were encountered: