Skip to content

Commit 7ebdbab

Browse files
committed
Merge branch 'main' of https://github.com/Pyomo/pyomo into xpress-fix-nonconvex-miqcp
2 parents 0a1e064 + 34f07c4 commit 7ebdbab

Some content is hidden

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

80 files changed

+8332
-1920
lines changed

.coin-or/projDesc.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Carl D. Laird, Chair, Pyomo Management Committee, claird at andrew dot cmu dot e
107107
license file directly.
108108
-->
109109
<projectLicenseURL>
110-
https://github.com/Pyomo/pyomo/blob/main/LICENSE.txt
110+
https://github.com/Pyomo/pyomo/blob/main/LICENSE.md
111111
</projectLicenseURL>
112112

113113
<!-- Below, you can list other COIN projects your project -->
@@ -227,8 +227,8 @@ Carl D. Laird, Chair, Pyomo Management Committee, claird at andrew dot cmu dot e
227227
Use explicit overrides to disable use of automated
228228
version reporting.
229229
-->
230-
<stableVersionNumber>6.4.2</stableVersionNumber>
231-
<releaseNumber>6.4.2</releaseNumber>
230+
<stableVersionNumber>6.4.3</stableVersionNumber>
231+
<releaseNumber>6.4.3</releaseNumber>
232232

233233
</developmentStatus>
234234

.github/workflows/release_wheel_creation.yml

+13-52
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,26 @@ on:
1010
description: Git Hash (Optional)
1111
required: false
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1317
env:
1418
PYOMO_SETUP_ARGS: --with-distributable-extensions
1519

1620
jobs:
1721
manylinux:
18-
name: ${{ matrix.TARGET }}/wheel_creation
22+
name: ${{ matrix.TARGET }}/${{ matrix.wheel-version }}_wheel_creation
1923
runs-on: ${{ matrix.os }}
2024
strategy:
2125
fail-fast: false
2226
matrix:
27+
wheel-version: ['cp37-cp37m', 'cp38-cp38', 'cp39-cp39', 'cp310-cp310', 'cp311-cp311']
2328
os: [ubuntu-latest]
2429
include:
2530
- os: ubuntu-latest
2631
TARGET: manylinux
27-
python-version: [3.7]
32+
python-version: [3.8]
2833
steps:
2934
- uses: actions/checkout@v3
3035
- name: Set up Python ${{ matrix.python-version }}
@@ -35,10 +40,11 @@ jobs:
3540
run: |
3641
python -m pip install --upgrade pip
3742
pip install twine wheel setuptools pybind11
43+
# TODO: Update the manylinux builder to next tagged release
3844
- name: Build manylinux Python wheels
39-
uses: RalfG/python-wheels-manylinux-build@v0.4.0-manylinux2010_x86_64
45+
uses: RalfG/python-wheels-manylinux-build@a1e012c58ed3960f81b7ed2759a037fb0ad28e2d
4046
with:
41-
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
47+
python-versions: ${{ matrix.wheel-version }}
4248
build-requirements: 'cython pybind11'
4349
package-path: ''
4450
pip-wheel-args: ''
@@ -56,51 +62,6 @@ jobs:
5662
name: manylinux-wheels
5763
path: dist
5864

