Opened 22 months ago
Closed 22 months ago
#71455 closed defect (fixed)
qsv build fails: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
| Reported by: | kwolcott | Owned by: | herbygillot (Herby Gillot) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | qsv |
Description
qsv build fails: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
Why doesn't this port (port in general maybe) know this in advance?
Attachments (1)
Change History (5)
Changed 22 months ago by kwolcott
| Attachment: | qsv_port_build_fails.log.bz2 added |
|---|
comment:1 Changed 22 months ago by jmroot (Joshua Root)
| Keywords: | qsv removed |
|---|---|
| Owner: | set to herbygillot |
| Port: | qsv added |
| Status: | new → assigned |
comment:2 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 22 months ago by herbygillot (Herby Gillot)
This was caused by increasing the number of built-in features built into qsv via the distrib_features capability flag here:
distrib_features builds qsv with more optional capabilities, one of those being python support, and thus why it started requiring a Python interpreter to be present. More info on that feature here:
https://github.com/dathere/qsv/blob/master/docs/INTERPRETERS.md#building-qsv-with-python-feature
Attempting to correct via this PR: https://github.com/macports/macports-ports/pull/26890
comment:4 Changed 22 months ago by herbygillot (Herby Gillot)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

There's no mention of "python" in the qsv Portfile. Perhaps the maintainer of the port did not know that it uses python. Perhaps it just happened to work on his system because
pythonon his system was either macOS python or a compatible version of MacPorts python.Perhaps on your system you have used
sudo port select python python313. Any time a port is affected by what a user hassudo port selected, it is a bug that needs to be investigated and fixed individually for that port.On the 10.14 buildbot worker, it failed to build with:
python 3 was not included in macOS until version 10.15.
The port should declare a dependency on python312 and use that one specifically, at least on 10.14 and earlier. On 10.15 and later, it could instead use /usr/bin/python3 specifically. The problem only arises because the port doesn't specify what python to use.