Skip to content

Commit d78a151

Browse files
authored
Fix import error in GHA tests (#557)
1 parent 4af18ff commit d78a151

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test_pr_and_main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
run: |
245245
conda install mpi4py pandas setuptools
246246
pip install pyomo xpress cplex
247-
pip install numpy
247+
pip install numpy packaging
248248
249249
- name: setup the program
250250
run: |
@@ -301,7 +301,7 @@ jobs:
301301
- name: Install dependencies
302302
run: |
303303
conda install mpi4py "numpy<2" setuptools
304-
pip install pyomo pandas xpress cplex scipy sympy dill PyYAML Pympler networkx pandas
304+
pip install pyomo pandas xpress cplex scipy sympy dill PyYAML Pympler networkx pandas packaging
305305
306306
- name: setup the program
307307
run: |
@@ -357,7 +357,7 @@ jobs:
357357
- name: Install dependencies
358358
run: |
359359
conda install mpi4py "numpy<2" setuptools
360-
pip install pyomo pandas xpress cplex scipy sympy dill
360+
pip install pyomo pandas xpress cplex scipy sympy dill packaging
361361
362362
- name: setup the program
363363
run: |
@@ -423,7 +423,7 @@ jobs:
423423
run: |
424424
conda install conda-forge::libstdcxx-ng
425425
conda install mpi4py "numpy<2" setuptools cmake
426-
pip install pyomo pandas xpress cplex scipy sympy dill
426+
pip install pyomo pandas xpress cplex scipy sympy dill packaging
427427
428428
- name: setup the program
429429
run: |
@@ -516,7 +516,7 @@ jobs:
516516
- name: Install dependencies
517517
run: |
518518
conda install mpi4py "numpy<2" setuptools
519-
pip install pyomo pandas xpress cplex scipy
519+
pip install pyomo pandas xpress cplex scipy packaging
520520
521521
- name: setup the program
522522
run: |
@@ -544,7 +544,7 @@ jobs:
544544
run: |
545545
conda install mpi4py pandas setuptools
546546
pip install pyomo xpress cplex
547-
pip install numpy
547+
pip install numpy packaging
548548
python -m pip install amplpy --upgrade
549549
python -m amplpy.modules install highs cbc gurobi
550550
python -m pip install gamspy

0 commit comments

Comments
 (0)