Skip to content

Commit

Permalink
use requirements-build.txt for exact python package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Jun 28, 2024
1 parent 3be8c4d commit cf4e709
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,14 @@ jobs:
- name: Get idaes extensions
run: idaes get-extensions

# - name: Install Pareto locally
# working-directory: ../
# run: git clone https://github.com/MichaelPesce/project-pareto.git && cd project-pareto && pip install --progress-bar off .

- name: Install correct tag of pareto
working-directory: ../
run: git clone https://github.com/project-pareto/project-pareto.git && cd project-pareto && git fetch --all --tags && git checkout tags/1.0.0rc1 -b 1.0.0rc1 && pip install --progress-bar off .

- name: Install numpy 1.24.3
- name: Install build requirements
working-directory: ./backend
run: |
pip uninstall -y numpy && pip install numpy==1.24.3
pip install -r requirements-build.txt
- name: Build Backend
run: npm --prefix electron run build-backend
Expand Down

0 comments on commit cf4e709

Please sign in to comment.