Discussion:
[gentoo-user] Python 3.10 and python 3.11
(too old to reply)
Jacques Montier
2023-05-28 16:50:01 UTC
Permalink
Hello all,

I have upgraded python from 3.10 to 3.11 without any issues.
I thought i could get rid of python-3.10 by unmerging it, but Gentoo wants
to re-emerge 3.10.
I think some package still needs 3.10, but how could i know which one needs
it ?
I tried equery without success...

Thanks for your response.

Cheers,

--
Jacques.
Yixun Lan
2023-05-29 03:50:01 UTC
Permalink
Post by Jacques Montier
Hello all,
I have upgraded python from 3.10 to 3.11 without any issues.
I thought i could get rid of python-3.10 by unmerging it, but Gentoo wants
to re-emerge 3.10.
I think some package still needs 3.10, but how could i know which one needs
it ?
I tried equery without success...
I'm not expert of python, but as I see python3.10 has been use.force enabled, which
might be cause you the problem?
${portage}/profiles/base/package.use.force:210:dev-lang/python-exec python_targets_python3_10

Anyway, why bother to drop python3.10? it merely take a few disk space
Post by Jacques Montier
Thanks for your response.
Cheers,
--
Jacques.
--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
Jacques Montier
2023-05-29 16:30:01 UTC
Permalink
Post by Yixun Lan
Post by Jacques Montier
Hello all,
I have upgraded python from 3.10 to 3.11 without any issues.
I thought i could get rid of python-3.10 by unmerging it, but Gentoo
wants
Post by Jacques Montier
to re-emerge 3.10.
I think some package still needs 3.10, but how could i know which one
needs
Post by Jacques Montier
it ?
I tried equery without success...
I'm not expert of python, but as I see python3.10 has been use.force enabled, which
might be cause you the problem?
${portage}/profiles/base/package.use.force:210:dev-lang/python-exec
python_targets_python3_10
Anyway, why bother to drop python3.10? it merely take a few disk space
Post by Jacques Montier
Thanks for your response.
Cheers,
--
Jacques.
Hi Yixun,

Thanks for your response.
I usually like to unmerge unused packages even if they take few disk
space. 😉
I had llvm (14 and 15) in two slots and llvm-14.0.6-r2 needed python-3.10.
So i unmerged the 14 one and could unmerge python-3.10.
Next reboot, Gentoo wanted to re-emerge llvm-14 and python-3.10.
May be this was because of python-3.10 in package.use.force ?
I masked llvm-14 and everything works fine.
No issue with emerge -auvDN world, emerge --depclean and revdep-rebuild.

Cheers,

--
Jacques
Post by Yixun Lan
--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
Loading...