Salt 3005 ("Phosporous") release supports Python 3.10 but the current port Makefile restricts Python versions to 3.6--3.9. Sysutils/py-salt will build and run with Python 3.10 if the "USES=" line in the Makefile is changed to "USES= cpe python:3.6-3.10". The port as it currently stands will not build when the default Python version is set to 3.10.
Created attachment 236570 [details] Change to Makefile to support building py-salt with Python 3.10 This is a quick patch to extend the versions that sysutils/py-salt will build with to Python 3.10.
Are there any plans to support sysutils/py-salt running under Python 3.10 before PYTHON_DEFAULT and PYTHON3_DEFAULT get bumped to 3.10? I realise that this bug report isn't really a bug but is more of an upgrade request, but I couldn't seem to find a "feature request" option in the FreeBSD Bugzilla. If there is such a category, please feel free to move this to there. Note, I have been running sysutils/py-salt with Python 3.10 with no issues since submitting this Bugzilla. As I stated in the original submission, the current sysutils/py-salt release is Python 3.10 compatible.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf3eec274cd97b67b575b62ef2415be8ce1e0610 commit cf3eec274cd97b67b575b62ef2415be8ce1e0610 Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2022-12-08 08:10:40 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2022-12-08 08:10:40 +0000 sysutils/py-salt: add Python 3.10 support PR: 266427 Reported by: Paul Mather sysutils/py-salt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=88a47c868947bbf5b36d759c75a5d55b5eba2587 commit 88a47c868947bbf5b36d759c75a5d55b5eba2587 Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2022-12-08 08:10:40 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2022-12-08 08:11:55 +0000 sysutils/py-salt: add Python 3.10 support PR: 266427 Reported by: Paul Mather (cherry picked from commit cf3eec274cd97b67b575b62ef2415be8ce1e0610) sysutils/py-salt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)