Hello,
Users of the testing repository, sabayon-limbo can now use Entropy with
the python 3 interpreter.
It is available in these versions:
app-admin/equo-324-r1
app-admin/matter-324-r1
app-admin/rigo-324-r1
app-misc/magneto-loader-324
kde-misc/magneto-kde-324-r1
sys-apps/entropy-324-r1
sys-apps/entropy-server-324
sys-apps/magneto-core-324
sys-apps/rigo-daemon-324-r1
x11-misc/magneto-gtk-324-r2
x11-misc/magneto-gtk3-324
These versions provide support for both Python 2 and 3, excluding
magneto-gtk which works only with the former. After updating, it may be
needed to restart Entropy applications that run in the background
(RigoDaemon, magneto) if you want to have them under control of Python 3
right away.
Please share if you find any issues.
The command line tool equo has received good testing coverage with
Python 3, but graphical tools (Rigo, magneto) somewhat less. So if
you're looking for bugs, look especially there!
As usual, commands will use interpreter version that is set globally. If
you don't have Python 3 set as default yet, it can be changed using eselect:
# python -V
Python 2.7.16
# eselect python set python3.6
# python -V
Python 3.6.9
Running with other version of the interpreter without changing global
configuration can be done this way:
EPYTHON=python2.7 equo ...
or
EPYTHON=python3.6 equo ...
as documented here:
https://wiki.gentoo.org/wiki/Project:Python/python-exec#Local_implementation_overrides
and found quickly using DuckDuckGo. ;)
Enjoy!