Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 1 addition & 3 deletions pre_commit_python_eol/bump_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
f"{platform.python_implementation()}/{platform.python_version()}"
)

CACHE_SOURCE = (
"https://raw.githubusercontent.com/python/devguide/refs/heads/main/include/release-cycle.json"
)
CACHE_SOURCE = "https://peps.python.org/api/release-cycle.json"
LOCAL_CACHE = Path("./cached_release_cycle.json")


Expand Down
4 changes: 2 additions & 2 deletions pre_commit_python_eol/check_eol.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def from_json(cls, ver: str, metadata: dict[str, t.Any]) -> PythonRelease:
"""
Create a `PythonRelease` instance from the provided JSON components.

JSON components are assumed to be of the format provided by the Python Devguide:
https://github.com/python/devguide/blob/main/include/release-cycle.json
JSON components are assumed to be of the format provided by the Python PEPs API:
https://peps.python.org/api/release-cycle.json
"""
return cls(
python_ver=version.Version(ver),
Expand Down