mgorny-nyan (he) :autism:🙀🚂🐧 on Nostr: New in #Gentoo #Python / #RustLang: disabling stable ABI to stop extensions from ...
New in #Gentoo #Python / #RustLang: disabling stable ABI to stop extensions from crashing on Python 3.13.
"Wait, what?!", you may ask. Apparently PyO3 has some code path specific to Python < 3.12 that causes Python 3.13 to crash. If we disable building for stable ABI, that code path doesn't get compiled for 3.12+, so we don't get the crash anymore.
Sounds like stable ABI doesn't really live up to its promise. And it's already the second crash related to stable ABI that I've hit in 3.13.
https://github.com/PyO3/pyo3/issues/4311
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nh3/nh3-0.2.17-r1.ebuild?id=8ab9d8db7785e9ffdde4fa9768a800761ce0893b#n108
"Wait, what?!", you may ask. Apparently PyO3 has some code path specific to Python < 3.12 that causes Python 3.13 to crash. If we disable building for stable ABI, that code path doesn't get compiled for 3.12+, so we don't get the crash anymore.
Sounds like stable ABI doesn't really live up to its promise. And it's already the second crash related to stable ABI that I've hit in 3.13.
https://github.com/PyO3/pyo3/issues/4311
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nh3/nh3-0.2.17-r1.ebuild?id=8ab9d8db7785e9ffdde4fa9768a800761ce0893b#n108