From db345818400a89bc8e101d85e965341c0aff0f40 Mon Sep 17 00:00:00 2001 From: darrylong Date: Tue, 25 Jun 2024 17:34:30 +0800 Subject: [PATCH] Reordered numpy scipy installation step --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d278687e..f059688e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -61,9 +61,6 @@ jobs: - name: Upgrade pip wheel setuptools run: python${{ matrix.versions.python }} -m pip install wheel setuptools pip --upgrade - - - name: Install numpy ${{ matrix.versions.numpy }}, scipy ${{ matrix.versions.scipy }} - run: pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }} - name: Install other dependencies run: | @@ -71,6 +68,9 @@ jobs: python${{ matrix.versions.python }} setup.py build_ext -j${{ steps.cpu-cores.outputs.count }} pip install -e .[tests] + - name: Install numpy ${{ matrix.versions.numpy }}, scipy ${{ matrix.versions.scipy }} + run: pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }} + - name: Display numpy version run: python${{ matrix.versions.python }} -c "import numpy; print(numpy.__version__)"