Check the installed version.

Try the current import.

Update the code to the class based API.

If existing code depends on the old helper, pin the older release instead.

Re-run the failing script end to end.