public inbox for gentoo-alt@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-alt] [PREFIX] disabling Python-2 by default?
@ 2019-05-30  9:39 Fabian Groffen
  2019-05-31  2:28 ` Benda Xu
  0 siblings, 1 reply; 4+ messages in thread
From: Fabian Groffen @ 2019-05-30  9:39 UTC (permalink / raw
  To: gentoo-alt

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

Hi,

Now we're using python-3 to bootstrap in stage1 (this has still some
issues on some platforms, but I'm assuming we can fix those), I've been
wondering myself whether we should disable python-2 by default in
Prefix.  It would reduce some compilation time and files/disk footprint.

Opinions, thoughts, ideas on disabling python-2 by default?

(Obviously, people can enable and install python-2 after bootstrap,
there's no plans to remove the ebuild from the tree at this time.)

Thanks,
Fabian

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-alt] [PREFIX] disabling Python-2 by default?
  2019-05-30  9:39 [gentoo-alt] [PREFIX] disabling Python-2 by default? Fabian Groffen
@ 2019-05-31  2:28 ` Benda Xu
  2019-05-31  5:55   ` Guilherme Amadio
  0 siblings, 1 reply; 4+ messages in thread
From: Benda Xu @ 2019-05-31  2:28 UTC (permalink / raw
  To: gentoo-alt

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

Dear Fabian,

Fabian Groffen <grobian@gentoo.org> writes:

> Now we're using python-3 to bootstrap in stage1 (this has still some
> issues on some platforms, but I'm assuming we can fix those), I've been
> wondering myself whether we should disable python-2 by default in
> Prefix.  It would reduce some compilation time and files/disk footprint.
>
> Opinions, thoughts, ideas on disabling python-2 by default?
>
> (Obviously, people can enable and install python-2 after bootstrap,
> there's no plans to remove the ebuild from the tree at this time.)

I agree with you.  We only need bootstrap to produce a minimal system
for people to start with.  If anything could be gotten rid of to make
bootstrap simpler, it should happen.

Yours,
Benda

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-alt] [PREFIX] disabling Python-2 by default?
  2019-05-31  2:28 ` Benda Xu
@ 2019-05-31  5:55   ` Guilherme Amadio
  2019-05-31  9:27     ` [gentoo-alt] [PREFIX] Python-2 now disabled by default Fabian Groffen
  0 siblings, 1 reply; 4+ messages in thread
From: Guilherme Amadio @ 2019-05-31  5:55 UTC (permalink / raw
  To: gentoo-alt

Hi all,

On Fri, May 31, 2019 at 10:28:47AM +0800, Benda Xu wrote:
> Dear Fabian,
> 
> Fabian Groffen <grobian@gentoo.org> writes:
> 
> > Now we're using python-3 to bootstrap in stage1 (this has still some
> > issues on some platforms, but I'm assuming we can fix those), I've been
> > wondering myself whether we should disable python-2 by default in
> > Prefix.  It would reduce some compilation time and files/disk footprint.
> >
> > Opinions, thoughts, ideas on disabling python-2 by default?
> >
> > (Obviously, people can enable and install python-2 after bootstrap,
> > there's no plans to remove the ebuild from the tree at this time.)
> 
> I agree with you.  We only need bootstrap to produce a minimal system
> for people to start with.  If anything could be gotten rid of to make
> bootstrap simpler, it should happen.

+1

-Guilherme


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-alt] [PREFIX] Python-2 now disabled by default
  2019-05-31  5:55   ` Guilherme Amadio
@ 2019-05-31  9:27     ` Fabian Groffen
  0 siblings, 0 replies; 4+ messages in thread
From: Fabian Groffen @ 2019-05-31  9:27 UTC (permalink / raw
  To: gentoo-alt

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

Python-2 is now disabled by default via
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9de14ba

Since this changes the default for *all* users:
- if you want to keep python2_7, in your etc/portage/make.conf:
  PYTHON_TARGETS="python2_7 python3_6"
- if you're ok without python2_7, rebuild things to avoid dependency
  problems:
  emerge -Duva --newuse world

Above after you synced to a tree that contains the change (in an hour
from now or so).

Thanks,
Fabian

On 31-05-2019 07:55:44 +0200, Guilherme Amadio wrote:
> Hi all,
> 
> On Fri, May 31, 2019 at 10:28:47AM +0800, Benda Xu wrote:
> > Dear Fabian,
> > 
> > Fabian Groffen <grobian@gentoo.org> writes:
> > 
> > > Now we're using python-3 to bootstrap in stage1 (this has still some
> > > issues on some platforms, but I'm assuming we can fix those), I've been
> > > wondering myself whether we should disable python-2 by default in
> > > Prefix.  It would reduce some compilation time and files/disk footprint.
> > >
> > > Opinions, thoughts, ideas on disabling python-2 by default?
> > >
> > > (Obviously, people can enable and install python-2 after bootstrap,
> > > there's no plans to remove the ebuild from the tree at this time.)
> > 
> > I agree with you.  We only need bootstrap to produce a minimal system
> > for people to start with.  If anything could be gotten rid of to make
> > bootstrap simpler, it should happen.
> 
> +1
> 
> -Guilherme
> 

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-31  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-30  9:39 [gentoo-alt] [PREFIX] disabling Python-2 by default? Fabian Groffen
2019-05-31  2:28 ` Benda Xu
2019-05-31  5:55   ` Guilherme Amadio
2019-05-31  9:27     ` [gentoo-alt] [PREFIX] Python-2 now disabled by default Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox