This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Improvements for stable ABI definition files
Type: Stage: patch review
Components: Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: arhadthedev, petr.viktorin
Priority: normal Keywords: patch

Created on 2022-03-30 15:39 by petr.viktorin, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 32195 merged petr.viktorin, 2022-03-30 15:39
PR 32365 merged petr.viktorin, 2022-04-06 14:30
PR 32415 open petr.viktorin, 2022-04-08 13:24
Messages (4)
msg416376 - (view) Author: Petr Viktorin (petr.viktorin) * (Python committer) Date: 2022-03-30 15:39
This issue groups together a few changes I'd like to make:

- Rename Doc/data/stable_abi.dat to *.csv, so it gets syntax highlighting. (The only user of that file should be the Sphinx extension)
- Mark autogenerated files as such in .gitattributes
- Convert Misc/stable_abi.txt to TOML, and change the parser to match (this will need a heads-up on python-dev)
msg416388 - (view) Author: Oleg Iarygin (arhadthedev) * Date: 2022-03-30 17:36
Probably, `regen-limited-abi` needs to be called from `regen-all` so 'Check if generated files are up to date' CI job will become aware of it.
msg416492 - (view) Author: Petr Viktorin (petr.viktorin) * (Python committer) Date: 2022-04-01 15:19
New changeset 079143df7e40c4d336cb5c385b166aa91058d050 by Petr Viktorin in branch 'main':
bpo-47168: Mark files generated by `make regen-limited-abi` as generated (GH-32195)
https://github.com/python/cpython/commit/079143df7e40c4d336cb5c385b166aa91058d050
msg416985 - (view) Author: Petr Viktorin (petr.viktorin) * (Python committer) Date: 2022-04-08 14:02
Thinking more about Doc/data/stable_abi.dat, I don't think the rename is worth it. The file is not meant to be used/edited by humans.
If someone needs the data for something other than running the Sphinx extension, let me know. We should provide a proper data source for their use case.
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91324
2022-04-08 14:02:39petr.viktorinsetmessages: + msg416985
2022-04-08 13:24:52petr.viktorinsetpull_requests: + pull_request30441
2022-04-06 14:30:29petr.viktorinsetpull_requests: + pull_request30412
2022-04-01 15:19:20petr.viktorinsetmessages: + msg416492
2022-03-30 17:36:23arhadthedevsetmessages: + msg416388
2022-03-30 17:12:38arhadthedevsetnosy: + arhadthedev
2022-03-30 15:39:53petr.viktorinsetkeywords: + patch
stage: patch review
pull_requests: + pull_request30274
2022-03-30 15:39:32petr.viktorincreate