CI: Switch to python3.10-venv as apt dependency
In the pipeline group https://git.h2t.iar.kit.edu/sw/armarx/meta/axii/-/pipelines/21646, the Ubuntu 22.04-based pipelines module-lint
, e2e-jammy
and unit-jammy
failed due to not being able to set up the virtual environment correctly:
--------------------------------------------------------------------------------------
Create virtual environment in /builds/sw/armarx/meta/axii/.venv_jammy
--------------------------------------------------------------------------------------
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.10-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: /builds/sw/armarx/meta/axii/.venv_jammy/bin/python3
./bootstrap.sh: line 122: /builds/sw/armarx/meta/axii/.venv_jammy/bin/activate: No such file or directory
./bootstrap.sh: line 123: pip: command not found
./bootstrap.sh: line 124: pip: command not found
./bootstrap.sh: line 125: pip: command not found
This merge request add the suggested package.