Page 3 of 3

Re: Python 2 exorcism

Posted: Mon Sep 28, 2020 21:39
by sabayonino
A Gentoo NEWS :
Title Python 2.7 cleanup is progressing
Author Michał Górny <[email protected]>
Posted 2020-09-28
Revision 1

Python 2.7 has reached its end-of-life by 2019-12-31, and many projects
have removed Python 2 support since. During the last few months we have
been working hard to migrate Gentoo to Python 3, and we have finally
reached the point making it possible for the vast majority of our users
to run a system free of Python 2.7 packages (except for the interpreter

The few remaining high profile packages (e.g. dev-python/cython)
are preserving Python 2.7 only for a very few uncommon packages.
For this reason, we have decided to create new revisions of them having
Python 2.7 removed. If you do not need Python 2.7 there, your package
manager should upgrade these packages to the new revisions.

Please note that you may need to manually uninstall any Python 2.7
packages installed from third-party repositories and/or run `emerge
--depclean` first to remove orphan packages. The recommended process
for Portage users is:

emerge --depclean
emerge -vDuU @world
emerge --depclean

Please note that the Python 2.7 interpreter (without additional Python
packages) remains necessary to build a few high profile packages,
in particular Chromium, Mozilla software and PyPy. If you build either
of these packages from source, you will not be able to permanently
remove Python 2.7 from your system.

We are going to preserve CPython 2.7 (and PyPy2.7) for as long
as necessary and provide security fixes to the best of our ability.
However, please note that we are not able to dedicate resources to
auditing Python 2.7's code and with little community interest in that,
it should be considered potentially vulnerable.

If your projects still rely on Python 2.7, we would like to once again
encourage you to migrate them to Python 3. However, if you really need
to run them, we suggest using a virtualenv. To create a new Python 2.7
environment, install dev-python/virtualenv and use the following option:

virtualenv -p /usr/bin/python2.7 ...

To create a PyPy2.7 environment:

virtualenv -p /usr/bin/pypy ...

Modern versions of pip should be able to automatically select older
versions of packages that still support Python 2.7. Please note that
these versions are generally no longer supported. They can be buggy,
vulnerable or simply incompatible with one another.

Please do not forget to add dev-lang/python:2.7 to your @world set
or it may get depcleaned once all package dependencies are gone.
maybe "virtualenv" solution can help you.

Re: Python 2 exorcism

Posted: Tue Sep 29, 2020 0:48
by msdobrescu
There are many packages requests I've made lately, nobody looked at them in months, unrelated to this problem (one of them starts to be a stopper lately, related to fortivpn).
There are apps or packages that have python 3 alternative, some requested, not taken into consideration yet, seemingly: mypaint, sigil, spyder, zenmap. Why? Too busy? Overwhelmed? A request was simply closed with the comment to revisit it in the future...
There are unique softwares that are really relevant to graphics: GIMP Resynthesizer, displaycal, I am baffled they are not a problem by Sabayon users. Don;'t they calibrate their displays and process graphics? No photographers at all?
What about yafaray?

Re: Python 2 exorcism

Posted: Sun Nov 29, 2020 18:42
by msdobrescu
OMG! Aliens from planet Python abducted Sabayon! I've got a Python 2.7 upgrade! How's that possible? ;)
Thanks, guys, for the big KDE/Plasma update!

Re: Python 2 exorcism

Posted: Sun Nov 29, 2020 22:17
by sabayonino
There was update for all python versions in portage.
Some bug fix. Not new features. ... 89f82ea669

Code: Select all

-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"

Re: Python 2 exorcism

Posted: Sun Nov 29, 2020 22:34
by msdobrescu
I've thought they've dropped it completely.
Now, 0ad is gone too.

Re: Python 2 exorcism

Posted: Wed Dec 02, 2020 0:14
by joost
msdobrescu wrote:
Sun Nov 29, 2020 22:34
Now, 0ad is gone too.
Sadly yes.

Re: Python 2 exorcism

Posted: Wed Dec 02, 2020 6:16
by msdobrescu
Well, I think the time to move to a better distro has come... I was looking for one to satisfy my neds and I think I've found it! Thank you for all the support these years.
Yesterday a friend of mine asked me what distro I recommend and I couldn't say Sabayon anymore...
So, despite I'll miss Sabayon, I must move on.
In case you wonder, I've found this one. I'm sure it will be better. :mrgreen:
I recommend it to you too. It doesn't have python issues either.

Re: Python 2 exorcism

Posted: Wed Dec 02, 2020 21:04
by joost
LOL! See you on the other side!

Re: Python 2 exorcism

Posted: Wed Dec 02, 2020 21:30
by msdobrescu
You've already had! :) Can't wait to have it running fully!