From e55885fc6cb20d6ed63b9b3ae62f05ae81b7fe97 Mon Sep 17 00:00:00 2001 From: connor-mccarthy Date: Tue, 22 Aug 2023 11:27:10 -0700 Subject: [PATCH] respond to review feedback --- sdk/python/kfp/__init__.py | 2 +- sdk/python/kfp/dsl/__init__.py | 2 +- sdk/python/kfp/dsl/component_factory.py | 2 +- sdk/python/kfp/dsl/component_factory_test.py | 10 +++---- .../test_data/components/add_numbers.yaml | 2 +- .../component_with_metadata_fields.yaml | 2 +- .../component_with_pip_install.yaml | 2 +- .../component_with_task_final_status.yaml | 2 +- .../test_data/components/concat_message.yaml | 2 +- .../test_data/components/dict_input.yaml | 2 +- sdk/python/test_data/components/identity.yaml | 2 +- .../test_data/components/input_artifact.yaml | 2 +- .../test_data/components/nested_return.yaml | 2 +- .../test_data/components/output_metrics.yaml | 2 +- .../test_data/components/preprocess.yaml | 2 +- .../component_with_optional_inputs.yaml | 2 +- .../component_with_pip_index_urls.yaml | 2 +- .../components_with_optional_artifacts.yaml | 4 +-- ...lightweight_python_functions_pipeline.yaml | 4 +-- ...tweight_python_functions_with_outputs.yaml | 8 +++--- .../parallelfor_fan_in/artifacts_complex.yaml | 10 +++---- .../parallelfor_fan_in/artifacts_simple.yaml | 4 +-- .../conditional_producer_and_consumers.yaml | 4 +-- .../nested_with_parameters.yaml | 8 +++--- .../parameters_complex.yaml | 14 +++++----- .../parallelfor_fan_in/parameters_simple.yaml | 4 +-- .../pipeline_producer_consumer.yaml | 8 +++--- .../pipelines/pipeline_as_exit_task.yaml | 8 +++--- .../pipelines/pipeline_in_pipeline.yaml | 4 +-- .../pipeline_in_pipeline_complex.yaml | 4 +-- ...pipeline_in_pipeline_loaded_from_yaml.yaml | 2 +- .../pipelines/pipeline_with_condition.yaml | 10 +++---- ...peline_with_dynamic_importer_metadata.yaml | 2 +- .../pipelines/pipeline_with_env.yaml | 2 +- .../pipelines/pipeline_with_exit_handler.yaml | 6 ++--- .../pipeline_with_google_artifact_type.yaml | 4 +-- .../pipelines/pipeline_with_importer.yaml | 4 +-- .../pipelines/pipeline_with_loops.yaml | 16 ++++++------ .../pipeline_with_loops_and_conditions.yaml | 26 +++++++++---------- .../pipeline_with_metadata_fields.yaml | 4 +-- .../pipeline_with_metrics_outputs.yaml | 4 +-- .../pipeline_with_multiple_exit_handlers.yaml | 14 +++++----- .../pipeline_with_nested_conditions.yaml | 16 ++++++------ .../pipelines/pipeline_with_nested_loops.yaml | 6 ++--- .../pipelines/pipeline_with_outputs.yaml | 4 +-- ...pipeline_with_parallelfor_parallelism.yaml | 12 ++++----- ...ipeline_with_params_containing_format.yaml | 6 ++--- .../pipelines/pipeline_with_placeholders.yaml | 10 +++---- .../pipelines/pipeline_with_retry.yaml | 2 +- .../pipeline_with_task_final_status.yaml | 6 ++--- ...th_task_using_ignore_upstream_failure.yaml | 4 +-- sdk/runtime_tests/__init__.py | 13 ---------- 52 files changed, 143 insertions(+), 156 deletions(-) delete mode 100644 sdk/runtime_tests/__init__.py diff --git a/sdk/python/kfp/__init__.py b/sdk/python/kfp/__init__.py index c79fe287b099..5bcc914a18f3 100644 --- a/sdk/python/kfp/__init__.py +++ b/sdk/python/kfp/__init__.py @@ -23,7 +23,7 @@ import os # compile-time only dependencies -if os.environ.get('_RUNTIME', 'false') != 'true': +if os.environ.get('_KFP_RUNTIME', 'false') != 'true': # make `from kfp import components` and `from kfp import dsl` valid; # related to namespace packaging issue from kfp import components # noqa: keep unused import diff --git a/sdk/python/kfp/dsl/__init__.py b/sdk/python/kfp/dsl/__init__.py index 53dfa7e88726..a23b640fdb55 100644 --- a/sdk/python/kfp/dsl/__init__.py +++ b/sdk/python/kfp/dsl/__init__.py @@ -226,7 +226,7 @@ def my_pipeline(): """ # compile-time only dependencies -if os.environ.get('_RUNTIME', 'false') != 'true': +if os.environ.get('_KFP_RUNTIME', 'false') != 'true': from kfp.dsl.component_decorator import component from kfp.dsl.container_component_decorator import container_component from kfp.dsl.for_loop import Collected diff --git a/sdk/python/kfp/dsl/component_factory.py b/sdk/python/kfp/dsl/component_factory.py index 84e496c7589a..b8bc95776c06 100644 --- a/sdk/python/kfp/dsl/component_factory.py +++ b/sdk/python/kfp/dsl/component_factory.py @@ -104,7 +104,7 @@ def make_index_url_options(pip_index_urls: Optional[List[str]]) -> str: python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip fi -PIP_DISABLE_PIP_VERSION_CHECK=1 _RUNTIME=true python3 -m pip install --quiet \ +PIP_DISABLE_PIP_VERSION_CHECK=1 _KFP_RUNTIME=true python3 -m pip install --quiet \ --no-warn-script-location {index_url_options}{concat_package_list} && "$0" "$@" ''' diff --git a/sdk/python/kfp/dsl/component_factory_test.py b/sdk/python/kfp/dsl/component_factory_test.py index ee2fc49a63e6..666f4973ce54 100644 --- a/sdk/python/kfp/dsl/component_factory_test.py +++ b/sdk/python/kfp/dsl/component_factory_test.py @@ -36,7 +36,7 @@ def test_with_no_user_packages_to_install(self): self.assertEqual(command, [ 'sh', '-c', - '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'kfp==2.1.2\' \'--no-deps\' \'typing-extensions>=3.7.4,<5; python_version<"3.9"\' && "$0" "$@"\n' + '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'kfp==2.1.2\' \'--no-deps\' \'typing-extensions>=3.7.4,<5; python_version<"3.9"\' && "$0" "$@"\n' ]) def test_with_no_user_packages_to_install_and_install_kfp_false(self): @@ -58,7 +58,7 @@ def test_with_no_user_packages_to_install_and_kfp_package_path(self): self.assertEqual(command, [ 'sh', '-c', - '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'git+https://github.com/kubeflow/pipelines.git@master#subdirectory=sdk/python\' && "$0" "$@"\n' + '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'git+https://github.com/kubeflow/pipelines.git@master#subdirectory=sdk/python\' && "$0" "$@"\n' ]) def test_with_no_user_packages_to_install_and_kfp_package_path_and_install_kfp_false( @@ -84,7 +84,7 @@ def test_with_user_packages_to_install_and_kfp_package_path_and_install_kfp_fals self.assertEqual(command, [ 'sh', '-c', - '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'sklearn\' && "$0" "$@"\n' + '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'sklearn\' && "$0" "$@"\n' ]) def test_with_no_user_packages_to_install_and_kfp_package_path_and_target_image( @@ -118,7 +118,7 @@ def test_with_user_packages_to_install_and_no_pip_index_url(self): self.assertEqual(command, [ 'sh', '-c', - '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'package1\' \'package2\' \'kfp==2.1.2\' \'--no-deps\' \'typing-extensions>=3.7.4,<5; python_version<"3.9"\' && "$0" "$@"\n' + '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location \'package1\' \'package2\' \'kfp==2.1.2\' \'--no-deps\' \'typing-extensions>=3.7.4,<5; python_version<"3.9"\' && "$0" "$@"\n' ]) def test_with_packages_to_install_with_pip_index_url(self): @@ -132,7 +132,7 @@ def test_with_packages_to_install_with_pip_index_url(self): self.assertEqual(command, [ 'sh', '-c', - '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location --index-url https://myurl.org/simple --trusted-host https://myurl.org/simple \'package1\' \'package2\' \'kfp==2.1.2\' \'--no-deps\' \'typing-extensions>=3.7.4,<5; python_version<"3.9"\' && "$0" "$@"\n' + '\nif ! [ -x "$(command -v pip)" ]; then\n python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1 _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location --index-url https://myurl.org/simple --trusted-host https://myurl.org/simple \'package1\' \'package2\' \'kfp==2.1.2\' \'--no-deps\' \'typing-extensions>=3.7.4,<5; python_version<"3.9"\' && "$0" "$@"\n' ]) diff --git a/sdk/python/test_data/components/add_numbers.yaml b/sdk/python/test_data/components/add_numbers.yaml index 634906d332e8..8b623aa2c596 100644 --- a/sdk/python/test_data/components/add_numbers.yaml +++ b/sdk/python/test_data/components/add_numbers.yaml @@ -32,7 +32,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/component_with_metadata_fields.yaml b/sdk/python/test_data/components/component_with_metadata_fields.yaml index dd005090068a..fb6e5f3c43d5 100644 --- a/sdk/python/test_data/components/component_with_metadata_fields.yaml +++ b/sdk/python/test_data/components/component_with_metadata_fields.yaml @@ -48,7 +48,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/component_with_pip_install.yaml b/sdk/python/test_data/components/component_with_pip_install.yaml index 0b302b6f47ce..fd0603442dec 100644 --- a/sdk/python/test_data/components/component_with_pip_install.yaml +++ b/sdk/python/test_data/components/component_with_pip_install.yaml @@ -17,7 +17,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ --index-url https://pypi.org/simple --trusted-host https://pypi.org/simple\ \ 'yapf' 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" diff --git a/sdk/python/test_data/components/component_with_task_final_status.yaml b/sdk/python/test_data/components/component_with_task_final_status.yaml index bdb4f338f84d..ba2b75cf5dd8 100644 --- a/sdk/python/test_data/components/component_with_task_final_status.yaml +++ b/sdk/python/test_data/components/component_with_task_final_status.yaml @@ -24,7 +24,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/concat_message.yaml b/sdk/python/test_data/components/concat_message.yaml index 66d2033801cf..620bebfd42f5 100644 --- a/sdk/python/test_data/components/concat_message.yaml +++ b/sdk/python/test_data/components/concat_message.yaml @@ -32,7 +32,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/dict_input.yaml b/sdk/python/test_data/components/dict_input.yaml index 12c20212fc63..a9a68fbd0fa1 100644 --- a/sdk/python/test_data/components/dict_input.yaml +++ b/sdk/python/test_data/components/dict_input.yaml @@ -23,7 +23,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/identity.yaml b/sdk/python/test_data/components/identity.yaml index e4a3a07d24c8..8ada87bee6ef 100644 --- a/sdk/python/test_data/components/identity.yaml +++ b/sdk/python/test_data/components/identity.yaml @@ -29,7 +29,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/input_artifact.yaml b/sdk/python/test_data/components/input_artifact.yaml index fe8a0b204c27..eff4d003d3ed 100644 --- a/sdk/python/test_data/components/input_artifact.yaml +++ b/sdk/python/test_data/components/input_artifact.yaml @@ -25,7 +25,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/nested_return.yaml b/sdk/python/test_data/components/nested_return.yaml index 84d17997b30b..9f0dab309523 100644 --- a/sdk/python/test_data/components/nested_return.yaml +++ b/sdk/python/test_data/components/nested_return.yaml @@ -23,7 +23,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/output_metrics.yaml b/sdk/python/test_data/components/output_metrics.yaml index 97fdcd5392ed..edae827f5c58 100644 --- a/sdk/python/test_data/components/output_metrics.yaml +++ b/sdk/python/test_data/components/output_metrics.yaml @@ -27,7 +27,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/components/preprocess.yaml b/sdk/python/test_data/components/preprocess.yaml index 98a77ca576e0..224d3ca8e58c 100644 --- a/sdk/python/test_data/components/preprocess.yaml +++ b/sdk/python/test_data/components/preprocess.yaml @@ -56,7 +56,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/component_with_optional_inputs.yaml b/sdk/python/test_data/pipelines/component_with_optional_inputs.yaml index fe1584a6e17a..8709eb05239d 100644 --- a/sdk/python/test_data/pipelines/component_with_optional_inputs.yaml +++ b/sdk/python/test_data/pipelines/component_with_optional_inputs.yaml @@ -29,7 +29,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/component_with_pip_index_urls.yaml b/sdk/python/test_data/pipelines/component_with_pip_index_urls.yaml index 094b1f484b39..79e06190eeda 100644 --- a/sdk/python/test_data/pipelines/component_with_pip_index_urls.yaml +++ b/sdk/python/test_data/pipelines/component_with_pip_index_urls.yaml @@ -17,7 +17,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ --index-url https://pypi.org/simple --trusted-host https://pypi.org/simple\ \ 'yapf' 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" diff --git a/sdk/python/test_data/pipelines/components_with_optional_artifacts.yaml b/sdk/python/test_data/pipelines/components_with_optional_artifacts.yaml index b034b9f10de8..f90d3c382202 100644 --- a/sdk/python/test_data/pipelines/components_with_optional_artifacts.yaml +++ b/sdk/python/test_data/pipelines/components_with_optional_artifacts.yaml @@ -126,7 +126,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -156,7 +156,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/lightweight_python_functions_pipeline.yaml b/sdk/python/test_data/pipelines/lightweight_python_functions_pipeline.yaml index 55864390d28f..714c848a27be 100644 --- a/sdk/python/test_data/pipelines/lightweight_python_functions_pipeline.yaml +++ b/sdk/python/test_data/pipelines/lightweight_python_functions_pipeline.yaml @@ -78,7 +78,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -131,7 +131,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/lightweight_python_functions_with_outputs.yaml b/sdk/python/test_data/pipelines/lightweight_python_functions_with_outputs.yaml index 6b3c0a604035..0c30cf4d2443 100644 --- a/sdk/python/test_data/pipelines/lightweight_python_functions_with_outputs.yaml +++ b/sdk/python/test_data/pipelines/lightweight_python_functions_with_outputs.yaml @@ -81,7 +81,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -109,7 +109,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -137,7 +137,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -165,7 +165,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_complex.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_complex.yaml index 582ff6ac77ac..44765a07fb03 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_complex.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_complex.yaml @@ -285,7 +285,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -316,7 +316,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -347,7 +347,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -378,7 +378,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -407,7 +407,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_simple.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_simple.yaml index 260a14b465bc..5ec2fac42d3f 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_simple.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/artifacts_simple.yaml @@ -90,7 +90,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -137,7 +137,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/conditional_producer_and_consumers.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/conditional_producer_and_consumers.yaml index 9bd3b157ac21..25e23096fb04 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/conditional_producer_and_consumers.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/conditional_producer_and_consumers.yaml @@ -132,7 +132,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -159,7 +159,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/nested_with_parameters.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/nested_with_parameters.yaml index fd9b762347d7..b44018d6ed3d 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/nested_with_parameters.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/nested_with_parameters.yaml @@ -150,7 +150,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -178,7 +178,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -205,7 +205,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -232,7 +232,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_complex.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_complex.yaml index f5f5b5bf814d..e24b047286ae 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_complex.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_complex.yaml @@ -224,7 +224,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -252,7 +252,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -279,7 +279,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -306,7 +306,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -334,7 +334,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -362,7 +362,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -389,7 +389,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_simple.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_simple.yaml index bf84cb834998..caa1a8de49bf 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_simple.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/parameters_simple.yaml @@ -75,7 +75,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -112,7 +112,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/parallelfor_fan_in/pipeline_producer_consumer.yaml b/sdk/python/test_data/pipelines/parallelfor_fan_in/pipeline_producer_consumer.yaml index 07a23c249664..6233e3da4a60 100644 --- a/sdk/python/test_data/pipelines/parallelfor_fan_in/pipeline_producer_consumer.yaml +++ b/sdk/python/test_data/pipelines/parallelfor_fan_in/pipeline_producer_consumer.yaml @@ -206,7 +206,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -234,7 +234,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -261,7 +261,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -289,7 +289,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_as_exit_task.yaml b/sdk/python/test_data/pipelines/pipeline_as_exit_task.yaml index 0e3ef04e69f8..fca5db090cef 100644 --- a/sdk/python/test_data/pipelines/pipeline_as_exit_task.yaml +++ b/sdk/python/test_data/pipelines/pipeline_as_exit_task.yaml @@ -129,7 +129,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -157,7 +157,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -185,7 +185,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -213,7 +213,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_in_pipeline.yaml b/sdk/python/test_data/pipelines/pipeline_in_pipeline.yaml index f9acdca89ddb..044a549b5684 100644 --- a/sdk/python/test_data/pipelines/pipeline_in_pipeline.yaml +++ b/sdk/python/test_data/pipelines/pipeline_in_pipeline.yaml @@ -74,7 +74,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -102,7 +102,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_in_pipeline_complex.yaml b/sdk/python/test_data/pipelines/pipeline_in_pipeline_complex.yaml index 5977d8ccad70..0b317732368b 100644 --- a/sdk/python/test_data/pipelines/pipeline_in_pipeline_complex.yaml +++ b/sdk/python/test_data/pipelines/pipeline_in_pipeline_complex.yaml @@ -161,7 +161,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -189,7 +189,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_in_pipeline_loaded_from_yaml.yaml b/sdk/python/test_data/pipelines/pipeline_in_pipeline_loaded_from_yaml.yaml index 752f22b21d88..cbc00b236eb4 100644 --- a/sdk/python/test_data/pipelines/pipeline_in_pipeline_loaded_from_yaml.yaml +++ b/sdk/python/test_data/pipelines/pipeline_in_pipeline_loaded_from_yaml.yaml @@ -208,7 +208,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_condition.yaml b/sdk/python/test_data/pipelines/pipeline_with_condition.yaml index 15c824c46510..6a52598dbfea 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_condition.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_condition.yaml @@ -88,7 +88,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -117,7 +117,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -146,7 +146,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -174,7 +174,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -202,7 +202,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_dynamic_importer_metadata.yaml b/sdk/python/test_data/pipelines/pipeline_with_dynamic_importer_metadata.yaml index b6b83cff2eb9..4ad24e6a7536 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_dynamic_importer_metadata.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_dynamic_importer_metadata.yaml @@ -94,7 +94,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_env.yaml b/sdk/python/test_data/pipelines/pipeline_with_env.yaml index 36278249cc2b..53c6bdbdcb53 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_env.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_env.yaml @@ -41,7 +41,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_exit_handler.yaml b/sdk/python/test_data/pipelines/pipeline_with_exit_handler.yaml index 3666f6223a0f..72febfacbac7 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_exit_handler.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_exit_handler.yaml @@ -65,7 +65,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -93,7 +93,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -121,7 +121,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_google_artifact_type.yaml b/sdk/python/test_data/pipelines/pipeline_with_google_artifact_type.yaml index be902d087b6e..5a9c47e90f5c 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_google_artifact_type.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_google_artifact_type.yaml @@ -56,7 +56,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'aiplatform' 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -90,7 +90,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'aiplatform' 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_importer.yaml b/sdk/python/test_data/pipelines/pipeline_with_importer.yaml index 86e8066c471b..a98b822e923c 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_importer.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_importer.yaml @@ -127,7 +127,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -160,7 +160,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_loops.yaml b/sdk/python/test_data/pipelines/pipeline_with_loops.yaml index 16666ead40d2..603eb307f24e 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_loops.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_loops.yaml @@ -171,7 +171,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -199,7 +199,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -226,7 +226,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -253,7 +253,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -280,7 +280,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -307,7 +307,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -334,7 +334,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -361,7 +361,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_loops_and_conditions.yaml b/sdk/python/test_data/pipelines/pipeline_with_loops_and_conditions.yaml index 4625023655dc..6fa63d244dc2 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_loops_and_conditions.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_loops_and_conditions.yaml @@ -602,7 +602,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -632,7 +632,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -662,7 +662,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -691,7 +691,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -718,7 +718,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -746,7 +746,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -774,7 +774,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -802,7 +802,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -830,7 +830,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -858,7 +858,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -886,7 +886,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -914,7 +914,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -942,7 +942,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_metadata_fields.yaml b/sdk/python/test_data/pipelines/pipeline_with_metadata_fields.yaml index 55586b463fe9..2f750dca4ccd 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_metadata_fields.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_metadata_fields.yaml @@ -60,7 +60,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -96,7 +96,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_metrics_outputs.yaml b/sdk/python/test_data/pipelines/pipeline_with_metrics_outputs.yaml index 179aca177df9..b07cdc0b5fa1 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_metrics_outputs.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_metrics_outputs.yaml @@ -60,7 +60,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -90,7 +90,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_multiple_exit_handlers.yaml b/sdk/python/test_data/pipelines/pipeline_with_multiple_exit_handlers.yaml index 37e6e8a284ce..15f27f2ca086 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_multiple_exit_handlers.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_multiple_exit_handlers.yaml @@ -125,7 +125,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -153,7 +153,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -181,7 +181,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -209,7 +209,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -237,7 +237,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -265,7 +265,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -293,7 +293,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_nested_conditions.yaml b/sdk/python/test_data/pipelines/pipeline_with_nested_conditions.yaml index e493aedf1ebd..5935785ce575 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_nested_conditions.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_nested_conditions.yaml @@ -147,7 +147,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -176,7 +176,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -205,7 +205,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -234,7 +234,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -263,7 +263,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -291,7 +291,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -319,7 +319,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -347,7 +347,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_nested_loops.yaml b/sdk/python/test_data/pipelines/pipeline_with_nested_loops.yaml index 4b88fb5b2689..dd74fc17fd60 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_nested_loops.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_nested_loops.yaml @@ -145,7 +145,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -173,7 +173,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -201,7 +201,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_outputs.yaml b/sdk/python/test_data/pipelines/pipeline_with_outputs.yaml index f9de811b0494..2456ed9cbf60 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_outputs.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_outputs.yaml @@ -104,7 +104,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -132,7 +132,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_parallelfor_parallelism.yaml b/sdk/python/test_data/pipelines/pipeline_with_parallelfor_parallelism.yaml index 7f89c3659c85..267115304abd 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_parallelfor_parallelism.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_parallelfor_parallelism.yaml @@ -179,7 +179,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -206,7 +206,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -233,7 +233,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -260,7 +260,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -287,7 +287,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -314,7 +314,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_params_containing_format.yaml b/sdk/python/test_data/pipelines/pipeline_with_params_containing_format.yaml index a992ea8ff7d8..bcd2e6fc8012 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_params_containing_format.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_params_containing_format.yaml @@ -74,7 +74,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -102,7 +102,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -130,7 +130,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_placeholders.yaml b/sdk/python/test_data/pipelines/pipeline_with_placeholders.yaml index 1103f83388fb..51ee186392d8 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_placeholders.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_placeholders.yaml @@ -55,7 +55,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -82,7 +82,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -109,7 +109,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -136,7 +136,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -163,7 +163,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_retry.yaml b/sdk/python/test_data/pipelines/pipeline_with_retry.yaml index 6ea231cbaaf3..77c034f8b8ef 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_retry.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_retry.yaml @@ -30,7 +30,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_task_final_status.yaml b/sdk/python/test_data/pipelines/pipeline_with_task_final_status.yaml index ac88e32b47dc..09915ec8138c 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_task_final_status.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_task_final_status.yaml @@ -68,7 +68,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -100,7 +100,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -128,7 +128,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/python/test_data/pipelines/pipeline_with_task_using_ignore_upstream_failure.yaml b/sdk/python/test_data/pipelines/pipeline_with_task_using_ignore_upstream_failure.yaml index f2f8c8772d2a..ababb9900fbb 100644 --- a/sdk/python/test_data/pipelines/pipeline_with_task_using_ignore_upstream_failure.yaml +++ b/sdk/python/test_data/pipelines/pipeline_with_task_using_ignore_upstream_failure.yaml @@ -35,7 +35,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh @@ -63,7 +63,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ _RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ + \ _KFP_RUNTIME=true python3 -m pip install --quiet --no-warn-script-location\ \ 'kfp==2.1.2' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && \"$0\" \"$@\"\n" - sh diff --git a/sdk/runtime_tests/__init__.py b/sdk/runtime_tests/__init__.py deleted file mode 100644 index fecc9b20d388..000000000000 --- a/sdk/runtime_tests/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2023 The Kubeflow Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. \ No newline at end of file