v1.10.0 of scipy introduces a bug in the linalg.sqrtm function for complex valued matrices. Restrict maximum scipy version until this is resolved. See #815.
Fix deprecated float comprison for numpy1.24.0 which now throws an error
Ubuntu 18.04 is no longer supported. Updated ci.yml to ubuntu-latest.
Some fixes for failing CI: