That same command in a virtual env gave the error below. I don't think
it makes sense to look into this until we've tried putting it on
regular pypi.
Cheers,
Peter
Collecting pyqt6<7.0.0,>=6.5.1
Using cached PyQt6-6.6.0.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /home/pbienst/test_env/bin/python /tmp/tmpkp2w15bm
prepare_metadata_for_build_wheel /tmp/tmp58kai8sh
cwd: /tmp/pip-install-i2hosebo/pyqt6
Complete output (26 lines):
Querying qmake about your Qt installation...
Traceback (most recent call last):
File "/tmp/tmpkp2w15bm", line 126, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute
'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/tmpkp2w15bm", line 280, in <module>
main()
File "/tmp/tmpkp2w15bm", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmpkp2w15bm", line 130, in prepare_metadata_for_build_wheel
return _get_wheel_metadata_from_wheel(backend, metadata_directory,
File "/tmp/tmpkp2w15bm", line 159, in _get_wheel_metadata_from_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/tmp/pip-build-env-wqkglcan/overlay/lib/python3.8/site-packages/sipbuild/api.py",
line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/tmp/pip-build-env-wqkglcan/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py",
line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/tmp/pip-build-env-wqkglcan/overlay/lib/python3.8/site-packages/sipbuild/project.py",
line 602, in setup
self.update(tool)
File "/tmp/pip-install-i2hosebo/pyqt6/project.py", line 163, in update
raise UserException(
sipbuild.exceptions.UserException
----------------------------------------
ERROR: Command errored out with exit status 1:
/home/pbienst/test_env/bin/python /tmp/tmpkp2w15bm
prepare_metadata_for_build_wheel /tmp/tmp58kai8sh Check the logs for
full command output.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/89ea4e79-529d-45e9-a95b-45787646577en%40googlegroups.com.