Skip to content

Commit 87144e8

Browse files
committed
update GitHub workflows to use Python 3.11 by default
1 parent 814efb4 commit 87144e8

7 files changed

+16
-16
lines changed

.github/workflows/additional_demo_notebook_tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up specific Python version
5151
uses: actions/setup-python@v5
5252
with:
53-
python-version: '3.9'
53+
python-version: '3.11'
5454
cache: 'pip' # caching pip dependencies
5555

5656
- name: Setup and start KinD cluster
@@ -168,7 +168,7 @@ jobs:
168168
- name: Set up specific Python version
169169
uses: actions/setup-python@v5
170170
with:
171-
python-version: '3.9'
171+
python-version: '3.11'
172172
cache: 'pip' # caching pip dependencies
173173

174174
- name: Setup and start KinD cluster

.github/workflows/coverage-badge.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Set up Python 3.9
16+
- name: Set up Python 3.11
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: 3.9
19+
python-version: 3.11
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip

.github/workflows/e2e_tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up specific Python version
5757
uses: actions/setup-python@v5
5858
with:
59-
python-version: '3.9'
59+
python-version: '3.11'
6060
cache: 'pip' # caching pip dependencies
6161

6262
- name: Setup NVidia GPU environment for KinD

.github/workflows/guided_notebook_tests.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up specific Python version
5050
uses: actions/setup-python@v5
5151
with:
52-
python-version: '3.9'
52+
python-version: '3.11'
5353
cache: 'pip' # caching pip dependencies
5454

5555
- name: Setup and start KinD cluster
@@ -160,7 +160,7 @@ jobs:
160160
- name: Set up specific Python version
161161
uses: actions/setup-python@v5
162162
with:
163-
python-version: '3.9'
163+
python-version: '3.11'
164164
cache: 'pip' # caching pip dependencies
165165

166166
- name: Setup NVidia GPU environment for KinD
@@ -282,7 +282,7 @@ jobs:
282282
- name: Set up specific Python version
283283
uses: actions/setup-python@v5
284284
with:
285-
python-version: '3.9'
285+
python-version: '3.11'
286286
cache: 'pip' # caching pip dependencies
287287

288288
- name: Setup NVidia GPU environment for KinD

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
default: 'project-codeflare'
1818
python_version:
1919
type: string
20-
default: "3.8"
20+
default: "3.11"
2121
required: true
2222
poetry_version:
2323
type: string

.github/workflows/ui_notebooks_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up specific Python version
5050
uses: actions/setup-python@v5
5151
with:
52-
python-version: "3.9"
52+
python-version: "3.11"
5353
cache: "pip" # caching pip dependencies
5454

5555
- name: Setup and start KinD cluster

.github/workflows/unit-tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
unit-tests:
1111

1212
runs-on: ubuntu-latest
13-
container:
14-
image: quay.io/project-codeflare/codeflare-sdk-precommit:v0.0.3
1513
steps:
1614
- uses: actions/checkout@v4
15+
16+
- name: Set up python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
1720
- name: Install poetry
1821
run: pip install poetry
19-
- uses: actions/setup-python@v5
20-
with:
21-
python-version: '3.8'
22-
- name: Install dependencies
22+
- name: Install dependencies with poetry
2323
run: |
2424
poetry config virtualenvs.create false
2525
poetry lock --no-update

0 commit comments

Comments
 (0)