From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AB8161384B4 for ; Mon, 7 Dec 2015 21:27:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DD3621C0BD; Mon, 7 Dec 2015 21:27:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4941221C05F for ; Mon, 7 Dec 2015 21:27:16 +0000 (UTC) Received: from pomiot (d202-251.icpnet.pl [109.173.202.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 2A742340A0E; Mon, 7 Dec 2015 21:27:13 +0000 (UTC) Date: Mon, 7 Dec 2015 22:27:01 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: Mike Gilbert Cc: Gentoo Dev Subject: Re: [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder Message-ID: <20151207222701.0defd670.mgorny@gentoo.org> In-Reply-To: References: <1449428612-20538-1-git-send-email-mgorny@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/UU=rybgy/+WEg.d4iG4+1/v"; protocol="application/pgp-signature" X-Archives-Salt: 45549731-7ab6-4fd0-818e-1cfd87047701 X-Archives-Hash: b9d63a60287a4e1ca39089e9c1b280e8 --Sig_/UU=rybgy/+WEg.d4iG4+1/v Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 7 Dec 2015 15:36:30 -0500 Mike Gilbert wrote: > On Sun, Dec 6, 2015 at 2:03 PM, Micha=C5=82 G=C3=B3rny wrote: > > Hi, > > > > Here's another patchset. Mostly fixups inspired by multilib-build.eclass > > changes with a few little additions. > > > > Changes: > > > > 1. eclass-set variables are now read-only, =20 >=20 > Sounds ok, but might break some ebuilds. >=20 > > 2. 'unset -f' is used to unset temporary & local functions, > > 3. implementations are reordered for sane order. > > > > I've tested this with a few dozen random distutils-r1, python-r1, > > python-any-r1 and python-single-r1 packages. However, for > > the implementation reorder a larger tinderbox run would be appreciated. > > > > As explained in the commit, the reorder may influence files installed by > > a package, and implementation selected by python_setup(). This should > > not cause issues for correctly written ebuilds, and should help us find > > those that are not correctly written ;-). > > > > In other words, we're finally considering Python 3.x preferred over > > Python 2.x. =20 >=20 > That could be a significant change, and I do expect that this will > break some ebuilds. >=20 > Any easy way to test this first? Or should we just be ready for the bug r= eports? Not an easy. We could try some tinderboxing with USE=3D'doc python'. Or just grep ebuilds for python_export_best calls and plain python_setup calls, and see if someone didn't assume it will always prefer python2. REQUIRED_USE with python_gen_useflags may be a suggestion too. So I'd go for waiting for bug reports. Or maybe doing the change conditionally to EAPI 6 for improved confusion ;-). --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/UU=rybgy/+WEg.d4iG4+1/v Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWZfmmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOBHkP/0+Xy+fdrTR1LzqLcWZ5BU0F rQG9v9ey9lNPKWUyuyiJINioYMTSkfKeJow8ExFXHkL41HI1UgiAxfF2mQnSoMvb ua5w20soshPEU+We9sllSqakVDGPO4d5k3HcFDnHLhcQMNtfc0ZLHRrY/BBRo0JO 0RizgEGjMgKC24HoW6KSf6lMjnawHfR4I7YTxmvPPfnAOIx/htXypX6YtxCSVQKK EL/fF3q5rYInZfvdVp4XBBNGDK9VoJ3fTqCtB2gRu0lJufE3ZCFuOfXvU6Z88itW kHRFyg3pdsAqpaDcchLF/IbYzNit+HEpSpSpB1rthTrUN2poJ+fTEWaaJYxrjQ81 8zNjnK6QUT77TnzzfZwm8695FpkoMWXB6asGJPprzOw2K3eJlIniJ7cYZeDMvBr+ B6RiwcoNvBAvJjixyprptzbh+LAcpmEb5NLOW3F1RTTxzaz1mCy4t8Ui9jp657qe tk+Z8c1jMekKeDx7vK1NvLG8uv39G5RCwBgmpRtjZ+aUjddw3OgIEw29ku70WNCe T62z/QHNsj19BBF6ND905jNoEH1fVg5xvHfQ/ImzvsL5/DTePoYPtdpjwQ7BChcU lglpgL/qJ16vT3x8+Sqcwn+bwgzVORwD1FKVePr87y1fmcgShIrt165lOUTAsQOf HqCQKBtkgZ9QtEP2ZaMI =j4SJ -----END PGP SIGNATURE----- --Sig_/UU=rybgy/+WEg.d4iG4+1/v--