from __future__ import annotations class InvalidPythonVersion(Exception): """Raised when parsing an invalid python version""" pass