FaradayInstitution / BPX

BPX schema in pydantic and JSON schema format, and parsers
MIT License
25 stars 12 forks source link

feat: migrate to pydantic v2 #51

Open chuckliu1979 opened 6 months ago

chuckliu1979 commented 6 months ago

bpx still use pydantic v1, our project need pydantic v2, hence i migrate this project to pydantic v2

chuckliu1979 commented 6 months ago

rollback typing hint for python 3.8 compat, tested on python 3.8/3.9/3.10/3.11/3.12, all pass.

agriyakhetarpal commented 5 months ago

Apologies for seeing this late, @chuckliu1979 – just triggered CI for you here, thanks!