From 63ccd2e4ddd6295605ea83ff6f5e2337785496e5 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Jul 2026 03:04:36 -0500 Subject: Adding metadata --- dev-lang/python/python-3.15.9999.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'dev-lang/python/python-3.15.9999.ebuild') diff --git a/dev-lang/python/python-3.15.9999.ebuild b/dev-lang/python/python-3.15.9999.ebuild index 4103d1e84c0d..dcc4581f1d01 100644 --- a/dev-lang/python/python-3.15.9999.ebuild +++ b/dev-lang/python/python-3.15.9999.ebuild @@ -126,6 +126,21 @@ pkg_pretend() { ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead," ewarn "please consider reporting JIT problems upstream." fi + + if [[ ${MERGE_TYPE} != buildonly ]] && ver_replacing -lt 3.15.0_beta4; then + ewarn + ewarn "Python 3.15.0b4 has broken its extension ABI. The extensions built" + ewarn "with older versions may crash at runtime or worse after upgrading." + ewarn "A rebuild is recommended after the merge is complete, e.g. using:" + ewarn + ewarn " emerge -1v \$(find /usr/lib/python3.15/site-packages -name '*.cpython-315-*.so')" + ewarn + ewarn "Note that if you enabled both python3_15 and python3_15t, then" + ewarn "the 3.15 rebuild should cover all 3.15t packages already." + ewarn "If you do not wish to perform the rebuild at the time, it is" + ewarn "recommended to abort the upgrade." + ewarn + fi } pkg_setup() { -- cgit v1.3