code: def write_to_version_file(filename, versions):
      """Write the given version number to the given _version.py file."""
      os.unlink(filename)
      contents = json.dumps(
          versions, sort_keys=True, indent=1, separators=(",", ": ")
      )
      with open(filename, "w") as f:
          f.write(SHORT_VERSION_PY % contents)
  
      print("set {} to '{}'".format(filename, versions["version"]))
  
imports: import configparser
  import errno
  import json
  import os
  import re
  import subprocess
  import sys
label_desc: Use image node_id 11 for calling a global function with example usage: write_to_version_file(filename, versions) without return types