Skip to content

Commit

Permalink
Update dependency arcaflow-plugin-sdk to v0.13.0 (#63)
Browse files Browse the repository at this point in the history
* Update dependency arcaflow-plugin-sdk to v0.13.0

* fix tests

* linting

---------

Co-authored-by: Dustin Black <dblack@redhat.com>
  • Loading branch information
platform-engineering-bot and dustinblack authored Nov 3, 2023
1 parent 904c4f5 commit c5a1f29
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 50 deletions.
96 changes: 50 additions & 46 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.9"
arcaflow-plugin-sdk = "^0.11.0"
arcaflow-plugin-sdk = "^0.13.0"

[tool.poetry.dev-dependencies]
docformatter = "^1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
arcaflow-plugin-sdk==0.11.0 ; python_version >= "3.9" and python_version < "4.0"
arcaflow-plugin-sdk==0.13.0 ; python_version >= "3.9" and python_version < "4.0"
cbor2==5.5.0 ; python_version >= "3.9" and python_version < "4.0"
pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "4.0"
6 changes: 4 additions & 2 deletions tests/test_arcaflow_plugin_template_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ def test_serialization():
def test_functional(self):
input = arcaflow_plugin_template_python.InputParams(name="Example Joe")

output_id, output_data = arcaflow_plugin_template_python.hello_world(input)
output_id, output_data = arcaflow_plugin_template_python.hello_world(
params=input, run_id="plugin_ci"
)

# The example plugin always returns an error:
self.assertEqual("success", output_id)
self.assertEqual(
output_data,
arcaflow_plugin_template_python.SuccessOutput("Hello, Example Joe!")
arcaflow_plugin_template_python.SuccessOutput("Hello, Example Joe!"),
)


Expand Down

0 comments on commit c5a1f29

Please sign in to comment.