Skip to content
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

test: Added support for Python 3.13 to tests #11376

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
8 changes: 7 additions & 1 deletion .github/workflows/backend-visualization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ on:
jobs:
backend-visualization-test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: ${{matrix.python.version}}

- name: Run tests
run: ./test/presubmit-backend-visualization.sh
48 changes: 42 additions & 6 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ on:
jobs:
initialization-tests-v1:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand All @@ -47,14 +53,20 @@ jobs:

initialization-tests-v2:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand All @@ -75,14 +87,20 @@ jobs:

api-integration-tests-v1:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand All @@ -103,14 +121,20 @@ jobs:

api-integration-tests-v2:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand All @@ -131,14 +155,20 @@ jobs:

frontend-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand All @@ -165,14 +195,20 @@ jobs:

basic-sample-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/gcpc-modules-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ on:
jobs:
all-gcpc-tests:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: apt-get update
run: sudo apt-get update
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/kfp-kubernetes-execution-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ on:
jobs:
kfp-kubernetes-execution-tests:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/kfp-kubernetes-library-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
{ 'version': '3.9' },
{ 'version': '3.10' },
{ 'version': '3.11' },
{ 'version': '3.12' }
{ 'version': '3.12' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/kfp-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,20 @@ on:
jobs:
samples:
runs-on: ubuntu-latest

strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
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 @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ on:
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}
- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
- name: Port forward kfp apiserver
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/sdk-component-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ on:
jobs:
test-component-yaml-kfp:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: apt-get update
run: sudo apt-get update
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/sdk-docformatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ on:
jobs:
test-docformatter-kfp-sdk:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Run docformatter tests
run: ./test/presubmit-docformatter-sdk.sh
8 changes: 7 additions & 1 deletion .github/workflows/sdk-execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ on:
jobs:
sdk-execution-tests:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Create KFP cluster
uses: ./.github/actions/kfp-cluster
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/sdk-isort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ on:
jobs:
test-isort-kfp-sdk:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Run isort tests
run: ./test/presubmit-isort-sdk.sh
8 changes: 7 additions & 1 deletion .github/workflows/sdk-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ on:
jobs:
test-upgrade-kfp-sdk:
runs-on: ubuntu-24.04
strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{matrix.python.version}}

- name: Run SDK upgrade tests
run: ./test/presubmit-test-sdk-upgrade.sh
9 changes: 7 additions & 2 deletions .github/workflows/sdk-yapf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,20 @@ on:
jobs:
yapf-sdk:
runs-on: ubuntu-latest

strategy:
matrix:
python: [
{ 'version': '3.9' },
{ 'version': '3.13' }
]
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: ${{matrix.python.version}}

- name: Install dependencies
run: pip install yapf
Expand Down
Loading
Loading