Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2024 17:13:03 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Colin Percival <cperciva@tarsnap.com>
Cc:        Ruslan Makhmatkhanov <rm@freebsd.org>, ports-committers@freebsd.org,  dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 988da7290c99 - main - ./UPDATING: mention the python default version change
Message-ID:  <7hnejiyqva2kpxgwrr3oozgkwt3crg6d4arxk3a5yjs5v47jzt@kqo4ymrtl2zk>
In-Reply-To: <0100018fde9edae4-d4e8b02b-e230-4260-862d-91d61e9433ae-000000@email.amazonses.com>
References:  <202405291420.44TEKdBd073352@gitrepo.freebsd.org> <pupckib4hcq2tiqesuyxfodzz7q6rcjnzn6625qhsazzehaotd@gxm54qjiyxuq> <0100018fde9edae4-d4e8b02b-e230-4260-862d-91d61e9433ae-000000@email.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7hnejiyqva2kpxgwrr3oozgkwt3crg6d4arxk3a5yjs5v47jzt>