code: def strip_leading_zeros_from_version(version: str) -> str:
      """
      Strips leading zeros from version number.
  
      This converts 1974.04.03 to 1974.4.3 as the format with leading month and day zeros is not accepted
      by PIP versioning.
  
      :param version: version number in CALVER format (potentially with leading 0s in date and month)
      :return: string with leading 0s after dot replaced.
      """
      return ".".join(str(int(i)) for i in version.split("."))
  
imports: from __future__ import annotations
label_desc: Use image node_id 1 for calling a global function with example usage: strip_leading_zeros_from_version(version) and returns: str