Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Python upgrade

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
Author
Message
wundermute
n00b
n00b
Posts: 8
Joined: Tue Aug 27, 2019 8:27 pm
Location: Brittany

Python upgrade

  • Quote

Post by wundermute » Tue Jun 18, 2024 2:21 pm

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
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Tue Jun 18, 2024 3:49 pm

Maybe Bug 921826 - [TRACKER] Python 3.12 porting
Quis separabit? Quo animo?
Top
eschwartz
Developer
Developer
User avatar
Posts: 240
Joined: Sun Oct 29, 2023 4:27 pm

  • Quote

Post by eschwartz » Tue Jun 18, 2024 7:54 pm

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/gp ... 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/gp ... blereq.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.
Top
wundermute
n00b
n00b
Posts: 8
Joined: Tue Aug 27, 2019 8:27 pm
Location: Brittany

  • Quote

Post by wundermute » Wed Jun 19, 2024 12:37 pm

Thank you for all those details.
Top
artbody
Guru
Guru
User avatar
Posts: 494
Joined: Fri Sep 15, 2006 7:55 pm
Location: LB
Contact:
Contact artbody
Website

  • Quote

Post by artbody » Mon Jun 24, 2024 1:55 pm

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
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Mon Jun 24, 2024 2:06 pm

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
Top
eschwartz
Developer
Developer
User avatar
Posts: 240
Joined: Sun Oct 29, 2023 4:27 pm

  • Quote

Post by eschwartz » Mon Jun 24, 2024 2:30 pm

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.
Top
Ralphred
l33t
l33t
Posts: 822
Joined: Tue Dec 31, 2013 11:52 am

  • Quote

Post by Ralphred » Tue Jun 25, 2024 2:03 pm

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.
Top
Mkomlofske89
n00b
n00b
Posts: 1
Joined: Thu Jun 27, 2024 2:02 am
Location: Auckland, New Zealand

Python...

  • Quote

Post by Mkomlofske89 » Thu Jun 27, 2024 2:04 am

Snakes be messing up everything! Watch out for that king cobra though.
Top
Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy