We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f13b0c2 commit 7da1269Copy full SHA for 7da1269
config.sh
@@ -12,9 +12,9 @@ function pre_build {
12
# It will be for macOS builds that see the env vars
13
# from the travis config.
14
if [ -z "$NP_BUILD_DEP" ]; then return; fi
15
- local np_ver=$(echo $NP_BUILD_DEP | sed -r 's/^numpy[=<>! ]+([0-9.]+)/\1/')
+ local np_ver=$(echo $NP_BUILD_DEP | sed -E 's/^numpy[=<>! ]+([0-9.]+)/\1/')
16
if ! [[ $np_ver =~ ^[0-9.]+$ ]]; then
17
- echo "Could not parse NP_BUILD_DEP $NP_BUILD_DEP"
+ echo "Could not parse NP_BUILD_DEP=$NP_BUILD_DEP"
18
exit 1
19
fi
20
# Problem only arises for Numpy >= 1.20
0 commit comments