Mailing List Archive

Python 3.10 and python 3.11
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.
Re: Python 3.10 and python 3.11 [ In reply to ]
Hi Jacques:

On 18:46 Sun 28 May , Jacques Montier wrote:
> 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
>
> Thanks for your response.
>
> Cheers,
>
> --
> Jacques.

--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
Re: Python 3.10 and python 3.11 [ In reply to ]
Le lun. 29 mai 2023 à 05:49, Yixun Lan <dlan@gentoo.org> a écrit :

> Hi Jacques:
>
> On 18:46 Sun 28 May , Jacques Montier wrote:
> > 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
> >
> > 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





> --
> Yixun Lan (dlan)
> Gentoo Linux Developer
> GPG Key ID AABEFD55
>
>