relax dependency version constraints & fix deprecation warnings