#71594 closed defect (fixed)

py38-pyqt5-sip @12.16.0: error: "This version of PyQt5.sip requires Python v3.9 or later"

Reported by: cooljeanius (Eric Gallager) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc: reneeotten (Renee Otten)
Port: py38-pyqt5-sip

Description

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.

Attachments (1)

py38-pyqt5-sip_main.log (28.5 KB) - added by cooljeanius (Eric Gallager) 13 months ago.
main.log for py38-pyqt5-sip

Download all attachments as: .zip

Change History (2)

Changed 13 months ago by cooljeanius (Eric Gallager)

Attachment: py38-pyqt5-sip_main.log added

main.log for py38-pyqt5-sip

comment:1 Changed 13 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 87ac07352253812dfac392a582ce9998bef2c92c/macports-ports (master):

py-pyqt5-sip: update to 12.16.1, drop py38 subport

Closes: #71594

Note: See TracTickets for help on using tickets.