move versioning to before dependency installation for debugging