def METHOD_NAME(self):
    assert versions.components("5.0.3") == (5, 0, 3, None)
    assert versions.components("7.12.1-SNAPSHOT") == (7, 12, 1, "SNAPSHOT")
    assert versions.components("25", strict=False) == (25, None, None, None)
    assert versions.components("5.1", strict=False) == (5, 1, None, None)