Open DominicOram opened 1 month ago
Once we can, we should then update some of the way we use pydantic features, e.g.: https://github.com/DiamondLightSource/dodal/blob/fe3f48cc7e65e05ca50025d22a2161bef4eadba3/src/dodal/devices/detector/detector.py#L59
We are now blocked by scanspec requiring numpy>=2.0 and p4p requiring numpy<2.0
blueapi and nexgen also still pinned to pydantic<2 (so we can't pin to >2 and have a working environment)
additionally some changes are needed to get dodal in sync with ophyd_async 0.5+
Waiting for another release of p4p
We should make sure that all our dependencies etc. work on pydantic v2
Acceptance Criteria
pydantic>2
filterwarnings
pip install