Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/api-server-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
CLUSTER_NAME: "kfp"
NAMESPACE: "kubeflow"
USER_NAMESPACE: "kubeflow-user-example-com"
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.10"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compiler-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Workflow Compiler Tests
env:
TESTS_DIR: "./backend/test/compiler"
TESTS_LABEL: "WorkflowCompiler"
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.10"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'


- name: Create KFP cluster
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ env:
NUMBER_OF_PARALLEL_NODES: 10
CLUSTER_NAME: "kfp"
NAMESPACE: "kubeflow"
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.10"
USER_NAMESPACE: "kubeflow-user-example-com"

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcpc-modules-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Install protobuf-compiler
run: sudo apt update && sudo apt install -y protobuf-compiler
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Create KFP cluster
id: create-kfp-cluster
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kfp-kubernetes-execution-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stringify version


# This is intended to address disk space issues that have surfaced
# intermittently during CI -
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kfp-kubernetes-library-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.10' },
{ 'version': '3.13' }
]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kfp-sdk-runtime-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
python: ['3.9', '3.13']
python: ['3.10', '3.13']
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kfp-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.13']
python-version: ['3.10', '3.13']

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/legacy-v2-api-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Create KFP cluster
id: create-kfp-cluster
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-component-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Install protobuf dependencies
uses: ./.github/actions/protobuf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-docformatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Run docformatter tests
run: ./test/presubmit-docformatter-sdk.sh
2 changes: 1 addition & 1 deletion .github/workflows/sdk-isort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Run isort tests
run: ./test/presubmit-isort-sdk.sh
2 changes: 1 addition & 1 deletion .github/workflows/sdk-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Install protobuf dependencies & kfp-pipeline-spec
id: install-protobuf-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-yapf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stringify version


- name: Install dependencies
run: pip install yapf
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upgrade-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
NUMBER_OF_PARALLEL_NODES: 15
CLUSTER_NAME: "kfp"
NAMESPACE: "kubeflow"
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.10"

on:
push:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Get last release tag
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Install protobuf dependencies & kfp-pipeline-spec
id: install-protobuf-deps
Expand Down
2 changes: 1 addition & 1 deletion backend/metadata_writer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ml-metadata package depends on tensorflow package
FROM python:3.9
FROM python:3.10
COPY backend/metadata_writer/requirements.txt /kfp/metadata_writer/
RUN python3 -m pip install -r /kfp/metadata_writer/requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion backend/metadata_writer/update_requirements.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

# This image should be in sync with Dockerfile.
IMAGE="python:3.9"
IMAGE="python:3.10"
../../hack/update-requirements.sh $IMAGE <requirements.in >requirements.txt
2 changes: 1 addition & 1 deletion backend/src/apiserver/config/testdata/sample_pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ deploymentSpec:
'
- "\nimport kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import\
\ *\n\ndef hello_world():\n print('hello')\n\n"
image: python:3.9
image: python:3.10
pipelineInfo:
name: pipeline-hello-world
root:
Expand Down
12 changes: 6 additions & 6 deletions backend/src/apiserver/resource/resource_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3479,15 +3479,15 @@ spec:
- name: ENABLE_CACHING
valueFrom:
fieldRef: {fieldPath: 'metadata.labels[''pipelines.kubeflow.org/enable_caching'']'}
- {name: KFP_V2_IMAGE, value: 'python:3.9'}
- {name: KFP_V2_IMAGE, value: 'python:3.10'}
- {name: KFP_V2_RUNTIME_INFO, value: '{"inputParameters": {"some_int": {"type":
"INT"}, "uri": {"type": "STRING"}}, "inputArtifacts": {}, "outputParameters":
{"output_parameter_one": {"type": "INT", "path": "/tmp/outputs/output_parameter_one/data"}},
"outputArtifacts": {"output_dataset_one": {"schemaTitle": "system.Dataset",
"instanceSchema": "", "metadataPath": "/tmp/outputs/output_dataset_one/data"}}}'}
envFrom:
- configMapRef: {name: metadata-grpc-configmap, optional: true}
image: python:3.9
image: python:3.10
volumeMounts:
- {mountPath: /kfp-launcher, name: kfp-launcher}
inputs:
Expand Down Expand Up @@ -3581,15 +3581,15 @@ spec:
- name: ENABLE_CACHING
valueFrom:
fieldRef: {fieldPath: 'metadata.labels[''pipelines.kubeflow.org/enable_caching'']'}
- {name: KFP_V2_IMAGE, value: 'python:3.9'}
- {name: KFP_V2_IMAGE, value: 'python:3.10'}
- {name: KFP_V2_RUNTIME_INFO, value: '{"inputParameters": {"num_steps": {"type":
"INT"}}, "inputArtifacts": {"dataset": {"metadataPath": "/tmp/inputs/dataset/data",
"schemaTitle": "system.Dataset", "instanceSchema": ""}}, "outputParameters":
{}, "outputArtifacts": {"model": {"schemaTitle": "system.Model", "instanceSchema":
"", "metadataPath": "/tmp/outputs/model/data"}}}'}
envFrom:
- configMapRef: {name: metadata-grpc-configmap, optional: true}
image: python:3.9
image: python:3.10
volumeMounts:
- {mountPath: /kfp-launcher, name: kfp-launcher}
inputs:
Expand Down Expand Up @@ -4113,7 +4113,7 @@ deploymentSpec:
_parsed_args = vars(_parser.parse_args())

