From: Steven Lembark <lembark@wrkhors.com>
To: gentoo-user@lists.gentoo.org
Cc: lembark@wrkhors.com
Subject: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml?
Date: Sun, 7 Mar 2021 13:43:29 -0500 [thread overview]
Message-ID: <20210307134329.10487844.lembark@wrkhors.com> (raw)
In-Reply-To: <14297865.tv2OnDr8pf@lenovo.localdomain>
Checking my environment, I'd expect that "python" is 3.9.1, I think?
# which python
/usr/bin/python
# ls -al /usr/bin/python
lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python -> python-exec2c
# /usr/bin/python --version;
Python 3.9.1
(ins)root@dizzy ~ # eselect python list;
Available Python interpreters, in order of preference:
[1] python3.9
[2] python3.6
[3] python3.8 (fallback)
[4] python3.7 (fallback)
[5] python2.7 (fallback)
Yet when I "emerge pyyaml" it seems to prefer 3.8 (see ? below):
(cmd)root@dizzy ~ # emerge pyyaml
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/pyyaml-5.4.1::gentoo
* pyyaml-5.4.1.gh.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pyyaml-5.4.1.gh.tar.gz to /tmp/portage/dev-python/pyyaml-5.4.1/work
>>> Source unpacked in /tmp/portage/dev-python/pyyaml-5.4.1/work
>>> Preparing source in /tmp/portage/dev-python/pyyaml-5.4.1/work/pyyaml-5.4.1 ...
* Applying pyyaml-5.1-cve-2017-18342.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-python/pyyaml-5.4.1/work/pyyaml-5.4.1 ...
? * Using python3.8 in global scope
? * python3_8: running distutils-r1_run_phase python_configure_all
>>> Source configured.
^C
Exiting on signal 2
>>> Compiling source in /tmp/portage/dev-python/pyyaml-5.4.1/work/pyyaml-5.4.1 ...
^Csandbox:stop caught signal 2 in pid 8217
Sandboxed process killed by signal: Interrupt
* The ebuild phase 'die_hooks' has been killed by signal 2.
* Messages for package dev-python/pyyaml-5.4.1:
* Log file: /var/log/portage/dev-python:pyyaml-5.4.1:20210307-183833.log
Q: Is it reasonable to simply remove everything other than 3.9 and
some version of 2.7?
Trying to build 3.9 for one of my co-workers was hell, we ended up
using 3.8. Would it make more sense to remove 3.9?
Not entirely sure why I have so many versions of python left behind
by upgrades.
--
Steven Lembark
Workhorse Computing
lembark@wrkhors.com
+1 888 359 3508
next prev parent reply other threads:[~2021-03-07 18:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-06 19:38 [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? Steven Lembark
2021-03-06 21:29 ` Mark Knecht
2021-03-06 23:09 ` David Haller
2021-03-07 16:00 ` Steven Lembark
2021-03-07 17:03 ` Arve Barsnes
2021-03-07 17:06 ` Michael
2021-03-07 18:37 ` Steven Lembark
2021-03-07 18:43 ` Steven Lembark [this message]
2021-03-07 19:30 ` Michael
2021-03-07 23:33 ` Steven Lembark
2021-03-07 22:04 ` Neil Bothwick
2021-03-07 23:32 ` Steven Lembark
2021-03-07 23:47 ` Neil Bothwick
2021-03-07 23:51 ` Neil Bothwick
2021-03-07 23:52 ` Steven Lembark
2021-03-08 9:20 ` Neil Bothwick
2021-03-08 6:05 ` Arve Barsnes
[not found] ` <20210313122340.6d795eb1.lembark@wrkhors.com>
2021-03-13 17:52 ` Arve Barsnes
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=20210307134329.10487844.lembark@wrkhors.com \
--to=lembark@wrkhors.com \
--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