I don’t think we should worry too much about whether old versions of pip work properly for the experimental, --disable-gil build of CPython 3.13. As it is, old versions of pip frequently do not work with new versions of Python. For example, pip==23.1.1 and older (from just 5 months ago) will break if installed in CPython 3.13 (missing pkgutil.ImpImporter).
3.13-abi3doesn’t useob_refcntdirectly. That was changed to use a function call in 3.12. If we can makeabi4work with GIL and--disable-gilthen we can probably do the same for3.13-abi3.- You don’t state it explicitly, but I guess the idea is that refcounting in
abi4could use the olderPy_IncReffunction call, which is available in CPython 3.8.
Ooof, I’m not sure how to address PyModuleDef.