-
Notifications
You must be signed in to change notification settings - Fork 1.9k
chore(drop-python-version): Update Python 3.9 → 3.10 #12307
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
Changes from 3 commits
5b3fe82
1fe0b9e
e1886b7
7c1fdb5
71515ce
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 |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,7 +33,7 @@ jobs: | |
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.9' | ||
| python-version: '3.10' | ||
|
Contributor
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. stringify version |
||
|
|
||
| # This is intended to address disk space issues that have surfaced | ||
| # intermittently during CI - | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,7 +24,7 @@ jobs: | |
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.9' | ||
| python-version: '3.10' | ||
|
Contributor
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. stringify version |
||
|
|
||
| - name: Install dependencies | ||
| run: pip install yapf | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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: | ||
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| 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 |
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.
Try setting the version within a string to prevent stripping.