Date: Mon, 3 Jun 2024 15:45:05 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: Ruslan Makhmatkhanov <rm@freebsd.org> Cc: 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: <pupckib4hcq2tiqesuyxfodzz7q6rcjnzn6625qhsazzehaotd@gxm54qjiyxuq> In-Reply-To: <202405291420.44TEKdBd073352@gitrepo.freebsd.org> References: <202405291420.44TEKdBd073352@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed 29 May 14:20, Ruslan Makhmatkhanov wrote: > The branch main has been updated by rm: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=988da7290c997a29581bb828bd59257060d8ddbc > > commit 988da7290c997a29581bb828bd59257060d8ddbc > Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> > AuthorDate: 2024-05-29 14:20:07 +0000 > Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> > CommitDate: 2024-05-29 14:20:07 +0000 > > ./UPDATING: mention the python default version change > --- > UPDATING | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/UPDATING b/UPDATING > index 7a5fc11c35ec..f0077905cb2d 100644 > --- a/UPDATING > +++ b/UPDATING > @@ -5,6 +5,39 @@ they are unavoidable. > You should get into the habit of checking this file for changes each time > you update your ports collection, before attempting any port upgrades. > > +20240529: > + AFFECTS: users of python > + AUTHOR: rm@FreeBSD.org > + > + The default version of python3 and python was switched to 3.11. > + > + For ports users wanting to keep version 3.9 as default, > + add DEFAULT_VERSIONS+= python=3.9 python3=3.9 to make.conf > + > + Following procedures may ease the upgrade: > + > + 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? > + # pkg upgrade
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pupckib4hcq2tiqesuyxfodzz7q6rcjnzn6625qhsazzehaotd>