Skip to content

Commit 89b13f9

Browse files
authored
Use release-cycle.json from peps.python.org (#315)
1 parent c08754f commit 89b13f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build_docs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,8 +1256,7 @@ def build_docs(args: argparse.Namespace) -> int:
12561256
def parse_versions_from_devguide(http: urllib3.PoolManager) -> Versions:
12571257
releases = http.request(
12581258
"GET",
1259-
"https://raw.githubusercontent.com/"
1260-
"python/devguide/main/include/release-cycle.json",
1259+
"https://peps.python.org/api/release-cycle.json",
12611260
timeout=30,
12621261
).json()
12631262
return Versions.from_json(releases)

0 commit comments

Comments
 (0)