@staticmethod
  def parse(version):
    try:
      return Semver.parse(version)
    except ValueError:
      return Namedver.parse(version)
Test manual typechecking for elements like marks
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/task/scm_publish_mixin.py/Version.parse--crossover with--dataset/ETHPy150Open wrobstory/vincent/tests/test_vega.py/TestVisualization.test_manual_typecheck