materialsproject / api

New API client for the Materials Project
https://materialsproject.github.io/api/
Other
105 stars 34 forks source link

pydantic==2 not supported, but advertised #824

Closed pmrv closed 11 months ago

pmrv commented 1 year ago

We ran into a small dependency problem, because something seems to have pulled in pydantic==2, which then triggers an error on import of mp_api because it imports some pydantic object from an invalid location. You can find a full stack trace over here. I would think the quickest fix is to add <2 to the version spec of pydantic.

munrojm commented 1 year ago

Thanks for picking this out. I have just fixed this upstream in emmet-core.

pmrv commented 1 year ago

Great, thanks for the quick reply! :)