Skip to content

Commit fdfaff0

Browse files
a-willHU90m
authored andcommitted
[ci] Use Python 3.9 in CI for newer fusesoc
Signed-off-by: Alexander Williams <[email protected]>
1 parent c28d219 commit fdfaff0

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
@@ -40,11 +40,11 @@ ninja-build
4040
openssl
4141
perl
4242
pkgconf
43-
python3
4443
python3-pip
4544
python3-setuptools
4645
python3-urllib3
4746
python3-wheel
47+
python3.9-full
4848
srecord
4949
tree
5050
xsltproc

ci/install-package-dependencies.sh

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

84-
python3 -m pip install --user -r python-requirements.txt --require-hashes
84+
python3.9 -m venv $HOME/ot-python
85+
source $HOME/ot-python/bin/activate
86+
python3 -m pip install -r python-requirements.txt --require-hashes
8587

8688
# Install Verible
8789
lsb_sr="$(lsb_release -sr)"

0 commit comments

Comments
 (0)