Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved jaxlib issue on pypi for Python 3.11 #849

Merged
merged 3 commits into from
Oct 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/dymos_docs_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ master, develop ]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
SNOPT: 7.7
OPENMDAO: 'dev'
OPTIONAL: '[docs]'
JAX: True
JAX: 'dev'
PUBLISH_DOCS: 0

steps:
Expand Down Expand Up @@ -105,8 +105,13 @@ jobs:
echo "============================================================="
echo "Install jax"
echo "============================================================="
pip install jax
pip install jaxlib
if [[ "${{ matrix.JAX }}" == "dev" ]]; then
python -m pip install git+https://github.com/google/jax
elif [[ "${{ matrix.OPENMDAO }}" == "latest" || "${{ matrix.JAX }}" == "True" ]]; then
python -m pip install jax jaxlib
else
python -m pip install jax=${{ matrix.JAX }} jaxlib=${{ matrix.JAX }}
fi

- name: Install PETSc
if: (github.event_name != 'workflow_dispatch' || matrix.NAME == 'latest') && matrix.PETSc
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/dymos_tests_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ master, develop ]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
SNOPT: 7.7
OPENMDAO: 'dev'
OPTIONAL: '[test]'
JAX: True
JAX: 'dev'
DOCS: 0

# oldest supported versions
Expand Down Expand Up @@ -144,8 +144,13 @@ jobs:
echo "============================================================="
echo "Install jax"
echo "============================================================="
pip install jax
pip install jaxlib
if [[ "${{ matrix.JAX }}" == "dev" ]]; then
python -m pip install git+https://github.com/google/jax
elif [[ "${{ matrix.OPENMDAO }}" == "latest" || "${{ matrix.JAX }}" == "True" ]]; then
python -m pip install jax jaxlib
else
python -m pip install jax=${{ matrix.JAX }} jaxlib=${{ matrix.JAX }}
fi

- name: Install PETSc
if: (github.event_name != 'workflow_dispatch' || matrix.NAME == 'latest') && matrix.PETSc
Expand Down