diff --git a/add_to_pydotorg.py b/add_to_pydotorg.py index 286f834a..c0fc129c 100755 --- a/add_to_pydotorg.py +++ b/add_to_pydotorg.py @@ -96,10 +96,8 @@ def run_cmd( def macos_description(version: tuple[int, int, int]) -> str: if version >= (3, 14): return "for macOS 10.15 and later" - elif version >= (3, 12, 6): - return "for macOS 10.13 and later" else: - return "for macOS 10.9 and later" + return "for macOS 10.13 and later" def get_file_descriptions( @@ -143,33 +141,6 @@ def get_file_descriptions( ("Windows embeddable package (32-bit)", "windows", False, ""), ), (rx(r"\.exe$"), ("Windows installer (32-bit)", "windows", False, "")), - ( - rx(r"-macosx10\.5(_rev\d)?\.(dm|pk)g$"), - ( - "macOS 32-bit i386/PPC installer", - "macos", - False, - "for Mac OS X 10.5 and later", - ), - ), - ( - rx(r"-macosx10\.6(_rev\d)?\.(dm|pk)g$"), - ( - "macOS 64-bit/32-bit Intel installer", - "macos", - False, - "for Mac OS X 10.6 and later", - ), - ), - ( - rx(r"-macos(x)?10\.9\.(dm|pk)g$"), - ( - "macOS 64-bit Intel-only installer", - "macos", - False, - "for macOS 10.9 and later, deprecated", - ), - ), ( rx(r"-macos(x)?1[1-9](\.[0-9]*)?\.pkg$"), ( diff --git a/tests/test_add_to_pydotorg.py b/tests/test_add_to_pydotorg.py index aedac096..89f5a675 100644 --- a/tests/test_add_to_pydotorg.py +++ b/tests/test_add_to_pydotorg.py @@ -133,12 +133,6 @@ def test_minor_version_tuple(release: str, expected: tuple[int, int]) -> None: @pytest.mark.parametrize( ["release", "expected"], [ - ((3, 9, 0), "for macOS 10.9 and later"), - ((3, 10, 0), "for macOS 10.9 and later"), - ((3, 11, 0), "for macOS 10.9 and later"), - ((3, 12, 0), "for macOS 10.9 and later"), - ((3, 12, 5), "for macOS 10.9 and later"), - ((3, 12, 6), "for macOS 10.13 and later"), ((3, 13, 0), "for macOS 10.13 and later"), ((3, 14, 0), "for macOS 10.15 and later"), ],