public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nikolaj Sjujskij" <sterkrig@myopera.com>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-python@lists.gentoo.org, python@gentoo.org
Subject: Re: [gentoo-python] [PATCH] Support overriding PYTHON_COMPAT.
Date: Thu, 14 Mar 2013 17:10:26 +0400	[thread overview]
Message-ID: <op.wtxtjoxeh7emz2@verkdatorn.npdb> (raw)
In-Reply-To: <20130313204933.58ab8ef9@pomiocik.lan>

Den 2013-03-13 23:49:33 skrev Michał Górny <mgorny@gentoo.org>:

> On Wed, 13 Mar 2013 13:20:19 +0400
> "Nikolaj Sjujskij" <sterkrig@myopera.com> wrote:
>
>> Den 2012-12-13 14:44:41 skrev Michał Górny <mgorny@gentoo.org>:
>>
>>> 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=python3_3 emerge -1v dev-python/nose
>>
>> Has it been pushed to tree?
>>
>>   % grep -r PYTHON_COMPAT_OVERRIDE /usr/portage/eclass/*
>> <nothing>
>>
>> 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.
  I see... Well, that's unfortunate, I hoped to test pylint with it,  
hacking ebuild just for changing PYTHON_COMPAT isn't much fun.


  reply	other threads:[~2013-03-14 13:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 10:44 [gentoo-python] [PATCH] Support overriding PYTHON_COMPAT Michał Górny
2012-12-13 15:30 ` [gentoo-python] " Mike Gilbert
2012-12-13 15:51   ` Michał Górny
2012-12-13 17:50   ` [gentoo-python] [PATCH] Add docs Michał Górny
2013-03-13  9:20 ` [gentoo-python] [PATCH] Support overriding PYTHON_COMPAT Nikolaj Sjujskij
2013-03-13 19:49   ` Michał Górny
2013-03-14 13:10     ` Nikolaj Sjujskij [this message]
2013-03-14 16:15       ` Michał Górny
2013-03-14 16:41         ` Nikolaj Sjujskij
2013-03-14 19:02         ` Mike Gilbert
2013-03-15  5:29           ` Nikolaj Sjujskij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.wtxtjoxeh7emz2@verkdatorn.npdb \
    --to=sterkrig@myopera.com \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=mgorny@gentoo.org \
    --cc=python@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox