Skip to content

Commit d33f1f1

Browse files
merge conflicts
2 parents c66868d + d3151ba commit d33f1f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2250
-95
lines changed

Diff for: .github/workflows/nompi4py.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
auto-activate-base: false
2525
- name: Install dependencies
2626
run: |
27-
pip install pyomo sphinx sphinx_rtd_theme cplex
28-
pip install xpress numpy pandas scipy dill
27+
pip install sphinx sphinx_rtd_theme cplex
28+
pip install xpress pandas dill
2929
3030
- name: setup the program
3131
run: |
32-
python setup.py develop
32+
pip install -e .
3333
3434
- name: PH EF tests
3535
run: |

Diff for: .github/workflows/pull_push_regression.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: setup the program
3737
run: |
38-
python setup.py develop
38+
pip install -e .
3939
4040
- name: Test EF/PH
4141
run: |

Diff for: .github/workflows/pyotracker.yml

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
conda install mpi4py pandas setuptools git
3131
pip install sphinx sphinx_rtd_theme cplex
3232
pip install xpress
33-
pip install numpy
3433
pip install matplotlib
3534
3635
- name: set up pyomo

Diff for: .github/workflows/schur_complement.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install numpy scipy nose pybind11
28+
pip install nose pybind11
2929
conda install openmpi pymumps --no-update-deps
3030
pip install mpi4py pandas
3131
pip install git+https://github.com/pyutilib/pyutilib.git
3232
git clone https://github.com/pyomo/pyomo.git
3333
cd pyomo/
34-
python setup.py develop
34+
pip install -e .
3535
pyomo download-extensions
3636
pyomo build-extensions
3737
cd ../
3838
pip install git+https://github.com/parapint/parapint.git
39-
python setup.py develop
39+
pip install -e .
4040
- name: Test with nose
4141
run: |
4242
nosetests -v mpisppy/tests/test_sc.py

Diff for: .github/workflows/straight.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: setup the program
3333
run: |
34-
python setup.py develop
34+
pip install -e .
3535
3636
- name: mpi tests
3737
run: |

Diff for: .github/workflows/testadmmWrapper.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# aph (pyomo released)
2+
3+
name: admmWrapper tests
4+
5+
on:
6+
push:
7+
branches: [ main ]
8+
pull_request:
9+
branches: [ main ]
10+
11+
defaults:
12+
run:
13+
shell: bash -l {0}
14+
15+
jobs:
16+
build:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- uses: conda-incubator/setup-miniconda@v2
23+
with:
24+
activate-environment: test_env
25+
python-version: 3.9
26+
auto-activate-base: false
27+
- name: Install dependencies
28+
run: |
29+
conda install mpi4py pandas setuptools
30+
pip install pyomo xpress cplex
31+
pip install numpy
32+
33+
- name: setup the program
34+
run: |
35+
pip install -e .
36+
37+
- name: run tests
38+
timeout-minutes: 100
39+
run: |
40+
cd mpisppy/tests
41+
# envall does nothing
42+
python test_admmWrapper.py

Diff for: .github/workflows/testagnostic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: setup the program
3737
run: |
38-
python setup.py develop
38+
pip install -e .
3939
4040
- name: run tests
4141
timeout-minutes: 100

Diff for: .github/workflows/testaph.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ jobs:
2828
run: |
2929
conda install mpi4py pandas setuptools
3030
pip install pyomo xpress cplex
31-
pip install numpy
3231
3332
- name: setup the program
3433
run: |
35-
python setup.py develop
34+
pip install -e .
3635
3736
- name: run tests
3837
timeout-minutes: 100

Diff for: .github/workflows/testbunpick.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
auto-activate-base: false
2727
- name: Install dependencies
2828
run: |
29-
conda install mpi4py numpy setuptools
29+
conda install mpi4py "numpy<2" setuptools
3030
pip install pyomo pandas xpress cplex scipy sympy dill PyYAML Pympler networkx pandas
3131
3232
- name: setup the program
3333
run: |
34-
python setup.py develop
34+
pip install -e .
3535
3636
- name: run pickled bundles tests
3737
timeout-minutes: 10

Diff for: .github/workflows/testconfint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
auto-activate-base: false
2727
- name: Install dependencies
2828
run: |
29-
conda install mpi4py numpy setuptools
29+
conda install mpi4py "numpy<2" setuptools
3030
pip install pyomo pandas xpress cplex scipy sympy dill
3131
3232
- name: setup the program
3333
run: |
34-
python setup.py develop
34+
pip install -e .
3535
3636
- name: run farmer tests
3737
timeout-minutes: 10
@@ -43,4 +43,4 @@ jobs:
4343
timeout-minutes: 10
4444
run: |
4545
cd mpisppy/tests
46-
python test_conf_int_aircond.py
46+
python test_conf_int_aircond.py

Diff for: .github/workflows/testgradient.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
auto-activate-base: false
2525
- name: Install dependencies
2626
run: |
27-
conda install mpi4py numpy setuptools cmake
27+
conda install mpi4py "numpy<2" setuptools cmake
2828
pip install pyomo pandas xpress cplex scipy sympy dill
2929
3030
- name: setup the program
3131
run: |
32-
python setup.py develop
32+
pip install -e .
3333
3434
- name: Build Pyomo extensions
3535
run: |

Diff for: .github/workflows/testpysp.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ jobs:
2929
run: |
3030
conda install mpi4py pandas setuptools pytest pyyaml networkx
3131
pip install pyomo xpress cplex
32-
pip install numpy
3332
3433
- name: setup the program
3534
run: |
36-
python setup.py develop
35+
pip install -e .
3736
3837
- name: run pysp model tests
3938
timeout-minutes: 100

Diff for: .github/workflows/testwithcylinders.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
auto-activate-base: false
2727
- name: Install dependencies
2828
run: |
29-
conda install mpi4py numpy setuptools
29+
conda install mpi4py "numpy<2" setuptools
3030
pip install pyomo pandas xpress cplex scipy
3131
3232
- name: setup the program
3333
run: |
34-
python setup.py develop
34+
pip install -e .
3535
3636
- name: run tests
3737
timeout-minutes: 10

Diff for: README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ a there is a `paper <https://link.springer.com/article/10.1007/s12532-023-00247-
99
Status for internal tests
1010
^^^^^^^^^^^^^^^^^^^^^^^^^
1111

12-
.. image:: https://github.com/Pyomo/mpi-sppy/workflows/pyomo%20tracker/badge.svg
12+
.. image:: https://github.com/Pyomo/mpi-sppy/workflows/pyotracker/badge.svg
1313
:target: https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml
1414

1515

0 commit comments

Comments
 (0)