commit:     dc024bb16b1fa14bd114ea2e5ca87d84da5b2dfa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  7 09:06:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  7 09:07:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc024bb1

dev-lang/python: update tail-call-interp requirements

Upstream retroactively changed the requirements to also need
__attribute__((preserve_none)) rather than just musttail, so it needs
unreleased GCC 16, or Clang 19.

Mask given we test it mostly with GCC, but people can unmask it locally
if they want to use Clang.

Closes: https://bugs.gentoo.org/967142
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/python/python-0.3.14.2.ebuild        | 4 ++--
 dev-lang/python/python-0.3.14.9999.ebuild     | 4 ++--
 dev-lang/python/python-0.3.15.0_alpha1.ebuild | 4 ++--
 dev-lang/python/python-0.3.15.0_alpha2.ebuild | 4 ++--
 dev-lang/python/python-0.3.15.9999.ebuild     | 4 ++--
 dev-lang/python/python-3.14.2.ebuild          | 4 ++--
 dev-lang/python/python-3.14.9999.ebuild       | 4 ++--
 dev-lang/python/python-3.15.0_alpha1.ebuild   | 4 ++--
 dev-lang/python/python-3.15.0_alpha2.ebuild   | 4 ++--
 dev-lang/python/python-3.15.9999.ebuild       | 4 ++--
 profiles/base/package.use.mask                | 4 ++++
 profiles/base/package.use.stable.mask         | 4 ----
 12 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/dev-lang/python/python-0.3.14.2.ebuild 
b/dev-lang/python/python-0.3.14.2.ebuild
index 231a1c6034f1..49f80accee9f 100644
--- a/dev-lang/python/python-0.3.14.2.ebuild
+++ b/dev-lang/python/python-0.3.14.2.ebuild
@@ -88,7 +88,7 @@ BDEPEND="
        virtual/pkgconfig
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -136,7 +136,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-0.3.14.9999.ebuild 
b/dev-lang/python/python-0.3.14.9999.ebuild
index bf971437aa26..1a0b596f6890 100644
--- a/dev-lang/python/python-0.3.14.9999.ebuild
+++ b/dev-lang/python/python-0.3.14.9999.ebuild
@@ -79,7 +79,7 @@ BDEPEND="
        virtual/pkgconfig
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -129,7 +129,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-0.3.15.0_alpha1.ebuild 
b/dev-lang/python/python-0.3.15.0_alpha1.ebuild
index 8774bf6a9d41..d4df9a53af78 100644
--- a/dev-lang/python/python-0.3.15.0_alpha1.ebuild
+++ b/dev-lang/python/python-0.3.15.0_alpha1.ebuild
@@ -87,7 +87,7 @@ BDEPEND="
        virtual/pkgconfig
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -136,7 +136,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-0.3.15.0_alpha2.ebuild 
b/dev-lang/python/python-0.3.15.0_alpha2.ebuild
index 8774bf6a9d41..d4df9a53af78 100644
--- a/dev-lang/python/python-0.3.15.0_alpha2.ebuild
+++ b/dev-lang/python/python-0.3.15.0_alpha2.ebuild
@@ -87,7 +87,7 @@ BDEPEND="
        virtual/pkgconfig
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -136,7 +136,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-0.3.15.9999.ebuild 
b/dev-lang/python/python-0.3.15.9999.ebuild
index f80ecebdeab9..d5b635115499 100644
--- a/dev-lang/python/python-0.3.15.9999.ebuild
+++ b/dev-lang/python/python-0.3.15.9999.ebuild
@@ -79,7 +79,7 @@ BDEPEND="
        virtual/pkgconfig
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -124,7 +124,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-3.14.2.ebuild 
b/dev-lang/python/python-3.14.2.ebuild
index 23b365104478..a22feaa75812 100644
--- a/dev-lang/python/python-3.14.2.ebuild
+++ b/dev-lang/python/python-3.14.2.ebuild
@@ -96,7 +96,7 @@ BDEPEND="
        )
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -153,7 +153,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-3.14.9999.ebuild 
b/dev-lang/python/python-3.14.9999.ebuild
index 11bbf0f3dded..43c772c7b08a 100644
--- a/dev-lang/python/python-3.14.9999.ebuild
+++ b/dev-lang/python/python-3.14.9999.ebuild
@@ -88,7 +88,7 @@ BDEPEND="
        )
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -141,7 +141,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-3.15.0_alpha1.ebuild 
b/dev-lang/python/python-3.15.0_alpha1.ebuild
index 21cd4d1869fe..aa17c91c384b 100644
--- a/dev-lang/python/python-3.15.0_alpha1.ebuild
+++ b/dev-lang/python/python-3.15.0_alpha1.ebuild
@@ -95,7 +95,7 @@ BDEPEND="
        )
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -147,7 +147,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-3.15.0_alpha2.ebuild 
b/dev-lang/python/python-3.15.0_alpha2.ebuild
index 21cd4d1869fe..aa17c91c384b 100644
--- a/dev-lang/python/python-3.15.0_alpha2.ebuild
+++ b/dev-lang/python/python-3.15.0_alpha2.ebuild
@@ -95,7 +95,7 @@ BDEPEND="
        )
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -147,7 +147,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/dev-lang/python/python-3.15.9999.ebuild 
b/dev-lang/python/python-3.15.9999.ebuild
index 35e0d5a5708a..f324d6a8d616 100644
--- a/dev-lang/python/python-3.15.9999.ebuild
+++ b/dev-lang/python/python-3.15.9999.ebuild
@@ -88,7 +88,7 @@ BDEPEND="
        )
        tail-call-interp? (
                || (
-                       >=sys-devel/gcc-15:*
+                       >=sys-devel/gcc-16:*
                        >=llvm-core/clang-19:*
                )
        )
@@ -136,7 +136,7 @@ pkg_setup() {
                        linux-info_pkg_setup
                fi
                if use tail-call-interp; then
-                       tc-check-min_ver gcc 15
+                       tc-check-min_ver gcc 16
                        tc-check-min_ver clang 19
                fi
        fi

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 862183e9c2a1..8c949b2fbab3 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,10 @@
 
 # New entries go on top.
 
+# Sam James <[email protected]> (2025-12-07)
+# Needs not-yet-released GCC 16.
+dev-lang/python tail-call-interp
+
 # Sam James <[email protected]> (2025-10-29)
 # Help Portage resolve app-crypt/gnupg[verify-sig] with the 
app-alternatives/gpg
 # transition. The any-of dep in verify-sig.eclass helps a bit, but it struggles

diff --git a/profiles/base/package.use.stable.mask 
b/profiles/base/package.use.stable.mask
index f8226dfaea20..1c2725376ca5 100644
--- a/profiles/base/package.use.stable.mask
+++ b/profiles/base/package.use.stable.mask
@@ -8,10 +8,6 @@
 # Need non-yet-stable caffe2
 sci-chemistry/gromacs nnpot
 
-# Sam James <[email protected]> (2025-10-10)
-# Needs not-yet-stable GCC 15.
-dev-lang/python tail-call-interp
-
 # Andreas Sturmlechner <[email protected]> (2025-05-06)
 # USE=experimental is not stable by definition
 media-libs/zxing-cpp experimental

Reply via email to