code: def _get_next_version_info(version_info):
      next = list(version_info[:])
      next[-1] += 1
      return tuple(next)
  
imports: import sys
  import os
  from os.path import exists, basename, splitext
  import re
  import codecs
  import logging
  import optparse
  import json
label_desc: Use image node_id 4 for calling a global function with example usage: _get_next_version_info(version_info) and returns: tuple