Skip to content

Commit cb4dc62

Browse files
Dobiasdclaude
andcommitted
Add --ignore-installed to CI pip install
Some apt-shipped Python packages on the ubuntu-24.04 runner (e.g. python3-typing-extensions) lack RECORD files, so pip refuses to uninstall them when a newer version is needed. Tell pip to overlay the requested versions without uninstalling, mirroring how other CI runners on PEP 668 systems handle this. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f5ae0ab commit cb4dc62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# system libs
1313
sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran
1414
# python libs
15-
sudo pip3 install --break-system-packages numpy scipy h5py "tensorflow==2.21.0" "keras==3.14.0"
15+
sudo pip3 install --break-system-packages --ignore-installed numpy scipy h5py "tensorflow==2.21.0" "keras==3.14.0"
1616
echo "Python version:"
1717
python3 --version
1818
echo "Version numbers of TensorFlow and Keras:"

0 commit comments

Comments
 (0)