Skip to content

Commit f3a9268

Browse files
NOJIRA: Fix python version handling (SiliconLabsSoftware#573)
1 parent 1043cbc commit f3a9268

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/sqa-tools-builder.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,20 @@ jobs:
121121
with:
122122
submodules: false
123123

124+
- name: Set up Python 3.11
125+
uses: actions/setup-python@v5
126+
with:
127+
python-version: '3.11'
128+
124129
- name: Install base dependencies
125130
shell: bash
126131
run: |
127132
sudo apt-get update -y
128133
sudo apt-get install -y --no-install-recommends \
129134
software-properties-common \
130-
python3.11 python3.11-distutils python3.11-venv python3.11-dev \
131135
libgirepository-1.0-1 libgirepository1.0-dev \
132136
libglib2.0-dev libglib2.0-dev-bin \
133137
libevent-dev
134-
135-
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2
136-
sudo update-alternatives --set python3 /usr/bin/python3.11
137-
curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3.11 -
138-
sudo python3.11 -m pip install --upgrade pip setuptools wheel pip-tools
139138
140139
- name: Mark repository as safe for Git
141140
shell: bash

0 commit comments

Comments
 (0)