[MacPorts] #71455: qsv build fails: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)

MacPorts noreply at macports.org
Wed Dec 4 07:12:20 UTC 2024


#71455: qsv build fails: the configured Python interpreter version (3.13) is newer
than PyO3's maximum supported version (3.12)
-----------------------+-------------------------
  Reporter:  kwolcott  |      Owner:  herbygillot
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  qsv       |
-----------------------+-------------------------

Comment (by ryandesign):

 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 `python` on 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 has `sudo port select`ed, 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:

 {{{
 error: no Python 3.x interpreter found
 }}}

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/71455#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list