• [gentoo-dev] [PATCH 0/8] Next Python eclass batch (incl. PyPy slots and

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Nov 22 14:50:01 2024
    Hi,

    Part of this has been sent as part of the original PyPy slotting
    proposal, the rest are extra "non-urgent" changes and cleanups.

    This will be pushed sometime between new pkgcheck release (which is
    required to avoid tons of false positives) and next PyPy slot/subslot.

    The primary change is replacing dev-python/pypy3:= compatibility package
    dep with the new dev-lang/pypy:=[symlink] dep. The idea is that when we
    get a new slot/subslot, the existing := dep will trigger rebuilds
    and the packages will therefore be rebuilt with the new dependency.
    Some time after that, we'll be able to lastrite dev-python/pypy3.

    Other changes are:

    - fixing python_gen_any_dep with PYTHON_REQ_USE (the bug doesn't trigger
    right now)

    - moving python3_13t earlier in impl list, so that the experimental impl
    doesn't get used for common phases

    - updating for newer maturin versions

    - disabling trove-classifier validation that can cause pointless build
    failures if users have too old dev-python/trove-classifiers installed


    Ionen Wolkens (1):
    distutils-r1.eclass: Update maturin's skip auditwheel option

    Michał Górny (7):
    python-any-r1.eclass: Fix python_gen_any_dep w/ PYTHON_REQ_USE
    python-any-r1.eclass: Remove obsolete variable
    python-utils-r1.eclass: Depend on dev-lang/pypy directly
    python-utils-r1.eclass: Move python3_13t before other python*
    distutils-r1.eclass: Use HATCH_METADATA_CLASSIFIERS_NO_VERIFY
    distutils-r1.eclass: Also do SETUPTOOLS_RUST_CARGO_PROFILE uncond.
    distutils-r1.eclass: Disable setuptools trove-classifier validation

    eclass/distutils-r1.eclass | 15 ++++++++++-----
    eclass/python-any-r1.eclass | 5 ++---
    eclass/python-utils-r1.eclass | 11 +++--------
    eclass/tests/python-utils-r1.sh | 4 +++-
    4 files changed, 18 insertions(+), 17 deletions(-)

    --
    2.47.0

    --- 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 Fri Nov 22 14:50:01 2024
    From: Ionen Wolkens <ionen@gentoo.org>

    =maturin-1.7.1 has deprecated --skip-auditwheel and added --auditwheel=<check|repair|skip> to replace it. Update and set
    the lower bound to latest stable rather than use has_version.

    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/39204
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 7ab8dcae3265..7e65bcb964a1 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -271,7 +271,7 @@ _distutils_set_globals() {
    ;;
    maturin)
    bdep+='
    - >=dev-util/maturin-1.4.0[${PYTHON_USEDEP}]
    + >=dev-util/maturin-1.7.4[${PYTHON_USEDEP}]
    '
    ;;
    no)
    @@ -1262,8 +1262,8 @@ distutils_pep517_install() {
    # `maturin pep517 build-wheel --help` for options
    local maturin_args=(
    "${DISTUTILS_ARGS[@]}"
    + --auditwheel=skip # see bug #831171
    --jobs="$(makeopts_jobs)"
    - --skip-auditwheel # see bug #831171
    $(in_iuse debug && usex debug '--profile=dev' '')
    )

    --
    2.47.0

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