Skip to content

Commit 1f3093c

Browse files
authored
Update kfp-sdk to 1.8.14 (kubeflow#1050)
1 parent 5a96b11 commit 1f3093c

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

sdk/python/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ can be found in the [SDK README](/sdk/README.md)
3434
## Development Prerequisites
3535

3636
1. [`Python`](https://www.python.org/downloads/): version `3.7` or later (new code must maintain compatibility with `3.7`)
37-
2. [`Kubernetes` Cluster](https://kubernetes.io/): version `1.21` ([required by Kubeflow](https://www.kubeflow.org/docs/started/kubeflow-overview/) and Tekton `0.36`)
37+
2. [`Kubernetes` Cluster](https://kubernetes.io/): version `1.21` ([required by Kubeflow](https://www.kubeflow.org/docs/started/kubeflow-overview/) and Tekton `0.38`)
3838
3. [`kubectl` CLI](https://kubernetes.io/docs/tasks/tools/install-kubectl/): required to deploy Tekton pipelines to Kubernetes cluster
39-
4. [`Tekton` Deployment](https://github.com/tektoncd/pipeline/releases/tag/v0.36.0/): version `0.36.0` or greater, required for end-to-end testing
39+
4. [`Tekton` Deployment](https://github.com/tektoncd/pipeline/releases/tag/v0.38.4/): version `0.38.4` or greater, required for end-to-end testing
4040
5. [`tkn` CLI](https://github.com/tektoncd/cli#installing-tkn): version `0.17.2` or greater, required for end-to-end testing of Tekton pipelines
4141
6. [`Kubeflow Pipelines` Deployment](https://www.kubeflow.org/docs/pipelines/installation/overview/): required for some end-to-end tests
4242

@@ -109,7 +109,7 @@ _monkey-patching_ was used to replace non-class methods and functions at runtime
109109

110110
In order for the _monkey patch_ to work properly, the `kfp-tekton` compiler source code has to be aligned with a
111111
specific version of the `kfp` SDK compiler. As of now the `kfp-tekton` SDK version is `1.3.1` which is aligned with KFP
112-
SDK version [`1.8.13`](https://pypi.org/project/kfp/1.8.13/).
112+
SDK version [`1.8.14`](https://pypi.org/project/kfp/1.8.14/).
113113

114114

115115
## Adding New Code

sdk/python/kfp_tekton/compiler/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def process_parameter(parameter):
570570
# get other input params
571571
input_helper(self.loops_pipeline[group_name], sub_group,
572572
self.loops_pipeline[group_name]['loop_sub_args'] + [sub_group.loop_args.full_name])
573-
if sub_group.parallelism is not None:
573+
if sub_group.parallelism is not None and sub_group.parallelism > 0:
574574
self.loops_pipeline[group_name]['spec']['parallelism'] = sub_group.parallelism
575575

576576
return template

sdk/python/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kfp>=1.8.10,<1.8.13
1+
kfp>=1.8.10,<1.8.15

sdk/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ idna==2.10
6767
# via requests
6868
jsonschema==3.2.0
6969
# via kfp
70-
kfp==1.8.13
70+
kfp==1.8.14
7171
# via -r sdk/python/requirements.in
7272
kfp-pipeline-spec==0.1.16
7373
# via kfp

sdk/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# NOTICE, after any updates to the following, ./requirements.in should be updated
5555
# accordingly.
5656
REQUIRES = [
57-
"kfp>=1.8.10,<1.8.14",
57+
"kfp>=1.8.10,<1.8.15",
5858
]
5959

6060
TESTS_REQUIRE = [

sdk/python/tests/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ You should see an output similar to the one below, outlining which test scripts
2727
which are failing:
2828

2929
```YAML
30-
KFP clone version: 1.8.0
30+
KFP clone version: 1.8.4
3131
KFP Python SDK version(s):
32-
kfp 1.8.11
33-
kfp-pipeline-spec 0.1.13
34-
kfp-server-api 1.8.1
35-
kfp-tekton 1.1.1
32+
kfp 1.8.14
33+
kfp-pipeline-spec 0.1.16
34+
kfp-server-api 1.8.5
35+
kfp-tekton 1.3.1
3636

3737
SUCCESS: add_pod_env.py
3838
SUCCESS: artifact_passing_using_volume.py
@@ -146,6 +146,6 @@ Occurences of other Errors:
146146

147147
## Disclaimer
148148

149-
**Note:** The reports above were created for the pipeline scripts found in KFP SDK version `1.8.11` since
150-
the `kfp_tekton` `1.2.0` compiler code is based on the `kfp` SDK compiler version greater than or equals to
151-
`1.8.10` and less than `1.8.12`.
149+
**Note:** The reports above were created for the pipeline scripts found in KFP SDK version `1.8.14` since
150+
the `kfp_tekton` `1.3.1` compiler code is based on the `kfp` SDK compiler version greater than or equals to
151+
`1.8.10` and less than `1.8.15`.

sdk/python/tests/test_kfp_samples.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ while (( $# > 0 )); do
6363
done
6464

6565
# define global variables
66-
KFP_GIT_VERSION=${KFP_VERSION:-1.8.0}
67-
KFP_SDK_VERSION=${KFP_VERSION:-1.8.11}
66+
KFP_GIT_VERSION=${KFP_VERSION:-1.8.4}
67+
KFP_SDK_VERSION=${KFP_VERSION:-1.8.14}
6868
KFP_REPO_URL="https://github.com/kubeflow/pipelines.git"
6969
SCRIPT_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
7070
PROJECT_DIR="${TRAVIS_BUILD_DIR:-$(cd "${SCRIPT_DIR%/sdk/python/tests}"; pwd)}"

0 commit comments

Comments
 (0)