Skip to content

Conversation

jdha
Copy link
Collaborator

@jdha jdha commented Apr 15, 2024

No description provided.

@jdha jdha added the enhancement New feature or request label Apr 15, 2024
@jdha jdha self-assigned this Apr 15, 2024
@jdha jdha marked this pull request as draft April 15, 2024 16:10
@jdha jdha linked an issue Apr 15, 2024 that may be closed by this pull request
@jdha
Copy link
Collaborator Author

jdha commented Apr 15, 2024

updates from pyqt5 -> pyqt6 pushed

  • benchmarking test case with and without GUI runs on Mac M1

  • benchmarking test case with and without GUI runs on Linux (JASMIN)

@jdha
Copy link
Collaborator Author

jdha commented Apr 16, 2024

Current issues when trying to create virtual ENV on Jasmin:

Pip subprocess error:
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
      Querying qmake about your Qt installation...
      Traceback (most recent call last):
        File "/home/users/jdha/mambaforge/envs/pybdy160/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/users/jdha/mambaforge/envs/pybdy160/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/users/jdha/mambaforge/envs/pybdy160/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
        File "/tmp/pip-build-env-rjz6ybj4/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 46, in build_wheel
          project = AbstractProject.bootstrap('wheel',
        File "/tmp/pip-build-env-rjz6ybj4/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 92, in bootstrap
          project.setup(pyproject, tool, tool_description)
        File "/tmp/pip-build-env-rjz6ybj4/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 603, in setup
          self.update(tool)
        File "project.py", line 163, in update
      sipbuild.exceptions.UserException
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

@jdha
Copy link
Collaborator Author

jdha commented Apr 16, 2024

ldd --version >2.28 required by pyqt6 to install on JASMIN (currently 2012 version 2.17!)

so I'm going to park this branch and merge any future changes from master so I have a Mac M1/2 friendly code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

Testing with pyqt6
1 participant