Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,8 +1256,7 @@ def build_docs(args: argparse.Namespace) -> int:
def parse_versions_from_devguide(http: urllib3.PoolManager) -> Versions:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename the function to avoid confusion?

fetch_versions_from_peps_site

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)
Expand Down