From 1ec670a80dc10216fc269445f0e31ca67ab02dc4 Mon Sep 17 00:00:00 2001 From: darrylong Date: Tue, 25 Jun 2024 22:49:49 +0800 Subject: [PATCH] Attempt installation of pinned bumpy scipy versions --- .github/workflows/python-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 365e767a..ee18c589 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -67,10 +67,11 @@ jobs: - name: Install pinned dependencies - numpy ${{ matrix.versions.numpy }}, scipy ${{ matrix.versions.scipy }} run: | + python${{ matrix.versions.python }} -m pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }} + python${{ matrix.versions.python }} setup.py build_ext -j${{ steps.cpu-cores.outputs.count }} python${{ matrix.versions.python }} -m pip install -e .[tests] python${{ matrix.versions.python }} -m pip uninstall numpy scipy python${{ matrix.versions.python }} -m pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }} - python${{ matrix.versions.python }} setup.py build_ext -j${{ steps.cpu-cores.outputs.count }} - name: Display numpy version run: python${{ matrix.versions.python }} -c "import numpy; print(numpy.__version__)"