def write_package_version_file(package_version_string):
    package_version_file_contents = 'version = "{}"  # DO NOT COMMIT\n'.format(package_version_string)

    _try_rename(_VERSION_FILE_PATH, _VERSION_FILE_BACKUP_PATH)  # Backup the original file.
    fs.write_file(package_version_file_contents, _VERSION_FILE_PATH)
Write the specfied version string to package_version.py. This method is intended to be called during the process of
dataset/ETHPy150Open box/ClusterRunner/app/util/autoversioning.py/write_package_version_file