Skip to content

Commit 7a633e3

Browse files
authored
Merge pull request #7403 from radarhere/numpy
2 parents aedf81d + bf046df commit 7a633e3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.ci/install.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ $(uname) != CYGWIN* ]]; then
2323
sudo apt-get -qq install libfreetype6-dev liblcms2-dev python3-tk\
2424
ghostscript libffi-dev libjpeg-turbo-progs libopenjp2-7-dev\
2525
cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
26-
sway wl-clipboard
26+
sway wl-clipboard libopenblas-dev
2727
fi
2828

2929
python3 -m pip install --upgrade pip
@@ -38,8 +38,7 @@ python3 -m pip install -U pytest-timeout
3838
python3 -m pip install pyroma
3939

4040
if [[ $(uname) != CYGWIN* ]]; then
41-
# TODO Remove condition when NumPy supports 3.12
42-
if ! [ "$GHA_PYTHON_VERSION" == "3.12-dev" ]; then python3 -m pip install numpy ; fi
41+
python3 -m pip install numpy
4342

4443
# PyQt6 doesn't support PyPy3
4544
if [[ $GHA_PYTHON_VERSION == 3.* ]]; then

.github/workflows/macos-install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
set -e
44

55
brew install libtiff libjpeg openjpeg libimagequant webp little-cms2 freetype libraqm
6+
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
67

78
PYTHONOPTIMIZE=0 python3 -m pip install cffi
89
python3 -m pip install coverage
@@ -13,8 +14,7 @@ python3 -m pip install -U pytest-cov
1314
python3 -m pip install -U pytest-timeout
1415
python3 -m pip install pyroma
1516

16-
# TODO Remove condition when NumPy supports 3.12
17-
if ! [ "$GHA_PYTHON_VERSION" == "3.12-dev" ]; then python3 -m pip install numpy ; fi
17+
python3 -m pip install numpy
1818

1919
# extra test images
2020
pushd depends && ./install_extra_test_images.sh && popd

.github/workflows/test-cygwin.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ jobs:
102102
run: |
103103
bash.exe .ci/install.sh
104104
105-
- name: Install latest NumPy
105+
- name: Upgrade NumPy
106106
shell: dash.exe -l "{0}"
107107
run: |
108-
python3 -m pip install -U numpy
108+
python3 -m pip install -U "numpy<1.26"
109109
110110
- name: Build
111111
shell: bash.exe -eo pipefail -o igncr "{0}"

0 commit comments

Comments
 (0)