Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 95fafba

Browse files
falkzollcsantanapr
authored andcommitted
Update python3.7 base image to 7cdff17. (#80)
* Actions will not fail due to warnings on python imports anymore.
1 parent d8d31be commit 95fafba

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

python3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openwhisk/actionloop-python-v3.7:d6a8920
1+
FROM openwhisk/actionloop-python-v3.7:7cdff17
22

33
COPY requirements.txt requirements.txt
44

tests/src/test/scala/actionContainers/IBMPythonActionContainerTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ class IBMPythonActionContainerTests extends BasicActionRunnerTests with WskActor
167167
val srcs = Seq(
168168
Seq("__main__.py") -> """
169169
|def main(args):
170-
| f = open('workfile', 'r')
171-
| return {'file': f.read()}
170+
| with open('workfile', 'r') as f:
171+
| return { 'file': f.read() }
172172
""".stripMargin,
173173
Seq("workfile") -> "this is a test string")
174174

0 commit comments

Comments
 (0)