science/py-qcengine: Fix build
The build was broken by the py-pydantic disaster when some
ports depend on pydantic1 and some - on pydantic2,
which are 2 conflicting incompatible versions of the same
pydantic package.
Reported by: fallout
(cherry picked from commit 37393e7794f04372d047538ad6b76f9a535c387a)