Skip to content

Pin blackjax to lowest conda-compatible version in CI #7320

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

Merged
merged 2 commits into from
May 16, 2024
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
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ jobs:
pip install -e .
pip install --pre -U polyagamma
python --version
conda list
- name: Run tests
run: |
conda activate pymc-test
Expand Down Expand Up @@ -244,6 +245,7 @@ jobs:
pip install -e .
pip install --pre -U polyagamma
python --version
conda list
- name: Run tests
# This job uses a cmd shell, therefore the environment variable syntax is different!
# The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
Expand Down Expand Up @@ -326,6 +328,7 @@ jobs:
conda activate pymc-test
pip install -e .
python --version
conda list
- name: Run tests
run: |
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
Expand Down Expand Up @@ -394,6 +397,7 @@ jobs:
conda activate pymc-test
pip install -e .
python --version
conda list
- name: Run tests
run: |
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
Expand Down Expand Up @@ -463,6 +467,7 @@ jobs:
pip install -e .
pip install --pre -U polyagamma
python --version
conda list
- name: Run tests
# This job uses a cmd shell, therefore the environment variable syntax is different!
# The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
Expand Down
4 changes: 2 additions & 2 deletions conda-envs/environment-jax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies:
- cloudpickle
- h5py>=2.7
# Jaxlib version must not be greater than jax version!
- blackjax>=1.0.0
- jaxlib==0.4.23
- blackjax==1.2.0 # Blackjax>=1.2.1 is incompatible with latest available version of jaxlib in conda-forge
- jaxlib==0.4.23 # Latest available version in conda-forge, update when new version is available
- jax==0.4.23
- libblas=*=*mkl
- mkl-service
Expand Down
Loading