Page 1 of 1

Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 03:32
by msdobrescu
Hello,

What is the plan for the Python 2 EOL?
Will it be still available for Mageia 8?
Will be still supported packages relying on it (like DiaplayCAL, GIMP Resynthesizer)?

Thanks.

Re: Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 14:12
by jibz
Normaly, everything related with python2 will be droped.
But almost everything is now under py3.

Re: Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 14:52
by msdobrescu
Not several things I use, listed above: DisplayCAL, GIMP Resynthesizer, possibly others. Those are of interest to photographers.

Re: Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 17:48
by doktor5000
Well, if Mageia 8 releases without python2 then you will probably need to find replacements for those, if they haven't been ported in the meantime.

For displaycal, why did you write "I need it back" when it's still working in mga7 and cauldron ?

For GIMP Resynthesizer, according to the upstream discussion you can install it as flatpak which includes the resynthesizer: https://github.com/aferrero2707/gimp-ap ... continuous

Re: Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 18:00
by msdobrescu
Where did I write "I need it back"? It's true, if python 2.x is gone, I would need them back in case I upgrade and I lose them.
Well, I use several distros, Sabayon, KDE Neon, Mageia. As most of them drop python 2.x, I expect trouble.
But really, I don't get completely why losing some unique software due to the fact python 2.x reached EOL? I would need it for several indispensable tools like those two, I think I would live for my passion, like photography, rather than for having the latest software. The computer is a tool, right? I start feeling I am its tool now. A distro should be a service to the community, not vice-versa. It's just me feeling this way?
Don't get me wrong, I understand what means, I want to have the latest and the coolest pieces of software, but not at any cost.

Re: Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 21:03
by benmc
if py2 is dropped, it will still remain in the Mageia 7repo. (if you look, Mageia1 is still in the repos).

so there are some options for you:

keep a Mga7 in a virtual box- just dont let it connect to the internet after your last Mga7 EOL update, as the usual reason (updates) does not apply any more.
Create a new Mageia 7 system, just for those applications that need py2. again, disable the internet function when Mga7 goes EOL.
(or keep your existing Mageia 7 and create a new Mageia8 system.)
Since you appear to be multi-booting, this should not be an issue for you.

then, when your required apps are completely ported to py3, you can install the OS that supports them.

Re: Mageia 8 and Python 2

PostPosted: Sep 29th, '20, 22:42
by doktor5000
msdobrescu wrote:Where did I write "I need it back"?

https://hub.displaycal.net/issue/17813/#comment-1039

Re: Mageia 8 and Python 2

PostPosted: Sep 30th, '20, 05:52
by msdobrescu
...Three months ago...

Re: Mageia 8 and Python 2

PostPosted: Sep 30th, '20, 18:18
by doktor5000
Yes, despite the fact that upstream wrote there that this is still ongoing and not a priority for them.
Apart from that, it's not gone, it is still present - if you want to use it, then you can't use the latest and newest linux distros.
Wasn't that your point, that your computer is a tool to you - so why break that tool by installing the latest distro version despite knowing that it would break ?
And afterwards "I need it back", that simply doesn't make any sense, sorry.

Re: Mageia 8 and Python 2

PostPosted: Sep 30th, '20, 18:59
by msdobrescu
Well, it makes a lot sense as long as it is gone in several distros already.
I felt important to add my voice there.
Also, I think people judge too fast those things, as we don't know the reason for moving to the next python being not a priority. We don't know the guy reason, maybe he simply has no time. We don't know what happens with his life, he provided a good tool for many years, why lose patience now?
I am sure all of you and maintainers of other fine distros worked a lot at this migration, you feel you must stop now due to a few things, say you drop them for now, which is perfectly understandable.
What I don't get is why not supplying the latest EOL python version you have for once more as long as you already did in the last years, just to support a few good tools for one more year? Tools for the users, not for the sake of their makers. What is so harmful in this?
I don't say you don't, as I don't know yet for sure, but I see them gone in Cauldron, or I don't know how to look for them...

Now to go to the tools themselves, maybe there are ways to preserve colour calibration, but GIMP Resynthesizer is a technology that few expensive proprietary software have. Good resource that AppImage site, BTW, thank you!

Re: Mageia 8 and Python 2

PostPosted: Sep 30th, '20, 20:28
by doktor5000
Well, the upstream maintainer mentioned that he does not need nor want help with the migration, e.g. here: https://bugs.debian.org/cgi-bin/bugrepo ... =942988#46
And I'm not losing patience, you created this thread and asked for it to stay.

