@@ -130,25 +130,36 @@ jobs:
130
130
name : Install build wheel
131
131
with :
132
132
arch : ${{ matrix.target }}
133
- distro : ubuntu20 .04
133
+ distro : ubuntu22 .04
134
134
githubToken : ${{ github.token }}
135
135
# Mount the dist directory as /artifacts in the container
136
136
dockerRunArgs : |
137
137
--volume "${PWD}/dist:/artifacts"
138
138
install : |
139
139
apt update -y
140
- apt install -y gcc musl-dev python3-dev # this is needed for psutil
140
+ apt install -y gcc musl-dev python3-dev
141
141
apt install -y --no-install-recommends software-properties-common
142
142
add-apt-repository ppa:deadsnakes/ppa
143
143
apt update -y
144
144
PYTHON=python${{ matrix.python.version }}
145
- apt install -y $PYTHON $PYTHON-distutils $PYTHON-venv
145
+ if [ "${{ matrix.python.version }}" = "3.12" ]; then
146
+ apt install -y $PYTHON python-setuptools python3-venv
147
+ else
148
+ apt install -y $PYTHON $PYTHON-distutils python-setuptools python3-venv
149
+ fi
146
150
run : |
147
151
ls -lrth /artifacts
148
152
PYTHON=python${{ matrix.python.version }}
149
153
$PYTHON --version
150
- $PYTHON -m venv venv
151
- source venv/bin/activate
154
+ if [ "${{ matrix.python.version }}" = "3.12" ]; then
155
+ $PYTHON -m venv venv --without-pip
156
+ source venv/bin/activate
157
+ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
158
+ $PYTHON get-pip.py
159
+ else
160
+ $PYTHON -m venv venv
161
+ source venv/bin/activate
162
+ fi
152
163
pip install --upgrade pip setuptools wheel
153
164
pip install --force-reinstall dist/robyn*.whl
154
165
cd ~ && python -c 'import robyn'
0 commit comments