From nobody Sun Jun 26 20:43:56 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 383708765B5; Sun, 26 Jun 2022 20:43:57 +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 4LWNB513YHz3JWN; Sun, 26 Jun 2022 20:43:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656276237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6au2BT4CZz2YI2DVZ5gjMoawb7sHQ2OMwiE9gcWZjVY=; b=rR3Gv1rpC7wOrdY6D9a5ciX3ESQeT3xF5QLG123vjyxfg2QTFuzXiUg3p2j8JmcTwKBQD4 6JMmK2tvWUCGmkod/yxm1lQMfofn7Whhu5c8VrsSFWvGPLuR9nIxPJqQu/Qf5abIjbYPpw tWbyiLngXUIMdRArEgXopFNGBzCtVqXTSf5lZ3pGvWFho6S8GRDNpKw8HjgvMaxBJFyp9H rj9v9nq03uR/iMm/6/i37Kohzdq/1+ZR0IhhwmCTVPD46dfNWYaR1ztSJzA4tQI5lf5Ihn Hl713d6p5xXilk2aOPyCxmQ8Kt1lR7Zz6TryLl4IkYcAFy+5fnm8kTjlDkXHxg== 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 0491A1AE48; Sun, 26 Jun 2022 20:43:57 +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 25QKhu3o052132; Sun, 26 Jun 2022 20:43:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25QKhuJd052131; Sun, 26 Jun 2022 20:43:56 GMT (envelope-from git) Date: Sun, 26 Jun 2022 20:43:56 GMT Message-Id: <202206262043.25QKhuJd052131@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: f117f2c48552 - main - Mk/bsd.default-versions.mk: Switch default Python version to 3.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f117f2c48552792743a74a931a49e76fc4a9c0f7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656276237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6au2BT4CZz2YI2DVZ5gjMoawb7sHQ2OMwiE9gcWZjVY=; b=kwOwnM3fF0yts34AhfntulKGqigWtmsHMkt/E+BkKYFXCbs6j59jHY7dAa2u2WJLgAKCu9 LCmPPoHGz/uZktbp3dXaNMRm2PHwoIH/7Bh/javfQQb06xohYa6XCRYibZIzB8w3vzClrs MfUHMzTysnNBrcCPjrAiKojdTzlMf6h/D8rym1EIKiyJbuDZ83UOtlXIk6ceu3Bmi/bCIb sDgjYxMd+ITWlgrgXsL9wJ3V7HnOPOG7LdZyR6VhwuImPEJrqs1gO/NXZiDLCeZaWmo+vJ WWDq6bnTftJVwLHTvKz1jMIdkjMJ7BX/RoWHzGq168H0MyfacVyHRKYz/y0gcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656276237; a=rsa-sha256; cv=none; b=Qssd34A4jvkeE+5yYwKpLJU7/wL5v2YJG+oBXAmyUOkiGiOGSrL/druyggwuF1IuuCeejN 7p20uptUo+pOQlRmiAYjlNkWMj/JR0eHFmLZLDrYVYEjU2XuztU7EExRqc1SFpCTTEj3c4 plV9QZzrkec9Y1uu5gRwOyRyzuAjYZ49MgIbgeB+i4S+Wlv0iDWmwgjanw8HDnumc5HigT uInyxqMi043SdjUzfWjm1u+SRM56g/rMj7Z2n4A18G00lHYbOQcLLcUfCZiTiiyVw5C+Rl XeYbek76Z7lYnpkSu1T27xOK1O6ng6ZQOyUFEGXsCb2GfDvqA3odnx+/Axp//g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=f117f2c48552792743a74a931a49e76fc4a9c0f7 commit f117f2c48552792743a74a931a49e76fc4a9c0f7 Author: VVD AuthorDate: 2022-06-26 20:31:43 +0000 Commit: Thierry Thomas CommitDate: 2022-06-26 20:31:43 +0000 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 --- Mk/Uses/python.mk | 4 ++-- Mk/bsd.default-versions.mk | 4 ++-- UPDATING | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 4 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 3839cd590101..5c75f4c86f29 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -275,8 +275,8 @@ _INCLUDE_USES_PYTHON_MK= yes # What Python version and what Python interpreters are currently supported? # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -_PYTHON_VERSIONS= 3.8 3.9 3.7 3.10 3.11 2.7 # preferred first -_PYTHON_PORTBRANCH= 3.8 # ${_PYTHON_VERSIONS:[1]} +_PYTHON_VERSIONS= 3.9 3.8 3.7 3.10 3.11 2.7 # preferred first +_PYTHON_PORTBRANCH= 3.9 # ${_PYTHON_VERSIONS:[1]} _PYTHON_BASECMD= ${LOCALBASE}/bin/python _PYTHON_RELPORTDIR= lang/python diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 2327e4d2410f..c727a4d9feef 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -112,11 +112,11 @@ PGSQL_DEFAULT?= 13 # Possible values: 7.4, 8.0, 8.1 PHP_DEFAULT?= 8.0 # Possible values: 2.7, 3.7, 3.8, 3.9, 3.10, 3.11 -PYTHON_DEFAULT?= 3.8 +PYTHON_DEFAULT?= 3.9 # Possible values: 2.7 PYTHON2_DEFAULT?= 2.7 # Possible values: 3.7, 3.8, 3.9, 3.10, 3.11 -PYTHON3_DEFAULT?= 3.8 +PYTHON3_DEFAULT?= 3.9 # Possible values: 2.7, 3.0, 3.1, 3.2 RUBY_DEFAULT?= 3.0 # Possible values: rust, rust-nightly 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