Skip to content

Commit 66a2bb0

Browse files
committed
properly install iqm-client
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
1 parent 14cbd9f commit 66a2bb0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/generate_cc.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if $gen_cpp_coverage; then
9393
use_llvm_cov=true
9494

9595
# Run tests (C++ Unittests)
96-
python3 -m pip install iqm-client==28.0.0
96+
python3 -m pip install iqm-client==28.0.0 --break-system-packages
9797
ctest --output-on-failure --test-dir ${repo_root}/build -E ctest-nvqpp -E ctest-targettests
9898
ctest_status=$?
9999
/usr/local/llvm/bin/llvm-lit -v --param nvqpp_site_config=${repo_root}/build/test/lit.site.cfg.py ${repo_root}/build/test
@@ -180,13 +180,12 @@ if $gen_cpp_coverage; then
180180
fi
181181

182182
if $gen_py_coverage; then
183-
# Use a venv to avoid PEP 668 externally-managed-environment when installing pytest-cov
184183
venv_dir=${repo_root}/build/venv-coverage
184+
python3 -mpip install iqm_client==16.1 -vvv --break-system-packages
185185
python3 -m venv "$venv_dir"
186186
# shellcheck source=/dev/null
187187
. "${venv_dir}/bin/activate"
188188
pip install pytest-cov
189-
pip install iqm_client==16.1 -vvv
190189
rm -rf ${repo_root}/_skbuild
191190
pip install . -vvv
192191
mkdir -p ${repo_root}/build/pycoverage

0 commit comments

Comments
 (0)