[MacPorts] #71594: py38-pyqt5-sip @12.16.0: error: "This version of PyQt5.sip requires Python v3.9 or later"
MacPorts
noreply at macports.org
Thu Dec 19 00:53:42 UTC 2024
#71594: py38-pyqt5-sip @12.16.0: error: "This version of PyQt5.sip requires Python
v3.9 or later"
-------------------------+----------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: py38-pyqt5-sip
-------------------------+----------------------------
I get the following error when attempting to upgrade py38-pyqt5-sip:
{{{
running build_ext
building 'PyQt5.sip' extension
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-
common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-c apiversions.c -o build/temp.macosx-11.0-x86_64-cpython-38/apiversions.o
In file included from apiversions.c:16:
In file included from ./sipint.h:21:
./sip.h:18:2: error: "This version of PyQt5.sip requires Python v3.9 or
later"
#error "This version of PyQt5.sip requires Python v3.9 or later"
^
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt5-sip/py38-pyqt5-sip/work/PyQt5_sip-12.16.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt5-sip/py38-pyqt5-sip/work
Exit code: 1
Error: Failed to build py38-pyqt5-sip: command execution failed
DEBUG: Error code: CHILDSTATUS 3553 1
}}}
Looks like either the python38 version of pyqt5-sip should be pinned to
the last version that worked, or support for the python38 version should
be dropped.
--
Ticket URL: <https://trac.macports.org/ticket/71594>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list