[pyOpenSci - EiC Checks] Installation problems
Hi, I have some problems with the installation:
OS: macOS Sequoia 15 Python version: 3.10
Installation fails when I use your guide (pip install git+https://gitlab.com/astrogal/GALAssify.git
) and when I install the package from PyPI directly with pip
: (pip install galassify
)
The error message is:
Collecting galassify
Downloading galassify-1.0.1-py3-none-any.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 4.2 MB/s eta 0:00:00
Collecting pandas>=2.0
Using cached pandas-2.2.3-cp310-cp310-macosx_10_9_x86_64.whl (12.6 MB)
Collecting PyConsoleMenu>=1.0
Using cached PyConsoleMenu-1.0.4.tar.gz (5.2 kB)
Preparing metadata (setup.py) ... done
Collecting matplotlib>=3.7
Using cached matplotlib-3.9.2-cp310-cp310-macosx_10_12_x86_64.whl (7.9 MB)
Collecting PyQt5>=5.15
Using cached PyQt5-5.15.11.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/Users/szymonos/Documents/pyopensci/214-GALAssify/pyos214/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/szymonos/Documents/pyopensci/214-GALAssify/pyos214/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/szymonos/Documents/pyopensci/214-GALAssify/pyos214/lib/python3.10/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 "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-build-env-s7gwvp4k/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 28, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-build-env-s7gwvp4k/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 74, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-build-env-s7gwvp4k/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 608, in setup
self.apply_user_defaults(tool)
File "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-install-k2mf_16g/pyqt5_6c4f048fc1dd41e6929018e228e423fd/project.py", line 68, in apply_user_defaults
super().apply_user_defaults(tool)
File "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-build-env-s7gwvp4k/overlay/lib/python3.10/site-packages/pyqtbuild/project.py", line 51, in apply_user_defaults
super().apply_user_defaults(tool)
File "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-build-env-s7gwvp4k/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 237, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "/private/var/folders/vv/zx11_2ts7tjfsny482gs54s80000gr/T/pip-build-env-s7gwvp4k/overlay/lib/python3.10/site-packages/pyqtbuild/builder.py", line 50, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
[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.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Do you know what could be the reason for this failed build?