summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.15.9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/python/python-3.15.9999.ebuild')
-rw-r--r--dev-lang/python/python-3.15.9999.ebuild15
1 files changed, 15 insertions, 0 deletions
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() {