Skip to content

Commit afb252a

Browse files
Dobiasdclaude
andcommitted
Add --break-system-packages to CI pip installs
Ubuntu 24.04 ships a PEP 668 externally-managed Python where system-wide pip installs are blocked unless the flag is set, even from a sudo shell. Required after the runner bump. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d2e8b03 commit afb252a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
# system libs
1313
sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran
1414
# python libs
15-
sudo pip3 install --upgrade pip
16-
sudo pip3 install numpy scipy h5py "tensorflow==2.21.0" "keras==3.14.0"
15+
sudo pip3 install --break-system-packages --upgrade pip
16+
sudo pip3 install --break-system-packages numpy scipy h5py "tensorflow==2.21.0" "keras==3.14.0"
1717
echo "Python version:"
1818
python3 --version
1919
echo "Version numbers of TensorFlow and Keras:"

0 commit comments

Comments
 (0)