i did a brnad new installation on ALMA9.
invenio-cli check-requirements --development was kind of happy (I had to apply a path for docker compose vs docker-compose, which is described in a different issue.
invenio-cli install failed, with a huge log file.
[psaiz@psaiz03 psaiz-v11]$ invenio-cli install
Installing python dependencies... Please be patient, this operation might take some time...
Installing dependencies from Pipfile.lock (2251ac)...
An error occurred while installing alembic==1.11.1 ; python_version >= '3.7' --hash=sha256:6a810a6b012c88b33458fceb869aef09ac75d6ace5291915ba7fae44de372c01 --hash=sha256:dc871798a601fab38332e38d6ddb38d5e734f60034baeb8e2db5b642fccd8ab8! Will try again.
An error occurred while installing amqp==5.1.1 ; python_version >= '3.6' --hash=sha256:2c1b13fecc0893e946c65cbd5f36427861cffa4ea2201d8f6fca22e2a373b5e2 --hash=sha256:6f0956d2c23d8fa6e7691934d8c3930eadb44972cbbd1a7ae3a520f735d43359! Will try again.
...
Installing initially failed dependencies...
[pipenv.exceptions.InstallError]: Collecting alembic==1.11.1 (from -r /tmp/psaiz/pipenv-wfbadcip-requirements/pipenv-m_wrg0b5-hashed-reqs.txt (line 1))
[pipenv.exceptions.InstallError]: Using cached alembic-1.11.1-py3-none-any.whl (224 kB)
[pipenv.exceptions.InstallError]: Collecting amqp==5.1.1 (from -r /tmp/psaiz/pipenv-wfbadcip-requirements/pipenv-m_wrg0b5-hashed-reqs.txt (line 2))
...
pipenv.exceptions.InstallError]: Building wheels for collected packages: uwsgi
[pipenv.exceptions.InstallError]: Building wheel for uwsgi (setup.py): started
[pipenv.exceptions.InstallError]: Building wheel for uwsgi (setup.py): finished with status 'error'
[pipenv.exceptions.InstallError]: Running setup.py clean for uwsgi
[pipenv.exceptions.InstallError]: Failed to build uwsgi
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: × python setup.py bdist_wheel did not run successfully.
...
[pipenv.exceptions.InstallError]: plugins/python/uwsgi_python.h:4:10: fatal error: Python.h: No such file or directory
[pipenv.exceptions.InstallError]: 4 | #include <Python.h>
[pipenv.exceptions.InstallError]: | ^~~~~~~~~~
...
It would be nice if this got detected during the checkrequirements, ensuring that python-devel is available.
Steps to Reproduce
Remove python-devel
Run invenio-cli check-requirements --development
This command works :(
Expected behavior
Step 2 should complain that python devel is not available
Package version (if known):
Describe the bug
i did a brnad new installation on ALMA9.
invenio-cli check-requirements --development
was kind of happy (I had to apply a path fordocker compose
vsdocker-compose
, which is described in a different issue.invenio-cli install
failed, with a huge log file.It would be nice if this got detected during the checkrequirements, ensuring that python-devel is available.
Steps to Reproduce
invenio-cli check-requirements --development
This command works :(Expected behavior
Step 2 should complain that python devel is not available
Screenshots (if applicable)
Additional context