View previous topic :: View next topic |
Author |
Message |
wundermute n00b
Joined: 27 Aug 2019 Posts: 8 Location: Brittany
|
Posted: Tue Jun 18, 2024 2:21 pm Post subject: Python upgrade |
|
|
Hello,
Following the news '2024-05-09 Python 3.12 to become the default on 2024-06-01' I upgraded to 3_12.
I since experience a fair amount of ebuilds still remaining in 3_11. It's funny to find some dev-python ones. Is there somewhere a list of those 3_11 ebuilds ?
I think the easiest way while waiting for some upgraded ebuilds is to copy them in my localrepo and build a new manifest with modified ebuilds.
For more than a decade now, I feel good with perl-cleaner and often pest about python upgrades. Is there a magic wand I'm unaware of ?
regards |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 227
|
|
Back to top |
|
|
wundermute n00b
Joined: 27 Aug 2019 Posts: 8 Location: Brittany
|
Posted: Wed Jun 19, 2024 12:37 pm Post subject: |
|
|
Thank you for all those details. |
|
Back to top |
|
|
artbody Guru
Joined: 15 Sep 2006 Posts: 494 Location: LB
|
Posted: Mon Jun 24, 2024 1:55 pm Post subject: |
|
|
python is a mess since YEARS
every update the same ...
imagine that all other Prog-languages need the same attention ...
but as said on my first look at the first python scripts over 20 years ago, someone who doesn't give a fixed end to a line , like in C the ; sign , is miles away from what ever.
in my opinion
Wait until you have no other possibility _________________ Never give up
WM : E16 the true enlightenment
achim |
|
Back to top |
|
|
Spanik Veteran
Joined: 12 Dec 2003 Posts: 1003 Location: Belgium
|
Posted: Mon Jun 24, 2024 2:06 pm Post subject: |
|
|
artbody wrote: | python is a mess since YEARS
every update the same ...
imagine that all other Prog-languages need the same attention ...
but as said on my first look at the first python scripts over 20 years ago, someone who doesn't give a fixed end to a line , like in C the ; sign , is miles away from what ever.
in my opinion
Wait until you have no other possibility |
+1 (and more) Every time there is a Python (or Perl) update I fear the worst. Rarely this goes fine and almost every time I find myself coming here to get everything working again. _________________ Expert in non-working solutions |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 227
|
Posted: Mon Jun 24, 2024 2:30 pm Post subject: |
|
|
artbody wrote: | python is a mess since YEARS
every update the same ...
imagine that all other Prog-languages need the same attention ...
|
But other programming languages DO need the same attention and are handled the same way in Gentoo.
It's just that python is actually a popular programming language. No one uses lua or ruby, for example.
Rust (and go) is far worse than python, but simply bundles all its dependencies into each ebuild.
C/C++ handle this via slots, and people complain about slot conflicts on Gentoo more often than they complain about python issues. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 653
|
Posted: Tue Jun 25, 2024 2:03 pm Post subject: |
|
|
Spanik wrote: | artbody wrote: | python is a mess since YEARS
every update the same ...
imagine that all other Prog-languages need the same attention ...
but as said on my first look at the first python scripts over 20 years ago, someone who doesn't give a fixed end to a line , like in C the ; sign , is miles away from what ever.
in my opinion
Wait until you have no other possibility |
+1 (and more) Every time there is a Python (or Perl) update I fear the worst. Rarely this goes fine and almost every time I find myself coming here to get everything working again. |
The smoothest transition is still to enable the current default and the next version as soon as an upgrade is hinted at, then at a time of your choosing (possibly after some /var/db/pkg/*/*/*.ebuild grepping) turn of the now old version. I neglected to "turn off" one of the old versions on one of my machines from the 3.8->3.9 upgrade, on doing so before attempting the 3.12 upgrade it only affected about 3 packages, so it can be painless, even if less than optimal, to have multiple versions installed.
I think it boils down to how much are you willing to fondle the upgrade vs how much python cruft laying on your drive you find acceptable. |
|
Back to top |
|
|
Mkomlofske89 n00b
Joined: 27 Jun 2024 Posts: 1 Location: Auckland, New Zealand
|
Posted: Thu Jun 27, 2024 2:04 am Post subject: Python... |
|
|
Snakes be messing up everything! Watch out for that king cobra though. |
|
Back to top |
|
|
|