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 %s to '%s'" % (filename, versions["version"]))
  
imports: import configparser
  import errno
  import json
  import os
  import re
  import subprocess
  import sys
  from typing import Callable, Dict
  import functools
label_desc: Use image node_id 11 for calling a global function with example usage: write_to_version_file(filename, versions) without return types