Skip to content

Commit b2b9aab

Browse files
committed
[ci] Use Python 3.9 in CI for newer fusesoc
Signed-off-by: Alexander Williams <[email protected]>
1 parent edd7b24 commit b2b9aab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apt-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ ninja-build
4141
openssl
4242
perl
4343
pkgconf
44-
python3
4544
python3-pip
4645
python3-setuptools
4746
python3-urllib3
4847
python3-wheel
48+
python3.9-full
4949
srecord
5050
tree
5151
xsltproc

ci/install-package-dependencies.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ xargs sudo $APT_CMD install -y <"$ci_reqs"
9090
# appropriate bin directory to the PATH
9191
export PATH=$HOME/.local/bin:$PATH
9292

93-
python3 -m pip install --user -r python-requirements.txt --require-hashes
93+
python3.9 -m venv $HOME/ot-python
94+
source $HOME/ot-python/bin/activate
95+
python3 -m pip install -r python-requirements.txt --require-hashes
9496

9597
# Install Verible
9698
lsb_sr="$(lsb_release -sr)"

0 commit comments

Comments
 (0)