Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02a0042

Browse files
hugovkAA-Turner
andauthored
Note thatrelease-cycle.json is now sourced from peps.python.org (#314)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent89b13f9 commit02a0042

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎build_docs.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
```
2727

2828
Languages are stored in `config.toml` while versions are discovered
29-
fromthe devguide.
29+
frompeps.python.org (generated by `python-releases.toml`).
3030

3131
-q selects "quick build", which means to build only HTML.
3232

@@ -1174,7 +1174,7 @@ def build_docs(args: argparse.Namespace) -> int:
11741174
logging.info("Full build start.")
11751175
start_time = perf_counter()
11761176
http = urllib3.PoolManager()
1177-
versions =parse_versions_from_devguide(http)
1177+
versions =parse_versions_from_peps_site(http)
11781178
languages = parse_languages_from_config()
11791179
# Reverse languages but not versions, because we take version-language
11801180
# pairs from the end of the list, effectively reversing it.
@@ -1253,7 +1253,7 @@ def build_docs(args: argparse.Namespace) -> int:
12531253
return EX_FAILURE if any_build_failed else EX_OK
12541254

12551255

1256-
defparse_versions_from_devguide(http: urllib3.PoolManager) -> Versions:
1256+
defparse_versions_from_peps_site(http: urllib3.PoolManager) -> Versions:
12571257
releases = http.request(
12581258
"GET",
12591259
"https://peps.python.org/api/release-cycle.json",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp