use ensure_packages from stdlib