Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
wundermute
n00b
n00b


Joined: 27 Aug 2019
Posts: 8
Location: Brittany

PostPosted: Tue Jun 18, 2024 2:21 pm    Post subject: Python upgrade Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20485

PostPosted: Tue Jun 18, 2024 3:49 pm    Post subject: Reply with quote

Maybe Bug 921826 - [TRACKER] Python 3.12 porting
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 227

PostPosted: Tue Jun 18, 2024 7:54 pm    Post subject: Reply with quote

https://qa-reports.gentoo.org/

Under "Python reports", there is the list of all packages that support 3.11 but not 3.12: https://qa-reports.gentoo.org/output/gpyutils/311-to-312.txt

Also the list of all packages that support 3.12 in an ~arch ebuild, but only support 3.11 in *stable* packages, and thus need a stablereq to be carried out: https://qa-reports.gentoo.org/output/gpyutils/311-to-312-stablereq.txt

The tracker issue isn't automatically generated from the authoritative state of the repository itself, but should in principle be mostly the same as the QA reports.
Back to top
View user's profile Send private message
wundermute
n00b
n00b


Joined: 27 Aug 2019
Posts: 8
Location: Brittany

PostPosted: Wed Jun 19, 2024 12:37 pm    Post subject: Reply with quote

Thank you for all those details.
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 494
Location: LB

PostPosted: Mon Jun 24, 2024 1:55 pm    Post subject: Reply with quote

python is a mess since YEARS 8O
every update the same ... :oops:

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
View user's profile Send private message
Spanik
Veteran
Veteran


Joined: 12 Dec 2003
Posts: 1003
Location: Belgium

PostPosted: Mon Jun 24, 2024 2:06 pm    Post subject: Reply with quote

artbody wrote:
python is a mess since YEARS 8O
every update the same ... :oops:

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
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 227

PostPosted: Mon Jun 24, 2024 2:30 pm    Post subject: Reply with quote

artbody wrote:
python is a mess since YEARS 8O
every update the same ... :oops:

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
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 653

PostPosted: Tue Jun 25, 2024 2:03 pm    Post subject: Reply with quote

Spanik wrote:
artbody wrote:
python is a mess since YEARS 8O
every update the same ... :oops:

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
View user's profile Send private message
Mkomlofske89
n00b
n00b


Joined: 27 Jun 2024
Posts: 1
Location: Auckland, New Zealand

PostPosted: Thu Jun 27, 2024 2:04 am    Post subject: Python... Reply with quote

Snakes be messing up everything! Watch out for that king cobra though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum