From b381f5445020af16d26121f4cc8b1892d39dfbe1 Mon Sep 17 00:00:00 2001 From: Ukjae Jeong Date: Tue, 20 Aug 2024 11:11:21 +0100 Subject: [PATCH] Revert updated python version of cicd action Signed-off-by: Ukjae Jeong --- .github/workflows/cicd.yaml | 4 ++-- tests/submissions/test_optional_input_parameter.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index ac87a3c54..b207bd490 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -105,10 +105,10 @@ jobs: - name: Install poetry run: pipx install poetry - - name: setup python 3.9 + - name: setup python 3.8 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.8 cache: "poetry" - name: Install dependencies diff --git a/tests/submissions/test_optional_input_parameter.py b/tests/submissions/test_optional_input_parameter.py index c72ccc994..6a8f81ea8 100644 --- a/tests/submissions/test_optional_input_parameter.py +++ b/tests/submissions/test_optional_input_parameter.py @@ -12,7 +12,7 @@ @script(outputs=Parameter(name="message-out", value_from={"path": "/tmp/message-out"})) def print_msg(message: Optional[str] = None): with open("/tmp/message-out", "w") as f: - f.write(f"Got: {message}") + f.write("Got: {}".format(message)) def get_workflow() -> Workflow: