public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: Mike Gilbert <floppym@gentoo.org>
Cc: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder
Date: Mon, 7 Dec 2015 22:27:01 +0100	[thread overview]
Message-ID: <20151207222701.0defd670.mgorny@gentoo.org> (raw)
In-Reply-To: <CAJ0EP43vma5nEnc8+jnhb+SXnpBXLqu8JoBp7OksU0BrLhHbFA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1788 bytes --]

On Mon, 7 Dec 2015 15:36:30 -0500
Mike Gilbert <floppym@gentoo.org> wrote:

> On Sun, Dec 6, 2015 at 2:03 PM, Michał Górny <mgorny@gentoo.org> 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,  
> 
> Sounds ok, but might break some ebuilds.
> 
> > 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.  
> 
> That could be a significant change, and I do expect that this will
> break some ebuilds.
> 
> Any easy way to test this first? Or should we just be ready for the bug reports?

Not an easy. We could try some tinderboxing with USE='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 ;-).

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

  reply	other threads:[~2015-12-07 21:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 19:03 [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 01/13] python-utils-r1.eclass: Mark _PYTHON_ALL_IMPLS read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 02/13] python-utils-r1.eclass: Reorder implementations to semi-ascending order Michał Górny
2015-12-08  8:19   ` Patrice Clement
2015-12-09 19:24     ` Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 03/13] python-any-r1.eclass: Rename global-setting func to match eclass name Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 04/13] python-any-r1.eclass: Unset global-setting function after use Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 05/13] python-any-r1.eclass: Mark eclass-generated variables read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 06/13] python-single-r1.eclass: Unset global-setting function after use Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 07/13] python-single-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 08/13] python-single-r1.eclass: Mark eclass-generated variables read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 09/13] python-r1.eclass: Unset global-setting function after use Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 10/13] python-r1.eclass: Unset local functions " Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 11/13] python-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 12/13] python-r1.eclass: Mark eclass-generated variables read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 13/13] distutils-r1.eclass: Unset local functions after use Michał Górny
2015-12-07 20:36 ` [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder Mike Gilbert
2015-12-07 21:27   ` Michał Górny [this message]
2015-12-09 20:45 ` Michał Górny

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=20151207222701.0defd670.mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=floppym@gentoo.org \
    --cc=gentoo-dev@lists.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