Skip to content

Commit fcad907

Browse files
committed
update
1 parent 0b3db63 commit fcad907

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

.github/workflows/build-wheels-linux.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,8 @@ jobs:
9393
echo "NP_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
9494
elif [ "$MB_PYTHON_VERSION" == '3.7' ]; then
9595
echo "NP_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
96-
elif [ "$MB_PYTHON_VERSION" == '3.8' ]; then
97-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
98-
elif [ "$MB_PYTHON_VERSION" == '3.9' ]; then
99-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
100-
elif [ "$MB_PYTHON_VERSION" == '3.10' ]; then
101-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
10296
else
103-
echo "None of the defined python version, use default"
97+
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
10498
fi
10599
106100
- name: Print some Environment variable

.github/workflows/build-wheels-macosx.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,8 @@ jobs:
6565
echo "NP_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
6666
elif [ "$MB_PYTHON_VERSION" == '3.7' ]; then
6767
echo "NP_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
68-
elif [ "$MB_PYTHON_VERSION" == '3.8' ]; then
69-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
70-
elif [ "$MB_PYTHON_VERSION" == '3.9' ]; then
71-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
72-
elif [ "$MB_PYTHON_VERSION" == '3.10' ]; then
73-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
7468
else
75-
echo "None of the defined python version, use default"
69+
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
7670
fi
7771
7872
- name: Print some Environment variable

.github/workflows/build-wheels-macosx2.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ jobs:
6565
echo "NP_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
6666
elif [ "$MB_PYTHON_VERSION" == '3.7' ]; then
6767
echo "NP_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
68-
elif [ "$MB_PYTHON_VERSION" == '3.8' ]; then
69-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
70-
elif [ "$MB_PYTHON_VERSION" == '3.9' ]; then
71-
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
72-
elif [ "$MB_PYTHON_VERSION" == '3.10' ]; then
68+
else [ "$MB_PYTHON_VERSION" == '3.8' ]; then
7369
echo "NP_DEP=$(echo oldest-supported-numpy)" >> $GITHUB_ENV;
7470
else
7571
echo "None of the defined python version, use default"

0 commit comments

Comments
 (0)