Bug 266427 - sysutils/py-salt: support building with Python 3.10
Summary: sysutils/py-salt: support building with Python 3.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-15 16:05 UTC by Paul Mather
Modified: 2022-12-08 08:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (krion)


Attachments
Change to Makefile to support building py-salt with Python 3.10 (653 bytes, patch)
2022-09-15 16:06 UTC, Paul Mather
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Mather 2022-09-15 16:05:16 UTC
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.
Comment 1 Paul Mather 2022-09-15 16:06:59 UTC
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.
Comment 2 Paul Mather 2022-12-07 22:00:54 UTC
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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-12-08 08:12:14 UTC
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(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-12-08 08:12:15 UTC
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(-)