Skip to content

Commit

Permalink
Changed the SDK installation lines in samples
Browse files Browse the repository at this point in the history
Otherwise the sample tests do not correctly test the new SDK code.
  • Loading branch information
Ark-kun committed Oct 12, 2019
1 parent 5c212fe commit b22cc3e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion samples/core/ai_platform/ai_platform.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"%%capture\n",
"\n",
"# Install the SDK (Uncomment the code if the SDK is not installed before)\n",
"!python3 -m pip install kfp --upgrade -q\n",
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n",
"!python3 -m pip install pandas --upgrade -q"
]
},
Expand Down
2 changes: 1 addition & 1 deletion samples/core/component_build/component_build.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"outputs": [],
"source": [
"# Install Pipeline SDK - This only needs to be ran once in the enviroment. \n",
"!pip3 install kfp --upgrade --quiet"
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions samples/core/dataflow/dataflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"metadata": {},
"outputs": [],
"source": [
"%%capture --no-stderr\n",
"!pip3 install kfp --upgrade"
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n"

]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
}
],
"source": [
"!pip3 install kfp --upgrade"
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion samples/core/kubeflow_tf_serving/kubeflow_tf_serving.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
],
"source": [
"# Install Pipeline SDK - This only needs to be ran once in the enviroment. \n",
"!pip3 install kfp --upgrade\n",
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n",
"!pip3 install tensorflow==1.14 --upgrade"
]
},
Expand Down
2 changes: 1 addition & 1 deletion samples/core/multiple_outputs/multiple_outputs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"outputs": [],
"source": [
"!pip install kfp --upgrade"
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion samples/core/tfx-oss/TFX Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"outputs": [],
"source": [
"!pip3 install tfx==0.13.0 --upgrade\n",
"!pip3 install kfp --upgrade"
"!python3 -m pip install 'kfp>=0.1.31' --quiet\n"
]
},
{
Expand Down

0 comments on commit b22cc3e

Please sign in to comment.