def version_lower_than(gaphor_version, version):
    """
    Only major and minor versions are checked.

    >>> version_lower_than('0.3.0', (0, 15, 0))
    True

    """
    parts = gaphor_version.split('.')
    return tuple(map(int, parts[:2])) < version[:2]
