Changed dependencies requirement because of deprecation warnings