Closed
Description
Describe the bug
fx workspace graminize
always uses latest version of OpenFL from Pip, regardless of version used in workspace creation. In case head of develop branch is used, version 1.4 is added to requirements.txt
and docker build
fails because there is no such version in Pip repository
To Reproduce
python -m venv venv
. venv/bin/activate
git clone https://github.com/intel/openfl.git
cd openfl
pip install .
fx workspace create --prefix workspace --template torch_unet_kvasir_gramine_ready
cd workspace
fx plan initialize -a `hostname --all-fqdns`
openssl genrsa -3 -out key.pem 3072
fx workspace graminize --rebuild -s key.pem
Expected behavior
Gramine-based Docker image is created based on the version used to build the workspace (in this case head of develop branch)