From owner-dev-commits-ports-all@freebsd.org Sun Apr 25 18:59:40 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E8C45E393D; Sun, 25 Apr 2021 18:59:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FSy4r2B1Xz3w94; Sun, 25 Apr 2021 18:59:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2E7901950B; Sun, 25 Apr 2021 18:59:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13PIxeJp042869; Sun, 25 Apr 2021 18:59:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13PIxeHs042868; Sun, 25 Apr 2021 18:59:40 GMT (envelope-from git) Date: Sun, 25 Apr 2021 18:59:40 GMT Message-Id: <202104251859.13PIxeHs042868@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 210ee04dd3c3 - main - *: Add UPDATING entry of the Python 3.7 to 3.8 switchover MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 210ee04dd3c3f2e82cd3130e412866a182066859 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 18:59:40 -0000 The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=210ee04dd3c3f2e82cd3130e412866a182066859 commit 210ee04dd3c3f2e82cd3130e412866a182066859 Author: Kai Knoblich AuthorDate: 2021-04-25 18:54:27 +0000 Commit: Kai Knoblich CommitDate: 2021-04-25 18:54:27 +0000 *: Add UPDATING entry of the Python 3.7 to 3.8 switchover Add appropriately adapted upgrading instructions that have resulted from the experience gained from the previous (Python 3.6 to 3.7) switchover. PR: 253815 --- UPDATING | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/UPDATING b/UPDATING index fef2c4531fc9..0c71f8ff8024 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,33 @@ 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. +20210425: + AFFECTS: users of python + AUTHOR: kai@FreeBSD.org + + The default version of python3 and python was switched to 3.8. + + For ports users wanting to keep version 3.7 as default, + add DEFAULT_VERSIONS+= python=3.7 python3=3.7 to make.conf + + Following procedures may ease the upgrade: + + For users of pre-build packages: + # sh + # for i in $(pkg query -g %n 'py37-*'); do pkg set -yn ${i}:py38-${i#py37-}; done + # pkg upgrade + + For portmaster users: + # sh + # portmaster -o lang/python38 python37 + # REINSTALL="$(pkg info -o py37-\* | awk '{printf "%s ", $2}')" + # pkg delete -f py37-\* + # portmaster $REINSTALL + # REBUILD=$(pkg query -g "%n:%dn" '*' | grep py3 | grep -v py38 | cut -d : -f 1 | sort -u) + # portmaster $REBUILD + # REBUILD2=$(pkg list | grep python-37 | xargs pkg which | awk '{print $6}' | sort -u) + # portmaster $REBUILD2 + 20210420: AFFECTS: users of www/node AUTHOR: bhughes@FreeBSD.org