summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2022-10-02 14:45:57 +0200
committerGitHub <noreply@github.com>2022-10-02 14:45:57 +0200
commit9dfc0a2f5ceb97670919b2b27974bb9856b606f3 (patch)
treef89659de674f277fbca6d95ba3d6cab66946dea3 /.github/workflows
parent78769cda50fda1f4cb9f3ae9cef8d99820d910d8 (diff)
Rejbasket/scipy fix (#1842)
* updates to workflow and requirements * Update requirements.txt removed pip flags causing build to fail Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b9663c4b..778bd3aa 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,9 +26,9 @@ jobs:
id: pip-cache
with:
path: ~/.cache/pip
- key: ${{ runner.os }}-18.04-pip-${{ hashFiles('**/requirements.txt') }}
+ key: ${{ runner.os }}-20.04-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
- ${{ runner.os }}-18.04-pip-
+ ${{ runner.os }}-20.04-pip-
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@@ -52,13 +52,13 @@ jobs:
sudo apt-get install gettext
# for wxPython
- sudo apt install glib-networking libsdl1.2-dev
+ sudo apt install glib-networking libsdl1.2-dev libsdl2-2.0-0
# for PyGObject
sudo apt install libgirepository1.0-dev libcairo2-dev
# for shapely
- sudo apt install libgeos-dev build-essential libgtk-3-dev
+ sudo apt install build-essential libgtk-3-dev
uname -a
python --version
@@ -78,7 +78,7 @@ jobs:
# scipy gives us a ELF error when stripped
sudo apt-get install gcc g++ gfortran python3-dev libopenblas-dev liblapack-dev
python -m pip uninstall --yes scipy
- python -m pip install scipy --no-binary scipy
+ python -m pip install scipy==1.9.0 --no-binary scipy
echo "${{ env.pythonLocation }}\bin" >> $GITHUB_PATH
- shell: bash