Machine-readable specification for deprecated and removed CPython APIs
Open
@CAM-Gerlach is already working on this.
Since May 19, 2025.
docs
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
See the details from https://discuss.python.org/t/machine-readable-specification-for-deprecated-and-removed-apis-of-cpython/92039
What we need
Working prototype:
- Read in TOML
- Process data as needed (basic fields)
- Add directive to output deprecation in docs
- Output JSON
Initial implementation
- Formalize JSON output
- Validation for input schema (JSONschema?)
- Process remaining data processing
- Generate admonition messages from the individual keys
cc @CAM-Gerlach
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.