@classmethod
def versions(cls, version):
    """Obtain all versions prior or equal to **version**.
        """
    version = cls.version(version)
    for v in cls.VERSIONS:
        yield v
        if v == version:
            break
