Skip to content

Commit dcdb76b

Browse files
authored
Fixing old OpenMDAO build (#406)
* old pip * pip 23.0.1 * using matrix for pip; try fixing RTD * undo RTD edits
1 parent 966f8dc commit dcdb76b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/oas.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Set versions to test here ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2626
PYTHON_VERSION_OLDEST: ['3.8']
2727
PYTHON_VERSION_LATEST: ['3.11']
28+
PIP_VERSION_OLDEST: ['23.0.1'] # pip>=23.1 cannot build the oldest OpenMDAO
2829
NUMPY_VERSION_OLDEST: ['1.20'] # latest is most recent on PyPI
2930
SCIPY_VERSION_OLDEST: ['1.6.0'] # latest is most recent on PyPI
3031
OPENMDAO_VERSION_OLDEST: ['3.15'] # latest is most recent on PyPI
@@ -89,7 +90,7 @@ jobs:
8990
- name: Install OAS and its dependencies (oldest versions)
9091
if: ${{ matrix.dep-versions == 'oldest' }}
9192
run: |
92-
python -m pip install --upgrade pip wheel
93+
python -m pip install pip==${{ matrix.PIP_VERSION_OLDEST }} --upgrade wheel
9394
pip install numpy==${{ matrix.NUMPY_VERSION_OLDEST }} scipy==${{ matrix.SCIPY_VERSION_OLDEST }} openmdao==${{ matrix.OPENMDAO_VERSION_OLDEST }} mphys==${{ matrix.MPHYS_VERSION_OLDEST }}
9495
pip install -e .[test]
9596
- name: Install OAS and its dependencies (latest versions)

0 commit comments

Comments
 (0)