Re: git: 988da7290c99 - main - ./UPDATING: mention the python default version change

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Mon, 03 Jun 2024 15:13:03 UTC
On Mon 03 Jun 15:01, Colin Percival wrote:
> On 6/3/24 06:45, Baptiste Daroussin wrote:
> > On Wed 29 May 14:20, Ruslan Makhmatkhanov wrote:
> > > +  For users of pre-build packages:
> > > +  # sh
> > > +  # for i in $(pkg query -g %n 'py39-*'); do pkg set -yn ${i}:py311-${i#py39-}; done
> > 
> > I don't think it is a good advice at all, pkg set should not be necessary at
> > all, what case are we trying to fix by providing this advice?
> 
> When I first ran 'pkg upgrade', pkg told me that it wanted to uninstall kde.
> I said no.  I looked in UPDATING, ran that line of code, and then ran 'pkg
> upgrade' again and it worked without uninstalling kde.
> 
> I agree that it *should* not be necessary, but it was necessary for me.

It is necessary because the way we do package python is not sane and done
without packaging in mind (cf my other mail).

We should fix the python packaging in the ports tree rather that relying on
workarounds, this is my point.

Best regards,
Bapt