code: def guess_next_dev_version(version):
      if version.exact:
          return version.format_with("{tag}")
      else:
  
          def guess_next_version(tag_version):
              return default_version.replace("-SNAPSHOT", "")
  
          return version.format_next_version(guess_next_version)
  
imports: import contextlib
  import os
  import os.path
  from os.path import join
  import re
  import shlex
  import sys
  import pkg_resources
  from setuptools import setup, Extension, Distribution, find_namespace_packages
  from Cython.Distutils import build_ext
  import Cython
label_desc: Use image node_id 4 for calling a global function with example usage: guess_next_dev_version(version) and returns: version, version, default_version