msdobrescu wrote:What I don't get is why not supplying the latest EOL python version you have for once more as long as you already did in the last years, just to support a few good tools for one more year? Tools for the users, not for the sake of their makers. What is so harmful in this?

Seems you got that twisted. Why should we as a distro provide an outdated core piece of software which is EOL already by upstream, meaning it does neither get security updates nor bug fixes? Just because a few pieces of software have not been ported to the new version?

You can perfectly use an older version of the distro, or e.g. compile a statically-linked version of displaycal yourself, nobody is taking that away from you.

Re: Mageia 8 and Python 2

PostPosted: Sep 30th, '20, 20:46
by msdobrescu
Actually, I have answered to this already.

Re: Mageia 8 and Python 2

PostPosted: Oct 1st, '20, 05:08
by jiml8
To continue to use outdated software, a virtual machine is your friend.

I still run Windows 2000 software. On a Windows 2000 virtual machine.

Re: Mageia 8 and Python 2

PostPosted: Oct 1st, '20, 05:32
by msdobrescu
Right now I depend on KRDC for my job. VirtualBox is crashing when I use KRDC, seems to be a clipboard sharing problem (some resource lock problem?).

Re: Mageia 8 and Python 2

PostPosted: Oct 1st, '20, 10:52
by jibz
Python3 is 12 years old.
It isn't new, the EOL of py2 is known for years, if nothing was done, we can consider that the project is obsolete or dead. We have to live with our time, so many good tools are in the past and not usable anymore, that's life.

Maintaining a whole stack (py2) is a lot of work, migrating tools was also a challenge, you have to deal with it. Sorry

Re: Mageia 8 and Python 2

PostPosted: Oct 1st, '20, 10:59
by msdobrescu
I know this distro since Mandrake, I have learned Linux with it and Gentoo.
I have a different opinion, there is freedom of speech, so I say it. That's it. No obligation.
I see so many people lately liking to say "you have to deal with it". I will, but that won't change my opinion.

Re: Mageia 8 and Python 2

PostPosted: Oct 1st, '20, 18:58
by doktor5000
msdobrescu wrote:but that won't change my opinion.

Nobody is trying to force your opinion.

Apart from that, freedom of speech means you can speak nearly whatever you wish. That does not mean others have to agree with that.

Re: Mageia 8 and Python 2

PostPosted: Oct 1st, '20, 19:13
by msdobrescu
Dear guys, you insist so much as I tend to believe you try to change my opinion. It's an opinion, it's on a topic, I don't discuss all that it comes to my mind, as it implies your statement. I really smiled today.
I appreciate you as technicians, I know what means to maintain all these, there is a lot of stress around this migration, I feel you too.

Re: Mageia 8 and Python 2

PostPosted: Oct 4th, '20, 02:32
by jiml8
I have only recently learned python, so I have no experience with python 2 at all.

But it occurs to me that translating from 2 to 3 might not be a horrible job. I don't know, but it seems reasonable to assume that.

If this is true, then OP might consider translating this valuable program himself.

Re: Mageia 8 and Python 2

PostPosted: Mar 24th, '21, 19:56
by anv
It is horryble enough for some importan software like playonlinux still not using python 3.

I will have to find the way to install python 2.7 in mageia 8 or I will continue with Mageia 7...

Re: Mageia 8 and Python 2

PostPosted: Mar 24th, '21, 21:03
by sturmvogel
anv wrote:I will have to find the way to install python 2.7 in mageia 8 or ..

Using EOL software is nearly never a solution.

The newest development version from POL is running under Mageia 8 with Python3. Steps:

To get the latest developement version, open a terminal and type:
Code: Select all
git clone https://github.com/PlayOnLinux/POL-POM-4


Install following packages (and their dependencies) from Mageia 8 repos :
Code: Select all
python3-wxpython4
python3-natsort
netcat-traditional
cabextract
imagemagick
xterm
icoutils
wine (32bit)
jq
libqt5openql5 (32bit)


Et voila: POL works with Python3 on Mageia 8.

Re: Mageia 8 and Python 2

PostPosted: Apr 13th, '21, 09:04
by gnumax
msdobrescu wrote:Hello,

What is the plan for the Python 2 EOL?
Will it be still available for Mageia 8?
Will be still supported packages relying on it (like DiaplayCAL, GIMP Resynthesizer)?

Thanks.


Hello, Friend! I am a new member in Mageia, greetings! For Python2 question, technically now we have GNU Guix, a portable package manager program which can help us install software in whatever GNU+Linux distro we are using, including Python2 (read here). Honestly, Guix requires many patience & readings to use so if you are interested, it might be a new adventure to you in Mageia. Visit https://guix.gnu.org to grab Guix. I wish this helps.