Skip to content

Commit 9e43159

Browse files
partheavchudnov-g
andauthored
chore: Update Python version in main.yaml action (#13473)
The Github action in [main.yaml](https://github.com/googleapis/google-cloud-python/blob/main/.github/workflows/main.yml) has been failing with the following error: ``` The version '3.10.0' with architecture 'x64' was not found for Ubuntu 24.04. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json ``` It's not necessary to specify the specific patch version of Python 3.10 that is required, for example `3.10.0`, instead of `3.10`. The latest version of `3.10` should work. https://github.com/googleapis/google-cloud-python/blob/f699e5fd6a6618526da1b2cb3e90bf95314f89a5/.github/workflows/main.yml#L45-L48 Co-authored-by: Victor Chudnovsky <[email protected]>
1 parent d2df42f commit 9e43159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Python 3.10
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: 3.10.0
48+
python-version: "3.10"
4949
- name: Install script dependencies
5050
run: pip3 install -r requirements.txt
5151
working-directory: ./scripts

0 commit comments

Comments
 (0)