code: def bump_setup_py(root, previous_version, new_version):
      path = os.path.join(root, "setup.py")
      pattern = re.compile(
          "^    version='%s',$" % previous_version, re.MULTILINE
      )
      repl = "    version='%s'," % new_version
      bump(path, pattern, repl)
  
imports: import os.path
  import re
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: bump_setup_py(root, previous_version, new_version) without return types