czbiohub-sf / shrimPy

shrimPy: Smart High-throughput Robust Imaging & Measurement in Python
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

updating code for pydantic v2 #160

Closed tayllatheodoro closed 2 months ago

tayllatheodoro commented 2 months ago

I only made small changes, where pydantic was called, I updated to pydantic.v1 and I changed the list of dependencies to work with pydantic v2 and current iohub.

talonchandler commented 2 months ago

Looks good, thanks @tayllatheodoro! Merging.

FYI @ieivanov @edyoshikun I made a very short attempt to fully migrate to pydantic v2 like we did for biahub, and I found that most of the acquisition settings tests failed. To err on the conservative side and avoid breaking mantis acquisitions, let's merge this and I'll let you or Ed upgrade and test the acquisitions settings on the scope as needed.