• [gentoo-dev] [PATCH 0/6] python-utils-r1.eclass: Python 3.11 support

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sun May 8 20:30:01 2022
    Hi,

    Here's a patchset to enable Python 3.11 support in the eclasses.
    Along with the usual mechanical changes, I have refactored the tests
    to avoid repetition and cover verifying that all the mechanical changes
    were done.

    --
    Best regards,
    Michał Górny

    Michał Górny (6):
    python-utils-r1.eclass: Add support for python3.11
    eclass/tests/python-utils-r1.sh: Streamline the tests
    eclass/tests/python-utils-r1.eclass: Add tests for adding new impls
    profiles: Add flags for python3.11
    dev-lang/python-exec: Enable python3.11 support
    dev-lang/python: Add python-exec dep to 3.11.0_beta1

    dev-lang/python-exec/python-exec-2.4.8.ebuild | 2 +-
    ...1.ebuild => python-3.11.0_beta1-r1.ebuild} | 3 +-
    eclass/python-utils-r1.eclass | 10 +-
    eclass/tests/python-utils-r1.sh | 133 +++++++++---------
    profiles/base/package.use.force | 1 +
    profiles/base/use.stable.mask | 7 +-
    profiles/desc/python_single_target.desc | 1 +
    profiles/desc/python_targets.desc | 1 +
    8 files changed, 80 insertions(+), 78 deletions(-)
    rename dev-lang/python/{python-3.11.0_beta1.ebuild => python-3.11.0_beta1-r1.ebuild} (99%)

    --
    2.35.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to All on Mon May 9 01:20:01 2022
    On 8 May 2022, at 19:26, Michał Górny <mgorny@gentoo.org> wrote:

    Hi,

    Here's a patchset to enable Python 3.11 support in the eclasses.
    Along with the usual mechanical changes, I have refactored the tests
    to avoid repetition and cover verifying that all the mechanical changes
    were done.


    LGTM. As discussed on the PR (https://github.com/gentoo/gentoo/pull/25383), we want
    the Python guide to be updated too, but you're already covering that.

    --
    Best regards,
    Michał Górny

    Michał Górny (6):
    python-utils-r1.eclass: Add support for python3.11
    eclass/tests/python-utils-r1.sh: Streamline the tests
    eclass/tests/python-utils-r1.eclass: Add tests for adding new impls
    profiles: Add flags for python3.11
    dev-lang/python-exec: Enable python3.11 support
    dev-lang/python: Add python-exec dep to 3.11.0_beta1

    dev-lang/python-exec/python-exec-2.4.8.ebuild | 2 +-
    ...1.ebuild => python-3.11.0_beta1-r1.ebuild} | 3 +- eclass/python-utils-r1.eclass | 10 +- eclass/tests/python-utils-r1.sh | 133 +++++++++--------- profiles/base/package.use.force | 1 + profiles/base/use.stable.mask | 7 +- profiles/desc/python_single_target.desc | 1 + profiles/desc/python_targets.desc | 1 +
    8 files changed, 80 insertions(+), 78 deletions(-)
    rename dev-lang/python/{python-3.11.0_beta1.ebuild => python-3.11.0_beta1-r1.ebuild} (99%)


    Best,
    sam

    --
    2.35.1




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

    iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmJ4ThFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g SDtTzAgAm/2ndfki/ERIOhEY4AnLhBZXUVFS2PiTD0JuWAab+Tldn6Dc9RoZDL60 gCpsAIvqXKCgS1PJNv5ze6rLQx3DpNiwvHONT/toc1BIVo/3jK6NkiY0MawHTS15 p+zuVdZ9JrHnjOnJZ2E5lsO2r/o7q6n8moTkYlmSeLelNzcjvfIAx+hN8qQVvJmA QvHB00HgC22zb3LHc8IpI1rPuATurerGaxws0z0c3uiEDaZdWE27DNmqae7RJ1b4 T6MJfiQJ8iHVlzPqhiylJFYSTg/meqYD46mrKWdsF0uZJHp1qxK/RuCO1MpKTDni lezO55mHLC/MHGIg93kTCD6fwRApRA==
    =0I7T
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)