NOC-MSM / pyBDY

pyBDY: a Python based regional NEMO model configuration toolbox.
GNU General Public License v3.0
7 stars 7 forks source link

updating to pyqt6 #161

Open jdha opened 7 months ago

jdha commented 7 months ago

updates from pyqt5 -> pyqt6 pushed

jdha commented 7 months ago

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 commented 7 months ago

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