code: def verify_semver(version):
      """Verify if version is compliant with semantic versioning.
  
      https://semver.org/
      """
  
      try:
          return str(semver.VersionInfo.parse(version))
      except ValueError as e:
          raise (e)
  
file_path: streamlit/scripts/update_version.py
imports: import fileinput
  import os
  import re
  import sys
  import packaging.version
  import semver
label_desc: Use image node_id 2 for calling a global function with example usage: verify_semver(version) and returns: str