adding custom InvalidVersion exception to to_maj_min_patch when version has more than 2 dots in version
adding custom InvalidVersion exception to to_maj_min_patch when version has more than 2 dots in version

codylane/python-semantic