Skip to content

"fx workspace graminize" does not regard the version used to build the workspace #554

Closed
@DL8

Description

@DL8

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions