Skip to content

Commit

Permalink
Try some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Oct 6, 2023
1 parent 79a8d58 commit a0b7de7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ jobs:
echo "------- Install Dependencies--------"
pip install wheel
pip install ${NP_BUILD_DEP} ${CYTHON_DEP} ${SCIPY_DEP}
cd ${REPO_DIR}
pip install -r dev-requirements.txt
echo "------- Checkout BUILD_COMMIT --------"
cd ${REPO_DIR}
git submodule update --init
git fetch --tags
git show-ref
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,21 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install libhdf5
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get install pkg-config libhdf5-103 libhdf5-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Pin Numpy and Scipy version
run: |
if [ "$MB_PYTHON_VERSION" == '3.8' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
echo "NP_BUILD_DEP=$(echo numpy==1.22.2)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.22.2)" >> $GITHUB_ENV;
elif [ "$MB_PYTHON_VERSION" == '3.9' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.19.4)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.19.4)" >> $GITHUB_ENV;
echo "NP_BUILD_DEP=$(echo numpy==1.22.2)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.22.2)" >> $GITHUB_ENV;
elif [ "$MB_PYTHON_VERSION" == '3.10' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.21.3)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.21.3)" >> $GITHUB_ENV;
echo "NP_BUILD_DEP=$(echo numpy==1.22.2)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.22.2)" >> $GITHUB_ENV;
elif [ "$PYTHON_VERSION" == '3.11' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.23.2)" >> $GITHUB_ENV
echo "NP_TEST_DEP=$(echo numpy==1.23.2)" >> $GITHUB_ENV
Expand Down

0 comments on commit a0b7de7

Please sign in to comment.