• [gentoo-dev] [PATCH 1/4] profiles/desc: Add Python 3.14 targets

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Thu May 8 05:40:01 2025
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    profiles/desc/python_single_target.desc | 2 ++
    profiles/desc/python_targets.desc | 2 ++
    2 files changed, 4 insertions(+)

    diff --git a/profiles/desc/python_single_target.desc b/profiles/desc/python_single_target.desc
    index 8e38ae89b7aa..2b074a3ceaae 100644
    --- a/profiles/desc/python_single_target.desc
    +++ b/profiles/desc/python_single_target.desc
    @@ -7,4 +7,6 @@ python3_11 - Build for Python 3.11 only
    python3_12 - Build for Python 3.12 only
    python3_13 - Build for Python 3.13 only
    python3_13t - Build for Python 3.13 freethreading only
    +python3_14 - Build for Python 3.14 only
    +python3_14t - Build for Python 3.14 freethreading only
    pypy3_11 - Build for PyPy3.11 only
    diff --git a/profiles/desc/python_targets.desc b/profiles/desc/python_targets.desc
    index 7b3fedd52456..ea191dccdacb 100644
    --- a/profiles/desc/python_targets.desc
    +++ b/profiles/desc/python_targets.desc
    @@ -7,4 +7,6 @@ python3_11 - Build with Python 3.11
    python3_12 - Build with Python 3.12
    python3_13 - Build w
  • From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Thu May 8 05:50:02 2025
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    app-portage/gpyutils/files/implementations.txt | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/app-portage/gpyutils/files/implementations.txt b/app-portage/gpyutils/files/implementations.txt
    index 38f5eddae51e..66567c166fa6 100644
    --- a/app-portage/gpyutils/files/implementations.txt
    +++ b/app-portage/gpyutils/files/implementations.txt
    @@ -24,6 +24,8 @@ python3_11 old 3.11
    python3_12 old 3.12
    python3_13 current 3.13
    python3_13t experimental 3.13t
    +python3_14 supported 3.14
    +python3_14t experimental 3.14t

    pypy1_8 2.7-pypy-1.8 dead p1.8
    pypy1_9 2.7-pypy-1.9 dead p1.9

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Thu May 8 05:50:01 2025
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    profiles/base/package.use.force | 2 ++
    profiles/base/use.stable.mask | 4 ++++
    2 files changed, 6 insertions(+)

    diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force index 8748fa6a2670..55b5f2f874f5 100644
    --- a/profiles/base/package.use.force
    +++ b/profiles/base/package.use.force
    @@ -330,6 +330,8 @@ dev-lang/python-exec python_targets_python3_11
    dev-lang/python-exec python_targets_python3_12
    dev-lang/python-exec python_targets_python3_13
    dev-lang/python-exec python_targets_python3_13t
    +dev-lang/python-exec python_targets_python3_14
    +dev-lang/python-exec python_targets_python3_14t
    dev-lang/python-exec python_targets_pypy3_11

    # Zac Medico <zmedico@gentoo.org> (2010-10-20)
    diff --git a/profiles/base/use.stable.mask b/profiles/base/use.stable.mask index 7fdb45177a20..aa52f352586e 100644
    --- a/profiles/base/use.stable.mask
    +++ b/profiles/base/use.stable.mask
    @@ -20,6 +20,10 @@ ruby_targets_ruby33

    # Michał Górny <mgorny@gentoo.org> (2024-05-08)
  • From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Thu May 8 05:50:02 2025
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/python-utils-r1.eclass | 10 +++++-----
    eclass/tests/python-utils-r1.sh | 10 +++++++++-
    2 files changed, 14 insertions(+), 6 deletions(-)

    diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 4fedd2b8a790..a1ca388ab730 100644
    --- a/eclass/python-utils-r1.eclass
    +++ b/eclass/python-utils-r1.eclass
    @@ -40,8 +40,8 @@ inherit multiprocessing toolchain-funcs
    # All supported Python implementations, most preferred last.
    _PYTHON_ALL_IMPLS=(
    pypy3_11
    - python3_13t
    - python3_{11..13}
    + python3_{13..14}t
    + python3_{11..14}
    )
    readonly _PYTHON_ALL_IMPLS

    @@ -81,7 +81,7 @@ _python_verify_patterns() {
    local impl pattern
    for pattern; do
    case ${pattern} in
    - -[23]|3.[89]|3.1[0-3])
    + -[23]|3.[89]|3.1[0-4])
    continue
    ;;
    esac
    @@ -137,7 +137,7 @@ _python_set_impls() {
    # please keep them in sync with _PYTHON_ALL_IMPLS
    # and _PYTHON_HISTORICAL_IMPLS
    case ${i} in
    - pypy3_11|python3_9|python3_1[1-3]|python3_13t) +
  • From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to Andreas K. Huettel on Fri May 9 16:30:01 2025
    On Fri, 2025-05-09 at 16:15 +0200, Andreas K. Huettel wrote:
    Could you please in the future drop the useless metadata churn and
    combine removing old and adding new into one patchset? Thanks.


    Convince upstream to sync with our schedules.

    --
    Best regards,
    Michał Górny


    -----BEGIN PGP SIGNATURE-----

    iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmgeEBoSHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQOwHwH/RuvkN+MyL02O8Mi+/rP2cSmIogr3bRM MiI7c4y6Q8YIqCH2Q/ctg6lalIEkAGh1GvAh+Su7CeHugPwGl+pETYy5YeNARNwg P97O+HphedUwt6cSSI5mBQEABVadYHA68hW8hlcyu8OysXPobJtmH6v2lNtccGp5 PVmhYE/u+ZK6HIK6L3BP9yCJC/pOHOv9qTLTDru5wSXwGckYRuonWR5eOKCpdqov oVH9ndh+7mf/sHLruS4Ax+drqSIZTTyVYItJS0RY4KlexLDnlE5rXdt/Yui8SuvW TYG4y6IcZu66jH6MjZ5pzWY4k0u27iIG+VoMr6b/BcwdHW6ZaKngKoA=
    =1mfp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas K. Huettel@21:1/5 to All on Fri May 9 16:15:53 2025
    Could you please in the future drop the useless metadata churn and
    combine removing old and adding new into one patchset? Thanks.

    Am Donnerstag, 8. Mai 2025, 05:38:31 Mitteleuropäische Sommerzeit schrieb Michał Górny:
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    profiles/desc/python_single_target.desc | 2 ++
    profiles/desc/python_targets.desc | 2 ++
    2 files changed, 4 insertions(+)

    diff --git a/profiles/desc/python_single_target.desc b/profiles/desc/python_single_target.desc
    index 8e38ae89b7aa..2b074a3ceaae 100644
    --- a/profiles/desc/python_single_target.desc
    +++ b/profiles/desc/python_single_target.desc
    @@ -7,4 +7,6 @@ python3_11 - Build for Python 3.11 only
    python3_12 - Build for Python 3.12 only
    python3_13 - Build for Python 3.13 only
    python3_13t - Build for Python 3.13 freethreading only
    +python3_14 - Build for Python 3.14 only
    +python3_14t - Build for Python 3.14 freethreading only
    pypy3_11 - Build for PyPy3.11 only
    diff --git a/profiles/desc/python_targets.desc b/profiles/desc/python_targets.desc
    index 7b3fedd52456..ea191dccdacb 100644
    --- a/profiles/desc/python_targets.desc
    +++ b/profiles/desc/python_targets.desc
    @@ -7,4 +7,6 @@ python3_11 - Build with Python 3.11
    python3_12 - Build with Python 3.12
    python3_13 - Build with Python 3.13
    python3_13t - Build with Python 3.13 freethreading
    +python3_14 - Build with Python 3.14
    +python3_14t - Build with Python 3.14 freethreading
    pypy3_11 - Build with PyPy3.11




    --
    Andreas K. Hüttel
    dilfridge@gentoo.org
    Gentoo Linux developer
    (council, toolchain, base-system, perl, libreoffice)

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2

    iQKTBAABCgB9FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmgeDhlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZE MTlFNkQzMUIxOTJFRTREQzYzRUFEM0RDMkIxNjIxNUVENTQxMkEACgkQ3CsWIV7V QSr95Q/9F6aZwM74d84OW9LrzETCSaAKaUmZwDIsDjp/8EVpeFWyooMv5NI6sKCX RN7AJQkV+Bn++9sTX+jlHQHoWMO/7PhsIxxqwRpcL2t2yCO1mgfiTU9i7URpNttG 1q+twfom33TnWeYgLCiRgGLXCTRijmwBziytih2Awl3UNNVQPFhOyJ+m2Yl9E1m1 vxFa4HIc+pQl1Yfj0Z3LqLzqKrLAQ1TICB5ZtNW5Qyx9w6Cp2wHFRA5n5HKXRSXN oB0Crwcs97eRuft7zxwdelLhDXV/Ha40w1wIcL/GSh5b4hmiuX3RMUNtkN/FjKxm d7HswPjjB7w7iLuqZDbEQ1tGFFXcaUjqaxnL5oiBBE5sKutyG8vaDa/B+spgsJfU NnrDalfGYJ7ZpHkVW1/ube+xaDAp2azA3gB/P3ZJuG6ZfVojQTZFE6+dl0wxB2fJ bJQzXmTS/Dypcm0H/gsLt21lcZOUgA+4R6c7hRx7Lhtuy+dRXCN0KJ/MuMuQOBFR MH181AMD12PUHDlwcwqM5fSMFsD06eW3n+lggB72GqnnzXXXheS45MJZsxg8ncif +0Q8F2Cgz5V1Ra3tiOLa5fx2ag06G6unnwHfwie11Zr4o6MvGA3Sq
  • From Eli Schwartz@21:1/5 to All on Fri May 9 18:00:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------ozxwxDgL3qayoLAVbmsSd0Ac
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 5/9/25 10:24 AM, Michał Górny wrote:
    On Fri, 2025-05-09 at 16:15 +0200, Andreas K. Huettel wrote:
    Could you please in the future drop the useless metadata churn and
    combine removing old and adding new into one patchset? Thanks.


    Convince upstream to sync with our schedules.


    We could probably avoid the metadata churn using package.mask instead of immediately dropping _PYTHON_ALL_IMPLS. IMO there's no rush to remove
    the USE flag from metadata, we can easily afford to wait here and avoid
    making widespread oneshot eclass changes just to change the profile
    default target.

    This also has another advantage: rebuilding world with --newuse
    --with-bdeps=y is potentially quite broken if we drop the USE at the
    same time as rebuilding default targets. It causes the depgraph for
    rebuilding to be much bigger -- includes all python-any-r1 consumers
    even if they would have been fine being rebuilt in a different batch. It
    also invalidated all the advance 3.13 binpackages that we'd been
    building since March (and dual ="python3_12 python3_13" packages since
    October) since the USE flags didn't match, which meant that even users
    using exclusively --changed-use did not have *any* binary package
    matches for a couple days while thousands of binpackages were in the
    process of being rebuilt. Including a couple failed builds due to https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=affeb848635ad4451be3eaf7230d65bc84c2e5c6
    (the --newuse problem).



    --
    Eli Schwartz

    --------------ozxwxDgL3qayoLAVbmsSd0Ac--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCaB4kHgUDAAAAAAAKCRCEp9ErcA0vV3mx AP0WiXqLVhErK7ri4HoQFE/pM5ycC7c1iKF8kuAWs6+2/QEAqPcjG2Vnpxe4ZMsYvPaH4AGXeKrP xBVZKvM2Z88UJgY=
    =L7x6
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas K. Huettel@21:1/5 to All on Tue May 13 00:17:11 2025
    Copy: mgorny@gentoo.org (=?UTF-8?B?TWljaGHFgiBHw7Nybnk=?=)

    Am Freitag, 9. Mai 2025, 16:24:26 Mitteleuropäische Sommerzeit schrieb Michał Górny:
    On Fri, 2025-05-09 at 16:15 +0200, Andreas K. Huettel wrote:
    Could you please in the future drop the useless metadata churn and
    combine removing old and adding new into one patchset? Thanks.


    Convince upstream to sync with our schedules.

    use.mask and package.mask the old implementation?

    It's not as if we don't have means to do this properly. We just need to care.


    --
    Andreas K. Hüttel
    dilfridge@gentoo.org
    Gentoo Linux developer
    (council, toolchain, base-system, perl, libreoffice)
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2

    iQKTBAABCgB9FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmgic2dfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZE MTlFNkQzMUIxOTJFRTREQzYzRUFEM0RDMkIxNjIxNUVENTQxMkEACgkQ3CsWIV7V QSqBMA//XZM+B4zjJlz2USKIv1T1rDg5r867D1K3rSDKYpFo4T8fxwru/4bhCGCZ Iq3LhCAJFJhcR4mKOEi4C6sHCQm3DA5nhXlhYEjC8yq6rxQDQ1AnOV3DxZJ8HC9D 49eyfh+n3fmPwFaj9oIY96AAS3hF6RTkKKOZ/6t9v8EGGeTZa4VflsGW22/7Mfxt iDdmtMGIFHHQbbyqxw/YWOfJfffi3N4XutXaQ2a11VD6VMOE3RW+t+Ta15LedpoC 91yRbexuYfYuFf1/BPZT48O1Qwu4M2aVZ2eNSQ5G6ZVm0C307ceIBQV6bWwuOBAX oaCByFWhQWHZIH+7gajeonvvSpUCyjsPmlelQgvoltXzkl1rxt2X07OntswwPFRZ 3836pE9QlxFmW87Jvt3x4SsadTu/PHYWRJhjNnQ2oVTAcqT9Ky57Nh/E+FsLanLk 2IekLAMTODOaxcIfEp4Iq602puiGUbd7wrABG9GjLQPg7fT2fk0D7zKA/qRvFEvb o4N+UT8KoZxq+kXaagbMIg8DPEHZ6bHVKC4qGEhwOZ1uAt1OeD4e6KNJpCrJtk+W elXXlChAwg1rV8fBFNXX4bfQifc+CN32k1zdv0//MstOJkd1mUPcHXH