fix: install python3-yaml via apt to satisfy PEP 668
This commit is contained in:
parent
67659128c0
commit
5fbb7f9378
|
|
@ -14,9 +14,8 @@ jobs:
|
||||||
- name: Install Toolchain (Python, Node)
|
- name: Install Toolchain (Python, Node)
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
# Install pip via bootstrap
|
# Install PyYAML via apt (avoiding PEP 668)
|
||||||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
|
apt-get update && apt-get install -y --no-install-recommends python3-yaml
|
||||||
python3 -m pip install PyYAML
|
|
||||||
# Install Node 18 via binary
|
# Install Node 18 via binary
|
||||||
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
|
|
@ -38,9 +37,8 @@ jobs:
|
||||||
- name: Install Toolchain (Python, Node)
|
- name: Install Toolchain (Python, Node)
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
# Install pip via bootstrap
|
# Install PyYAML via apt (avoiding PEP 668)
|
||||||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
|
apt-get update && apt-get install -y --no-install-recommends python3-yaml
|
||||||
python3 -m pip install PyYAML
|
|
||||||
# Install Node 18 via binary
|
# Install Node 18 via binary
|
||||||
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue