Skip to content

Commit 2dfb2f6

Browse files
committed
Do not install 3.11 explicitly
1 parent 615dae2 commit 2dfb2f6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ runs:
8282
printf -v VERSIONS '%s\n%s' "$(python3 --version | awk '{ print $2 }')" $PYTHON_VERSION
8383
if [[ "$VERSIONS" = "$(sort -V <<< "$VERSIONS")" ]]; then
8484
echo "Minimum Python version required is $PYTHON_VERSION"
85+
python --version
8586
exit 1
8687
fi
8788
shell: bash
@@ -100,10 +101,7 @@ runs:
100101
mkdir /opt/renode && tar xzf renode-${RENODE_VERSION}.linux-portable-dotnet.tar.gz --strip-components=1 -C /opt/renode && \
101102
rm renode-${RENODE_VERSION}.linux-portable-dotnet.tar.gz && \
102103
echo "PATH=$PATH:/opt/renode" >> "$GITHUB_ENV" && \
103-
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends software-properties-common && \
104-
sudo add-apt-repository ppa:deadsnakes/ppa && \
105-
sudo apt update && \
106-
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3.11-venv python3.11-dev && \
104+
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3-venv && \
107105
sudo pip3 install -r requirements.txt
108106
shell: bash
109107
env:

0 commit comments

Comments
 (0)