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

Note thatrelease-cycle.json is now sourced from peps.python.org#314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
AA-Turner merged 4 commits intopython:mainfromhugovk:update-url
Nov 10, 2025
Merged
Changes fromall commits
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
6 changes: 3 additions & 3 deletionsbuild_docs.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,7 +26,7 @@
```

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

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

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


defparse_versions_from_devguide(http: urllib3.PoolManager) -> Versions:
defparse_versions_from_peps_site(http: urllib3.PoolManager) -> Versions:
releases = http.request(
"GET",
"https://peps.python.org/api/release-cycle.json",
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp