sip 6.3.0 fails to build pyqt5 5.15.4

Phil Thompson phil at riverbankcomputing.com
Wed Oct 13 18:05:37 BST 2021


On 12/10/2021 20:39, مهدي شينون wrote:
> This is the GPL version of PyQt 5.15.4 (licensed under the GNU General
> Public License) for Python 3.9.7 on linux.
> Found the license file 'pyqt-gpl.sip'.
> Checking to see if the QtCore bindings can be built...
> sip-install: An internal error occurred...
> Traceback (most recent call last):
> File "/app/bin/sip-install", line 8, in <module>
> sys.exit(main())
> File "/app/lib/python3.9/site-packages/sipbuild/tools/install.py",
> line 37, in main
> handle_exception(e)
> File "/app/lib/python3.9/site-packages/sipbuild/exceptions.py", line
> 81, in handle_exception
> raise e
> File "/app/lib/python3.9/site-packages/sipbuild/tools/install.py",
> line 32, in main
> project = AbstractProject.bootstrap('install',
> File "/app/lib/python3.9/site-packages/sipbuild/abstract_project.py",
> line 83, in bootstrap
> project.setup(pyproject, tool, tool_description)
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 545, 
> in setup
> self.update(tool)
> File "project.py", line 182, in update
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 566, 
> in update
> self.update_buildable_bindings()
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 578,
> in update_buildable_bindings
> if not b.is_buildable():
> File "/app/lib/python3.9/site-packages/pyqtbuild/bindings.py", line
> 171, in is_buildable
> test_exe = project.builder.build_executable(buildable, fatal=False)
> File "/app/lib/python3.9/site-packages/pyqtbuild/builder.py", line
> 169, in build_executable
> self._update_pro_file(pro_lines, buildable)
> File "/app/lib/python3.9/site-packages/pyqtbuild/builder.py", line
> 687, in _update_pro_file
> if self.project.get_platform_tag().endswith('_universal2'):
> File "/app/lib/python3.9/site-packages/pyqtbuild/project.py", line
> 138, in get_platform_tag
> platform_tag = super().get_platform_tag().split('_')
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 339,
> in get_platform_tag
> if self.minimum_glibc_version > (2, 17):
> TypeError: '>' not supported between instances of 'str' and 'tuple'

I've just uploaded v6.3.1.

Thanks,
Phil


More information about the PyQt mailing list