From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I force emerge to use python 3.6?
Date: Fri, 15 May 2020 23:33:03 -0400 [thread overview]
Message-ID: <CAJ0EP421v3X0A2CvZAbwDFiHSc9v_44P_12xo8A+PNLRa6JZyw@mail.gmail.com> (raw)
In-Reply-To: <ad9d6c14-bb14-74b0-4fb3-6582312d6f65@iinet.net.au>
On Fri, May 15, 2020 at 10:17 PM William Kenworthy <billk@iinet.net.au> wrote:
>
> Hi Victor,
>
> emerge crashes when it tries to add metadata during the merge stage
> in an emerge installed python module using 3.7 when the PKGDIR is on a
> moosefs share. When PKGDIR is local its fine.
>
> I am rebuilding some systems now with 3.6 as the PYTHON_SINGLE_TARGET
> but I was hoping for some way to specify emerge use 3.7 or 3.6 without
> having to rebuild portage and all its dependencies everytime I want to
> switch and test ...
Set PYTHON_TARGETS=pytthon3_6. This will ensure portage and its
dependencies are built for python3.6.
You can then set python3.6 as the default interpreter globally by
putting it first in /etc/python-exec/python-exec.conf. There's a
comment with instructions at the top of that file.
If you only want emerge to use python3.6, put it in
/etc/python-exec/emerge.conf instead.
next prev parent reply other threads:[~2020-05-16 3:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 1:32 [gentoo-user] How can I force emerge to use python 3.6? William Kenworthy
2020-05-16 1:55 ` Victor Ivanov
2020-05-16 2:17 ` William Kenworthy
2020-05-16 3:33 ` Mike Gilbert [this message]
2020-05-16 3:34 ` Mike Gilbert
2020-05-16 3:48 ` William Kenworthy
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=CAJ0EP421v3X0A2CvZAbwDFiHSc9v_44P_12xo8A+PNLRa6JZyw@mail.gmail.com \
--to=floppym@gentoo.org \
--cc=gentoo-user@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