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 0EEF4198005 for ; Thu, 14 Mar 2013 13:12:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E51FE02DF; Thu, 14 Mar 2013 13:11:59 +0000 (UTC) Received: from momout1-smtp.messagingengine.com (momout1-smtp.messagingengine.com [66.111.4.229]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A29AE02DF for ; Thu, 14 Mar 2013 13:11:58 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7CC711AC4; Thu, 14 Mar 2013 09:11:58 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 14 Mar 2013 09:11:58 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:cc:subject:references :date:mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=ioUFNKUsjOft9x3CAeZXoQh9Ovc=; b=nNQV 2/o2MhtqBkftrTXfbektLuL7jNOLQHmcKXRiacXRtS4UQLv6XmZiqqPS3qlgwEXL yFuZvtoJCsDxb61hJ98xe2Bnz/fH3kcBLpubuj3TNOQQNenSOOH4zrRDuFxXeN8J aXKyrUIRRP+N2CyCPfFNSkkFDXPJISh+XiLPJIE= X-Sasl-enc: tCYJVSedkTfpoOmB8MLgEt48yqLXFxUT0NaOp/akM2vn 1363266718 Received: from verkdatorn.npdb (unknown [94.25.228.63]) by mail.messagingengine.com (Postfix) with ESMTPA id B5CE8200FB2; Thu, 14 Mar 2013 09:11:57 -0400 (EDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-python@lists.gentoo.org, python@gentoo.org Subject: Re: [gentoo-python] [PATCH] Support overriding PYTHON_COMPAT. References: <1355395481-17517-1-git-send-email-mgorny@gentoo.org> <20130313204933.58ab8ef9@pomiocik.lan> Date: Thu, 14 Mar 2013 17:10:26 +0400 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-Transfer-Encoding: Quoted-Printable From: "Nikolaj Sjujskij" Message-ID: In-Reply-To: <20130313204933.58ab8ef9@pomiocik.lan> User-Agent: Opera Mail/12.14 (Linux) X-Archives-Salt: 4e1fd422-3113-4c78-8071-f55752ddb82f X-Archives-Hash: da41a2020a0f0f4332ba8fd6bcd735eb Den 2013-03-13 23:49:33 skrev Micha=C5=82 G=C3=B3rny = : > 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 : >> >>> 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 mak= e >>> sure people notice how hacky it is. >>> >>> Example use: >>> >>> $ PYTHON_COMPAT_OVERRIDE=3Dpython3_3 emerge -1v dev-python/nose >> >> Has it been pushed to tree? >> >> % grep -r PYTHON_COMPAT_OVERRIDE /usr/portage/eclass/* >> >> >> 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 tha= t > 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 lo= t > 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. I see... Well, that's unfortunate, I hoped to test pylint with it, = hacking ebuild just for changing PYTHON_COMPAT isn't much fun.