From 6e8e1ad2b59825fe3638fb29f9d812fd6d7fc108 Mon Sep 17 00:00:00 2001 From: connor-mccarthy Date: Fri, 18 Mar 2022 15:22:35 -0600 Subject: [PATCH] undo 3.7 image change --- sdk/python/kfp/compiler/compiler_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/python/kfp/compiler/compiler_test.py b/sdk/python/kfp/compiler/compiler_test.py index 3039788aac3..42649752bbc 100644 --- a/sdk/python/kfp/compiler/compiler_test.py +++ b/sdk/python/kfp/compiler/compiler_test.py @@ -15,6 +15,7 @@ import json import os import shutil +import sys import tempfile import unittest @@ -552,7 +553,7 @@ def test_use_task_final_status_in_non_exit_op_yaml(self): - {name: message, type: PipelineTaskFinalStatus} implementation: container: - image: python:3.9 + image: python:3.7 command: - echo - {inputValue: message} @@ -571,9 +572,8 @@ def my_pipeline(text: bool): # pylint: disable=import-outside-toplevel,unused-import,import-error,redefined-outer-name,reimported class V2NamespaceAliasTest(unittest.TestCase): - """Test that imports of both modules and objects are aliased - (e.g. all import path variants work). - """ + """Test that imports of both modules and objects are aliased (e.g. all + import path variants work).""" # Note: The DeprecationWarning is only raised on the first import where # the kfp.v2 module is loaded. Due to the way we run tests in CI/CD, we cannot ensure that the kfp.v2 module will first be loaded in these tests,