Samsung / Universum

Universum project is a Python solution that simplifies SW project verification by integrating existing CI systems and provides additional functionality for CI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packages are missing during the setup run on the newly deployed system.

lyubomyrferents opened this issue · comments

Description

The Development section of the README guide mentions the steps as follows,

python3.7 -m venv virtual-environment-python3.7
source ./virtual-environment-python3.7/bin/activate
git clone https://github.com/Samsung/Universum.git universum-working-dir
cd universum-working-dir
git checkout master
pip install -U .[test]

At the moment of the 'pip install' command run on newly deployed Ubuntu 20 (and, possibly, other systems),
the following packages are not accessible in the virtual environment:

wheel
libssl-dev
libcrypto++-dev

It could be useful to automate their check and deployment to reduce any possible setup failures on newly installed systems.

Steps to reproduce

List the performed steps, for example:

  • Deploy Ubuntu 20 system.
  • Commit steps mentioned in the Installation and Development sections of the README file.
  • Analyze the error messages at the pip install -U .[test] step.

Expected result

The pip install -U .[test] step completes successfully and without any error message.

Actual result

The pip install -U .[test] step fails with the message below.
The wheel package absence logs first and masks similar errors related to the libssl-dev and libcrypto++-dev packages.

Building wheels for collected packages: Universum, glob2, httpretty
  Building wheel for Universum (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/lf/1/virtual-environment-python/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-xz8ijn8l/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-xz8ijn8l/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-v_qosqm0
       cwd: /tmp/pip-req-build-xz8ijn8l/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for Universum

Environment

  • OS: 20.04.6 LTS
  • Python version: Python 3.8.10
  • Universum version 0.19.18