Skip to content

Commit 8b08559

Browse files
malfetpytorchmergebot
authored andcommitted
Move more workflows to 3.9 (pytorch#139145)
Specifically mergebot and others should be using 3.9 now Pull Request resolved: pytorch#139145 Approved by: https://github.com/kit1980, https://github.com/Skylion007, https://github.com/huydhn
1 parent 38645e8 commit 8b08559

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

.github/workflows/_buck-build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Setup miniconda
6161
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
6262
with:
63-
python-version: 3.8
63+
python-version: 3.9
6464
environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }}
6565

6666
- name: Install Buck

.github/workflows/_mac-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ on:
3030
python-version:
3131
required: false
3232
type: string
33-
default: "3.8"
33+
default: "3.9"
3434
description: |
35-
The python version to be used. Will be 3.8 by default
35+
The python version to be used. Will be 3.9 by default
3636
environment-file:
3737
required: false
3838
type: string

.github/workflows/_mac-test-mps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ on:
1717
python-version:
1818
required: false
1919
type: string
20-
default: "3.8"
20+
default: "3.9"
2121
description: |
22-
The python version to be used. Will be 3.8 by default
22+
The python version to be used. Will be 3.9 by default
2323
test-matrix:
2424
required: true
2525
type: string

.github/workflows/_mac-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ on:
2121
python-version:
2222
required: false
2323
type: string
24-
default: "3.8"
24+
default: "3.9"
2525
description: |
26-
The python version to be used. Will be 3.8 by default
26+
The python version to be used. Will be 3.9 by default
2727
timeout-minutes:
2828
required: false
2929
type: number

.github/workflows/_run_android_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Setup miniconda
6565
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
6666
with:
67-
python-version: 3.8
67+
python-version: 3.9
6868
environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }}.txt
6969

7070
- name: Install NDK

.github/workflows/_win-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
BUILD_WHEEL: 1
147147
MAX_JOBS: 8
148148
CUDA_VERSION: ${{ inputs.cuda-version }}
149-
PYTHON_VERSION: "3.8"
149+
PYTHON_VERSION: "3.9"
150150
SCCACHE_BUCKET: "ossci-compiler-cache"
151151
SCCACHE_S3_KEY_PREFIX: ${{ github.workflow }}
152152
SCCACHE_REGION: us-east-1

.github/workflows/_win-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
env:
156156
USE_CUDA: ${{ inputs.cuda-version != 'cpu' && '1' || '0' }}
157157
INSTALL_WINDOWS_SDK: 1
158-
PYTHON_VERSION: 3.8
158+
PYTHON_VERSION: 3.9
159159
CONTINUE_THROUGH_ERROR: ${{ steps.keep-going.outputs.keep-going }}
160160
VERBOSE_TEST_LOGS: ${{ steps.keep-going.outputs.ci-verbose-test-logs }}
161161
TEST_SHOWLOCALS: ${{ steps.keep-going.outputs.ci-test-showlocals }}

.github/workflows/check-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Python
4747
uses: actions/setup-python@v4
4848
with:
49-
python-version: '3.8'
49+
python-version: '3.9'
5050
architecture: x64
5151
check-latest: false
5252
cache: pip

.github/workflows/check_mergeability_ghstack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Python
5353
uses: actions/setup-python@v4
5454
with:
55-
python-version: '3.8'
55+
python-version: '3.9'
5656
cache: pip
5757
architecture: x64
5858

@@ -83,4 +83,4 @@ jobs:
8383
8484
concurrency:
8585
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
86-
cancel-in-progress: true
86+
cancel-in-progress: true

.github/workflows/revert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Python
2323
uses: actions/setup-python@v4
2424
with:
25-
python-version: '3.8'
25+
python-version: '3.9'
2626
architecture: x64
2727
check-latest: false
2828
cache: pip

0 commit comments

Comments
 (0)