View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 591
|
Posted: Mon Dec 16, 2024 2:13 am Post subject: python version question |
|
|
in my gentoo
there are three versions of python
py 3.11, py 3.12, py 3.13
last time i made my whole system to py 3.12 (steps according to eselect news)
so the future is 3.13, right? but when?
and can i remove py 3.11? or why emerge --depclean does not clean it out?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9847 Location: almost Mile High in the USA
|
Posted: Mon Dec 16, 2024 3:20 am Post subject: |
|
|
There are probably some packages that are still using python3.11 and are only that version due to PYTHON_SINGLE_TARGET or PYTHON_TARGETS. This could be due to that package not being checked or failed check on new python versions.
If there is nothing depending on python3.11 portage should be able to depclean it. I still have a machine with python3.9 through python3.13 ... ugh... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 591
|
Posted: Mon Dec 16, 2024 3:30 am Post subject: |
|
|
oooooops...found that many X stuff depends on py 3.11
any driving force moving pkg to py 3.12? gentoo? gentoo devs?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 495
|
Posted: Mon Dec 16, 2024 4:38 am Post subject: |
|
|
honeymak wrote: | oooooops...found that many X stuff depends on py 3.11
any driving force moving pkg to py 3.12? gentoo? gentoo devs?
|
double check (and remove) your package.use entries for stuff still telling things to use 3.11 . Gentoo devs are usually relatively quick to move things into new python versions; even now the QA tools like pkgcheck are reminding about upgrading to 3.13.
https://bugs.gentoo.org/showdependencytree.cgi?id=921826&hide_resolved=1 here's the few Gentoo packages still having 3.12 issues
Last edited by Phoenix591 on Mon Dec 16, 2024 4:42 am; edited 1 time in total |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 591
|
Posted: Mon Dec 16, 2024 4:41 am Post subject: |
|
|
i moved to py 3.12 last time eselect news said item from py 3.11 to 3.12
and double checked no py 3.11 target in my use (just ruby 3.1)
hmmm......
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 495
|
Posted: Mon Dec 16, 2024 4:43 am Post subject: |
|
|
honeymak wrote: | i moved to py 3.12 last time eselect news said item from py 3.11 to 3.12
and double checked no py 3.11 target in my use (just ruby 3.1)
hmmm......
|
emerge -avc dev-lang/python:3.11 will clearly say exactly what needs it ( equerry tends to be less accurate with optional dependencies) |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 591
|
Posted: Mon Dec 16, 2024 4:46 am Post subject: |
|
|
Phoenix591 wrote: | honeymak wrote: | i moved to py 3.12 last time eselect news said item from py 3.11 to 3.12
and double checked no py 3.11 target in my use (just ruby 3.1)
hmmm......
|
emerge -avc dev-lang/python:3.11 will clearly say exactly what needs it ( equerry tends to be less accurate with optional dependencies) |
thx for the sweeet emerge cmd...
Code: |
g64 /etc/portage/package.use # emerge -pavc dev-lang/python:3.11
Calculating dependencies... done!
dev-lang/python-3.11.11_p1 pulled in by:
games-puzzle/lightsoff-40.0.1 requires dev-lang/python:3.11
>>> No packages selected for removal by depclean
Packages installed: 1188
Packages in world: 40
Packages in system: 49
Required packages: 1188
Number to remove: 0
|
OOOOOOOOOOOOooooooooooooooo.......
just put it here for your ref. ^_^ _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9847 Location: almost Mile High in the USA
|
Posted: Mon Dec 16, 2024 5:02 am Post subject: |
|
|
If you can upgrade from games-puzzle/lightsoff-40.0.1 to lightsoff-46.0 (it's ~amd64 ~arm ~arm64 ~loong ~riscv ~x86) and there are no other packages that need python-3.11, then you could get rid of python-3.11. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3459 Location: Canada
|
Posted: Mon Dec 16, 2024 11:07 pm Post subject: |
|
|
eccerr0r wrote: | I still have a machine with python3.9 through python3.13 ... ugh... |
Yep, I also carry pyhon from 3.9 onwards on my office machine because my students write code in python, and updating it with every new version is not their main priority |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Tue Dec 17, 2024 2:15 am Post subject: |
|
|
dmpogo wrote: | Yep, I also carry pyhon from 3.9 onwards on my office machine because my students write code in python, and updating it with every new version is not their main priority |
If they continue doing Python after their studies, maybe that is a good skill to develop after all _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 591
|
Posted: Wed Dec 18, 2024 2:57 am Post subject: |
|
|
eccerr0r wrote: | If you can upgrade from games-puzzle/lightsoff-40.0.1 to lightsoff-46.0 (it's ~amd64 ~arm ~arm64 ~loong ~riscv ~x86) and there are no other packages that need python-3.11, then you could get rid of python-3.11. |
this worked......just wondering when gentoo will mark this pkg stable...
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3459 Location: Canada
|
Posted: Wed Dec 18, 2024 11:59 pm Post subject: |
|
|
GDH-gentoo wrote: | dmpogo wrote: | Yep, I also carry pyhon from 3.9 onwards on my office machine because my students write code in python, and updating it with every new version is not their main priority |
If they continue doing Python after their studies, maybe that is a good skill to develop after all |
It is not, they better do research and write their thesis in astrophysics, rather than following python versions |
|
Back to top |
|
|
|