_outputs = hello_world(**_parsed_args)
image: python:3.9
image: python:3.10
pipelineInfo:
name: hello-world
root:
Expand Down Expand Up @@ -4146,7 +4146,7 @@ deploymentSpec:
executors:
exec-hello-world:
container:
image: python:3.9
image: python:3.10
pipelineInfo:
name: pipelines/p1/versions/v1
root:
Expand Down
12 changes: 6 additions & 6 deletions backend/src/apiserver/server/pipeline_upload_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ deploymentSpec:
_parsed_args = vars(_parser.parse_args())

_outputs = hello_world(**_parsed_args)
image: python:3.9
image: python:3.10
pipelineInfo:
name: hello-world
root:
Expand Down Expand Up @@ -787,7 +787,7 @@ deploymentSpec:
_parsed_args = vars(_parser.parse_args())

_outputs = hello_world(**_parsed_args)
image: python:3.9
image: python:3.10
pipelineInfo:
name: hello-world
root:
Expand Down Expand Up @@ -828,7 +828,7 @@ deploymentSpec:
executors:
exec-hello-world:
container:
image: python:3.9
image: python:3.10
pipelineInfo:
name: hello-world-
root:
Expand All @@ -853,7 +853,7 @@ deploymentSpec:
executors:
exec-hello-world:
container:
image: python:3.9
image: python:3.10
pipelineInfo:
name: hEllo-world
root:
Expand All @@ -878,7 +878,7 @@ deploymentSpec:
executors:
exec-hello-world:
container:
image: python:3.9
image: python:3.10
pipelineInfo:
name: more than 128 characters more than 128 characters more than 128 characters more than 128 characters more than 128 characters
root:
Expand All @@ -903,7 +903,7 @@ deploymentSpec:
executors:
exec-hello-world:
container:
image: python:3.9
image: python:3.10
pipelineInfo:
name: hello-worl.d
root:
Expand Down
6 changes: 3 additions & 3 deletions backend/src/apiserver/server/test/pipeline_with_volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ deploymentSpec:
'
- "\nimport kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import\
\ *\n\ndef comp():\n pass\n\n"
image: python:3.9
image: python:3.10
exec-comp-2:
container:
args:
Expand All @@ -92,7 +92,7 @@ deploymentSpec:
'
- "\nimport kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import\
\ *\n\ndef comp():\n pass\n\n"
image: python:3.9
image: python:3.10
exec-comp-3:
container:
args:
Expand All @@ -118,7 +118,7 @@ deploymentSpec:
'
- "\nimport kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import\
\ *\n\ndef comp():\n pass\n\n"
image: python:3.9
image: python:3.10
exec-createpvc:
container:
image: argostub/createpvc
Expand Down
2 changes: 1 addition & 1 deletion backend/src/apiserver/server/test/v2-hello-world.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"program_path=$(mktemp)\nprintf \"%s\" \"$0\" > \"$program_path\"\npython3 -u \"$program_path\" \"$@\"\n",
"def hello_world(text):\n print(text)\n return text\n\nimport argparse\n_parser = argparse.ArgumentParser(prog='Hello world', description='')\n_parser.add_argument(\"--text\", dest=\"text\", type=str, required=True, default=argparse.SUPPRESS)\n_parsed_args = vars(_parser.parse_args())\n\n_outputs = hello_world(**_parsed_args)\n"
],
"image": "python:3.9"
"image": "python:3.10"
}
}
}
Expand Down
Loading
Loading