Skip to content

Commit 618575c

Browse files
authored
Fix broken build: require updated pip to support --break-system-packages (#15357)
* Revert "devops : fix compile bug when the BASE_CUDA_DEV_CONTAINER is based on Ubuntu 24.04 (#15005)" This reverts commit e4e9159. * devops: Allow pip to modify externally-managed python environment (system installation) - Updated pip install commands to include the --break-system-packages flag, ensuring compatibility when working with system-managed Python environments (PEP 668). - Note: The --break-system-packages option was introduced in 2023. Ensure pip is updated to a recent version before using this flag. fixes [#15004](https://github.com/danchev/llama.cpp/issues/15004)
1 parent f44f793 commit 618575c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.devops/cuda.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ RUN apt-get update \
6060
git \
6161
python3 \
6262
python3-pip \
63+
&& pip install --upgrade pip setuptools wheel \
6364
&& pip install --break-system-packages -r requirements.txt \
6465
&& apt autoremove -y \
6566
&& apt clean -y \

0 commit comments

Comments
 (0)