aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorVVD <vvd@unislabs.com>2022-06-26 20:31:43 +0000
committerThierry Thomas <thierry@FreeBSD.org>2022-06-26 20:31:43 +0000
commitf117f2c48552792743a74a931a49e76fc4a9c0f7 (patch)
tree54dfdf5b262ea18e5ce8e7de4c39aee2121677bf /UPDATING
parent897606dcde0eeb3cae2cb04bade909133068c391 (diff)
downloadports-f117f2c48552792743a74a931a49e76fc4a9c0f7.tar.gz
ports-f117f2c48552792743a74a931a49e76fc4a9c0f7.zip
Mk/bsd.default-versions.mk: Switch default Python version to 3.9
PR: 261703 Reported by: VVD Tested by: exp-run by antoin@ Approved by: maintainer’s time-out
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING33
1 files changed, 33 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index dd97de6ce469..01ea8a799abb 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.
+20220626:
+ AFFECTS: users of python
+ AUTHOR: thierry@FreeBSD.org
+
+ The default version of python3 and python was switched to 3.9.
+
+ For ports users wanting to keep version 3.8 as default,
+ add DEFAULT_VERSIONS+= python=3.8 python3=3.8 to make.conf
+
+ Following procedures may ease the upgrade:
+
+ For users of pre-build packages:
+ # sh
+ # for i in $(pkg query -g %n 'py38-*'); do pkg set -yn ${i}:py39-${i#py38-}; done
+ # pkg upgrade
+
+ For portmaster users:
+ # sh
+ # portmaster -o lang/python39 python38
+ # REINSTALL="$(pkg info -o "*py38*" | awk '{printf "%s ", $2}')"
+ # pkg delete -f "*py38*"
+ # portmaster $REINSTALL
+ # REBUILD=$(pkg query -g "%n:%dn" '*' | grep py3 | grep -v py39 | cut -d : -f 1 | sort -u)
+ # portmaster $REBUILD
+ # REBUILD2=$(pkg list | grep python-38 | xargs pkg which | awk '{print $6}' | sort -u)
+ # portmaster $REBUILD2
+
+ Final steps (for pre-built packages & portmaster):
+
+ If no longer required, Python 3.8 can be removed via
+ "pkg remove python38" and the directory /usr/local/lib/python3.8 can
+ then be deleted afterwards, if not empty.
+
20220625:
AFFECTS: users of sysutils/fusefs-bindfs
AUTHOR: doralitze@chaotikum.org