Skip to content

Commit

Permalink
Fixing old OpenMDAO build (#406)
Browse files Browse the repository at this point in the history
* old pip

* pip 23.0.1

* using matrix for pip; try fixing RTD

* undo RTD edits
  • Loading branch information
kanekosh authored May 9, 2023
1 parent 966f8dc commit dcdb76b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Set versions to test here ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PYTHON_VERSION_OLDEST: ['3.8']
PYTHON_VERSION_LATEST: ['3.11']
PIP_VERSION_OLDEST: ['23.0.1'] # pip>=23.1 cannot build the oldest OpenMDAO
NUMPY_VERSION_OLDEST: ['1.20'] # latest is most recent on PyPI
SCIPY_VERSION_OLDEST: ['1.6.0'] # latest is most recent on PyPI
OPENMDAO_VERSION_OLDEST: ['3.15'] # latest is most recent on PyPI
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
- name: Install OAS and its dependencies (oldest versions)
if: ${{ matrix.dep-versions == 'oldest' }}
run: |
python -m pip install --upgrade pip wheel
python -m pip install pip==${{ matrix.PIP_VERSION_OLDEST }} --upgrade wheel
pip install numpy==${{ matrix.NUMPY_VERSION_OLDEST }} scipy==${{ matrix.SCIPY_VERSION_OLDEST }} openmdao==${{ matrix.OPENMDAO_VERSION_OLDEST }} mphys==${{ matrix.MPHYS_VERSION_OLDEST }}
pip install -e .[test]
- name: Install OAS and its dependencies (latest versions)
Expand Down

0 comments on commit dcdb76b

Please sign in to comment.