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 9DDCA198005 for ; Wed, 13 Mar 2013 19:49:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 499D4E050C; Wed, 13 Mar 2013 19:49:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8DDCE050C for ; Wed, 13 Mar 2013 19:49:07 +0000 (UTC) Received: from pomiocik.lan (87-205-48-218.adsl.inetia.pl [87.205.48.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id D927733DB44; Wed, 13 Mar 2013 19:49:04 +0000 (UTC) Date: Wed, 13 Mar 2013 20:49:33 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: "Nikolaj Sjujskij" Cc: gentoo-python@lists.gentoo.org, python@gentoo.org Subject: Re: [gentoo-python] [PATCH] Support overriding PYTHON_COMPAT. Message-ID: <20130313204933.58ab8ef9@pomiocik.lan> In-Reply-To: References: <1355395481-17517-1-git-send-email-mgorny@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.16; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/JeeZ5qy6PxzpCOE3aQbyeY."; protocol="application/pgp-signature" X-Archives-Salt: 07a24dbf-1be9-4b47-b95d-941f66451e13 X-Archives-Hash: b3a50c9d9cfedc507de4b84616b9b478 --Sig_/JeeZ5qy6PxzpCOE3aQbyeY. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 13 Mar 2013 13:20:19 +0400 "Nikolaj Sjujskij" wrote: > Den 2012-12-13 14:44:41 skrev Micha=C5=82 G=C3=B3rny : >=20 > > PYTHON_COMPAT_OVERRIDE is an environment variable which overrides > > the current value of PYTHON_COMPAT. > > > > Useful for testing packages with new Python implementations quickly > > without modifying the ebuild. Outputs a lot of noisy warnings to make > > sure people notice how hacky it is. > > > > Example use: > > > > $ PYTHON_COMPAT_OVERRIDE=3Dpython3_3 emerge -1v dev-python/nose >=20 > Has it been pushed to tree? >=20 > % grep -r PYTHON_COMPAT_OVERRIDE /usr/portage/eclass/* > >=20 > And I don't see anything related in ML archives. Have I missed something? It couldn't work properly, so I withdrawn it. The major problem is that metadata becomes affected by environmental variables. Sadly, portage can't handle that nicely. Usually, it just results in portage 'sticking' with one particular set of USE flags on the package and trying to use the other one at the same time. In other words, a lot of random behavior and QA warnings. Probably, the nearest thing that could work is PYTHON_COMPAT_OVERRIDE which doesn't use the USE flags but instead forces all impls listed. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/JeeZ5qy6PxzpCOE3aQbyeY. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQJ8BAEBCgBmBQJRQNhUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEKLHkP/20tg2cBrH6BjfWW8I7GsAsX VmcwmZ1ZOU4b7xNeRT5nJsuNR/NQOXtrZAaJp7WM7aiwVlOduOggZVBcmnChTuQc uS5Mo5uLXU3MpjhhiloUEIL8n/JFks5shefITjGJIm12OjZtKK4mVWK0mc+XuB+X TNmaONNDphliRRvyYy7zZ/rioCHXytObC08/eJPA33XVFXEvTN1a2PT/gC0cmlX1 8VA7OIkZfshGqyudlzED2WMzwm5C2CwmZ4qeBUp+cscZq+0OliXEEKm7PkQbUQnt MpjdC/DVvrQy+9CwZe4ugGKTfqq7s/vxqHswKYN9yk9XZlBH027NF8AihRCmuSGy xLv2yxzzv0N6VD0AlPYC2tqnYoOD0X9TFxSA+0YkayqCtvX18MiZZzaD3vNv2nXq 7ILTYTp2CtRrr3kIL5DsOwX9WLcysqQ5fXAjM5LWFrVgYW9iMZUW+y2AFIWLDJWS 7cerNCvBRkTnGKlyotCXM4A11D+4lkM7WI7vtL95V4rWVgs1X86XQWYMynLh8MjI a0C8uFqExP60PKc3B0LTlmgwjaGheLt63FpNKBw1lHiAkEYaQVfF3MUSnY6Wm/v+ aE3mae6wQ0IO0Twfn3laJNIkk7rxzALTPHsKMS6KHymXes+jcMY8SWDLlENIQsXf KKyHkIEQAczlBTk1KnKJ =JtOZ -----END PGP SIGNATURE----- --Sig_/JeeZ5qy6PxzpCOE3aQbyeY.--