Skip to content

Commit 69d97ff

Browse files
committed
fix install
1 parent cc4a162 commit 69d97ff

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

clients/python/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ install-unit-test: _check_venv_active ## install packages for unit testing clien
126126

127127
.PHONY: install-e2e-test
128128
install-e2e-test: _check_venv_active guard-OSPARC_VERSION ## install packages for e2e testing client [e2e]
129-
$(eval version := $(shell $(CLIENTS_PYTHON_DIR)/test/e2e/ci/bash/osparc_version.bash $(OSPARC_VERSION)))
130-
echo $(version)
129+
$(eval version := $(shell bash $(CLIENTS_PYTHON_DIR)/test/e2e/ci/bash/osparc_version.bash $(OSPARC_VERSION)))
131130
uv pip install -r $(CLIENTS_PYTHON_DIR)/requirements/e2e-test.txt osparc==$(version)
132131

133132
.PHONY: install-doc

clients/python/test/e2e/ci/bash/osparc_version.bash

100644100755
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ report=$(mktemp)
99
trap 'rm -rf ${report}' ERR
1010

1111
if [ "${version}" == "latest_release" ]; then
12-
pip install osparc --dry-run --quiet --report "${report}"
12+
pip install osparc --force-reinstall --dry-run --quiet --report "${report}"
1313
elif [ "${version}" == "latest_master" ]; then
14-
pip install osparc --dry-run --quiet --pre --report "${report}"
14+
pip install osparc --force-reinstall --dry-run --quiet --pre --report "${report}"
1515
else
16-
pip install osparc=="${version}" --dry-run --quiet --report "${report}"
16+
pip install osparc=="${version}" --force-reinstall --dry-run --quiet --report "${report}"
1717
fi
18-
jq -r '.install[] | select(.metadata.name == "osparc") | .metadata.version' "${report}"
18+
jq -r '.install[] | select(.metadata.name == "osparc") | .metadata.version' "${report}" -e
1919
rm -rf "${report}"

0 commit comments

Comments
 (0)