-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(kfp): bump to python 3.9 #2078
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ postsubmits: | |
decorate: true | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @chensun for whether this is safe to bump to |
||
command: | ||
- ./backend/src/v2/test/integration-test.sh | ||
annotations: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ presubmits: | |
args: | ||
# We cannot call the shell script directly because the shebang in script is /bin/bash, | ||
# but the bash:alpine3.14 image has its bash in /usr/local/bin/bash. | ||
- ./manifests/gcp_marketplace/test/presubmit.sh | ||
- ./manifests/gcp_marketplace/test/presubmit.sh | ||
- name: kubeflow-pipeline-upgrade-test | ||
run_if_changed: "^(backend/.*)|(manifests/kustomize/.*)|(test/upgrade.*)$" | ||
cluster: build-kubeflow | ||
|
@@ -156,7 +156,7 @@ presubmits: | |
run_if_changed: "^(components/.*\\.yaml)|(test/presubmit-component-yaml.sh)|(sdk/python/.*)$" | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In places where we are testing potential user code paths, I think it still makes sense to test this on the lowest (least feature-rich) version of Python supported by the KFP SDK: Python 3.7. This is the most aggressive form of testing. Practically speaking, this applies for every presubmit that invokes KFP SDK code. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you mind pushing a commit to my branch here that has the changes you have in mind. You're obviously much more aware of the current testing setup and which things should change and which ones shouldn't. You should be able to push to my branch since I have allowed maintainers t commit to it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey, David. I added comments throughout for where I think we should not bump to Python 3.9 and cc'd others where I do not have enough information to say. To unblock yourself, I recommend ignoring the places where we are waiting on input from others. We can always come back to them. |
||
command: | ||
- ./test/presubmit-component-yaml.sh | ||
|
||
|
@@ -176,10 +176,10 @@ presubmits: | |
run_if_changed: "^(backend/src/apiserver/visualization/.*)|(test/presubmit-backend-visualization.sh)$" | ||
spec: | ||
containers: | ||
- image: python:3.8 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @chensun for whether this is safe to bump to |
||
command: | ||
- ./test/presubmit-backend-visualization.sh | ||
|
||
- name: kubeflow-pipelines-samples-v2 | ||
cluster: build-kubeflow | ||
decorate: true | ||
|
@@ -188,19 +188,19 @@ presubmits: | |
optional: true | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should leave this as |
||
command: | ||
- ./backend/src/v2/test/sample-test.sh | ||
skip_branches: | ||
- ^sdk\/release-1.*$ | ||
|
||
- name: kubeflow-pipelines-integration-v2 | ||
run_if_changed: "^(samples/core/(parameterized_tfx_oss|dataflow)/.*)$" | ||
cluster: build-kubeflow | ||
decorate: true | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @chensun for whether this is safe to bump to |
||
command: | ||
- ./backend/src/v2/test/integration-test.sh | ||
|
||
|
@@ -221,7 +221,7 @@ presubmits: | |
- master | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
command: | ||
- ./test/presubmit-isort-sdk.sh | ||
- name: kubeflow-pipelines-sdk-yapf | ||
|
@@ -232,7 +232,7 @@ presubmits: | |
- master | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
command: | ||
- ./test/presubmit-yapf-sdk.sh | ||
- name: kubeflow-pipelines-sdk-docformatter | ||
|
@@ -243,7 +243,7 @@ presubmits: | |
- master | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
command: | ||
- ./test/presubmit-docformatter-sdk.sh | ||
- name: kubeflow-pipelines-sdk-execution-tests | ||
|
@@ -254,7 +254,7 @@ presubmits: | |
- master | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should leave this as |
||
command: | ||
- ./test/presubmit-sdk-execution-tests.sh | ||
|
||
|
@@ -298,7 +298,7 @@ presubmits: | |
- image: python:3.10 | ||
command: | ||
- ./test/presubmit-test-kfp-kubernetes-library.sh | ||
|
||
- name: kfp-kubernetes-test-python311 | ||
cluster: build-kubeflow | ||
decorate: true | ||
|
@@ -317,7 +317,7 @@ presubmits: | |
spec: | ||
containers: | ||
# run on the lowest version of Python (with the least features) for most aggressive testing | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should leave this as |
||
command: | ||
- ./test/presubmit-test-run-all-gcpc-modules.sh | ||
|
||
|
@@ -327,7 +327,7 @@ presubmits: | |
run_if_changed: "^(sdk/python/.*)|(test/presubmit-test-sdk-upgrade.sh)$" | ||
spec: | ||
containers: | ||
- image: python:3.7 | ||
- image: python:3.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should leave this as |
||
command: | ||
- ./test/presubmit-test-sdk-upgrade.sh | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @chensun for whether this is safe to bump to
python:3.9