MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / check_for_old_version

Function check_for_old_version

tensorflow/tools/ci_build/update_version.py:255–262  ·  view source on GitHub ↗

Check for old version references.

(old_version, new_version)

Source from the content-addressed store, hash-verified

253
254
255def check_for_old_version(old_version, new_version):
256 """Check for old version references."""
257 for old_ver in [old_version.string, old_version.pep_440_str]:
258 check_for_lingering_string(old_ver)
259
260 if major_minor_change(old_version, new_version):
261 old_r_major_minor = "r%s.%s" % (old_version.major, old_version.minor)
262 check_for_lingering_string(old_r_major_minor)
263
264
265def main():

Callers 1

mainFunction · 0.85

Calls 2

major_minor_changeFunction · 0.85

Tested by

no test coverage detected