From 6bbe454a23af937da50b764c35151cc31cf771d6 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:28:24 +0000 Subject: [PATCH] Use `release-cycle.json` from peps.python.org --- build_docs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_docs.py b/build_docs.py index 93121df..3111d52 100755 --- a/build_docs.py +++ b/build_docs.py @@ -1256,8 +1256,7 @@ def build_docs(args: argparse.Namespace) -> int: def parse_versions_from_devguide(http: urllib3.PoolManager) -> Versions: releases = http.request( "GET", - "https://raw.githubusercontent.com/" - "python/devguide/main/include/release-cycle.json", + "https://peps.python.org/api/release-cycle.json", timeout=30, ).json() return Versions.from_json(releases)