59-
manylinuxaarch64:
60-
if: ${{ false }}
61-
name: ${{ matrix.TARGET }}/wheel_creation
62-
runs-on: ${{ matrix.os }}
63-
strategy:
64-
fail-fast: false
65-
matrix:
66-
os: [ubuntu-latest]
67-
include:
68-
- os: ubuntu-latest
69-
TARGET: manylinuxaarch64
70-
python-version: [3.7]
71-
steps:
72-
- uses: actions/checkout@v3
73-
- name: Set up Python ${{ matrix.python-version }}
74-
uses: actions/setup-python@v3
75-
with:
76-
python-version: ${{ matrix.python-version }}
77-
- uses: docker/setup-qemu-action@v1
78-
name: Set up QEMU
79-
- name: Install dependencies
80-
run: |
81-
python -m pip install --upgrade pip
82-
pip install twine wheel setuptools pybind11
83-
- name: Build manylinux Python wheels
84-
uses: RalfG/[email protected]_aarch64
85-
with:
86-
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39'
87-
build-requirements: 'cython'
88-
package-path: ''
89-
pip-wheel-args: ''
90-
# When locally testing, --no-deps flag is necessary (PyUtilib dependency will trigger an error otherwise)
91-
- name: Consolidate wheels
92-
run: |
93-
sudo test -d dist || mkdir -v dist
94-
sudo find . -name \*.whl | grep -v /dist/ | xargs -n1 -i mv -v "{}" dist/
95-
- name: Delete linux wheels
96-
run: |
97-
sudo rm -rfv dist/*-linux_aarch64.whl
98-
- name: Upload artifact
99-
uses: actions/upload-artifact@v3
100-
with:
101-
name: manylinux-aarch64-wheels
102-
path: dist
103-
10465
generictarball:
10566
name: ${{ matrix.TARGET }}
10667
runs-on: ${{ matrix.os }}
@@ -111,7 +72,7 @@ jobs:
11172
include:
11273
- os: ubuntu-latest
11374
TARGET: generic_tarball
114-
python-version: [3.7]
75+
python-version: [3.8]
11576
steps:
11677
- uses: actions/checkout@v3
11778
- name: Set up Python ${{ matrix.python-version }}
@@ -141,7 +102,7 @@ jobs:
141102
include:
142103
- os: macos-latest
143104
TARGET: osx
144-
python-version: [ 3.7, 3.8, 3.9, '3.10' ]
105+
python-version: [ 3.7, 3.8, 3.9, '3.10', '3.11' ]
145106
steps:
146107
- uses: actions/checkout@v3
147108
- name: Set up Python ${{ matrix.python-version }}
@@ -172,7 +133,7 @@ jobs:
172133
include:
173134
- os: windows-latest
174135
TARGET: win
175-
python-version: [ 3.7, 3.8, 3.9, '3.10' ]
136+
python-version: [ 3.7, 3.8, 3.9, '3.10', '3.11' ]
176137
steps:
177138
- uses: actions/checkout@v3
178139
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/test_branches.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
description: Git Hash (Optional)
1111
required: false
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1317
defaults:
1418
run:
1519
shell: bash -l {0}
@@ -308,7 +312,7 @@ jobs:
308312
|| echo "WARNING: Gurobi is not available"
309313
conda install -q -y -c fico-xpress xpress \
310314
|| echo "WARNING: Xpress Community Edition is not available"
311-
for PKG in cyipopt pymumps; do
315+
for PKG in cyipopt pymumps scip; do
312316
conda install -q -y -c conda-forge $PKG \
313317
|| echo "WARNING: $PKG is not available"
314318
done

.github/workflows/test_pr_and_main.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
description: Git Hash (Optional)
1414
required: false
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18+
cancel-in-progress: true
19+
1620
defaults:
1721
run:
1822
shell: bash -l {0}
@@ -114,11 +118,6 @@ jobs:
114118
TARGET: win
115119
PYENV: pip
116120

117-
exclude:
118-
# Exclude 3.11 on conda until matplotlib!=3.6.1 is released on
119-
# conda-forge for python 3.11
120-
- {os: windows-latest, python: 3.11}
121-
122121
steps:
123122
- name: Checkout Pyomo source
124123
uses: actions/checkout@v3
@@ -334,7 +333,7 @@ jobs:
334333
|| echo "WARNING: Gurobi is not available"
335334
conda install -q -y -c fico-xpress xpress \
336335
|| echo "WARNING: Xpress Community Edition is not available"
337-
for PKG in cyipopt pymumps; do
336+
for PKG in cyipopt pymumps scip; do
338337
conda install -q -y -c conda-forge $PKG \
339338
|| echo "WARNING: $PKG is not available"
340339
done

.jenkins.sh

+7-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,13 @@ if test -z "$MODE" -o "$MODE" == setup; then
8686
echo "#"
8787
echo "# Installing pyomo modules"
8888
echo "#"
89-
pushd "$WORKSPACE/pyutilib" || echo "PyUtilib not found"
90-
python setup.py develop || echo "PyUtilib failed - skipping."
91-
popd
89+
if test -d "$WORKSPACE/pyutilib"; then
90+
pushd "$WORKSPACE/pyutilib"
91+
python setup.py develop || echo "PyUtilib failed - skipping."
92+
popd
93+
else
94+
echo "PyUtilib not found; skipping"
95+
fi
9296
pushd "$WORKSPACE/pyomo" || exit 1
9397
python setup.py develop $PYOMO_SETUP_ARGS || exit 1
9498
popd

AUTHORS.txt

-1
This file was deleted.

0 commit comments

Comments
 (0)