Skip to content
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
12 changes: 6 additions & 6 deletions .github/workflows/arviz_compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if environment-dev-py39.yml has not changed
# Increase this value to reset cache if environment-test-py39.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('conda-envs/environment-dev-py39.yml') }}
hashFiles('conda-envs/environment-test-py39.yml') }}
- name: Cache multiple paths
uses: actions/cache@v2
env:
Expand All @@ -61,19 +61,19 @@ jobs:
miniforge-variant: Mambaforge
miniforge-version: latest
mamba-version: "*"
activate-environment: pymc-dev-py39
activate-environment: pymc-test-py39
channel-priority: strict
environment-file: conda-envs/environment-dev-py39.yml
environment-file: conda-envs/environment-test-py39.yml
use-mamba: true
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
- name: Install pymc
run: |
conda activate pymc-dev-py39
conda activate pymc-test-py39
pip install -e .
python --version
- name: Install latest arviz
run: |
conda activate pymc-dev-py39
conda activate pymc-test-py39
pip uninstall arviz -y
pip install git+git://github.com/arviz-devs/arviz.git
- name: Run tests
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/jaxtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if environment-dev-py39.yml has not changed
# Increase this value to reset cache if environment-test-py39.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('conda-envs/environment-dev-py39.yml') }}
hashFiles('conda-envs/environment-test-py39.yml') }}
- name: Cache multiple paths
uses: actions/cache@v2
env:
Expand All @@ -57,19 +57,19 @@ jobs:
miniforge-variant: Mambaforge
miniforge-version: latest
mamba-version: "*"
activate-environment: pymc-dev-py39
activate-environment: pymc-test-py39
channel-priority: strict
environment-file: conda-envs/environment-dev-py39.yml
environment-file: conda-envs/environment-test-py39.yml
use-mamba: true
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
- name: Install pymc
run: |
conda activate pymc-dev-py39
conda activate pymc-test-py39
pip install -e .
python --version
- name: Install jax specific dependencies
run: |
conda activate pymc-dev-py39
conda activate pymc-test-py39
pip install "numpyro>=0.8.0"
- name: Run tests
run: |
Expand Down
10 changes: 5 additions & 5 deletions conda-envs/environment-dev-py37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ dependencies:
- cloudpickle
- fastprogress>=0.2.0
- h5py>=2.7
- ipython
- ipython>=7.16
- myst-nb
- numpy>=1.15
- numpy>=1.15.0
- numpydoc<1.2
- pandas>=0.24
- pandas>=0.24.0
- pip
- pre-commit>=2.8.0
- pydata-sphinx-theme
- pytest-cov>=2.5
- pytest>=3.0
- python-graphviz
- python=3.7
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- sphinx-copybutton
- sphinx-notfound-page
- sphinx>=1.5
- typing-extensions
- typing-extensions>=3.7.4
- pip:
- polyagamma
- sphinx-design
Expand Down
4 changes: 2 additions & 2 deletions conda-envs/environment-dev-py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- cloudpickle
- fastprogress>=0.2.0
- h5py>=2.7
- ipython
- ipython>=7.16
- myst-nb
- numpy>=1.15.0
- numpydoc<1.2
Expand All @@ -23,7 +23,7 @@ dependencies:
- pytest>=3.0
- python-graphviz
- python=3.8
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- sphinx-copybutton
- sphinx-notfound-page
- sphinx>=1.5
Expand Down
6 changes: 3 additions & 3 deletions conda-envs/environment-dev-py39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ dependencies:
- cloudpickle
- fastprogress>=0.2.0
- h5py>=2.7
- ipython
- ipython>=7.16
- myst-nb
- numpy>=1.15.0
- numpydoc<1.2
- pandas
- pandas>=0.24.0
- pip
- pre-commit>=2.8.0
- pydata-sphinx-theme
- pytest-cov>=2.5
- pytest>=3.0
- python-graphviz
- python=3.9
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- sphinx-copybutton
- sphinx-notfound-page
- sphinx>=1.5
Expand Down
8 changes: 4 additions & 4 deletions conda-envs/environment-test-py37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ dependencies:
- cloudpickle
- fastprogress>=0.2.0
- h5py>=2.7
- ipython
- ipython>=7.16
- libblas=*=*mkl
- mkl-service
- numpy>=1.15.0
- pandas>=0.24
- pandas>=0.24.0
- pre-commit>=2.8.0
- pytest-cov>=2.5
- pytest>=3.0
- python-graphviz
- python=3.7
- scipy>1.4.1
- typing-extensions
- scipy>=1.4.1,<1.8.0
- typing-extensions>=3.7.4
6 changes: 3 additions & 3 deletions conda-envs/environment-test-py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ dependencies:
- cloudpickle
- fastprogress>=0.2.0
- h5py>=2.7
- ipython
- ipython>=7.16
- libblas=*=*mkl
- mkl-service
- numpy>=1.15.0
- pandas
- pandas>=0.24.0
- pre-commit>=2.8.0
- pytest-cov>=2.5
- pytest>=3.0
- python-graphviz
- python=3.8
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- typing-extensions>=3.7.4
8 changes: 4 additions & 4 deletions conda-envs/environment-test-py39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ dependencies:
- aeppl=0.0.18
- aesara=2.3.8
- arviz>=0.11.4
- cachetools
- cachetools>=4.2.1
- cloudpickle
- fastprogress>=0.2.0
- h5py
- h5py>=2.7
- ipython>=7.16
- libblas=*=*mkl
- mkl-service
- numpy>=1.15.0
- pandas
- pandas>=0.24.0
- pre-commit>=2.8.0
- pytest-cov>=2.5
- pytest>=3.0
- python-graphviz
- python=3.9
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- typing-extensions>=3.7.4
8 changes: 4 additions & 4 deletions conda-envs/windows-environment-dev-py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ dependencies:
- cachetools>=4.2.1
- cloudpickle
- fastprogress>=0.2.0
- h5py
- h5py>=2.7
- numpy>=1.15.0
- pandas
- pandas>=0.24.0
- pip
- python=3.8
- python-graphviz
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- typing-extensions>=3.7.4
# Extra stuff for dev, testing and docs build
- ipython
- ipython>=7.16
- myst-nb
- numpydoc<1.2
- pre-commit>=2.8.0
Expand Down
8 changes: 4 additions & 4 deletions conda-envs/windows-environment-test-py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dependencies:
# base dependencies (see install guide for Windows)
- aeppl=0.0.18
- aesara=2.3.8
- arviz>=0.11.2
- cachetools
- arviz>=0.11.4
- cachetools>=4.2.1
- cloudpickle
- fastprogress>=0.2.0
- h5py>=2.7
Expand All @@ -16,11 +16,11 @@ dependencies:
- mkl-service==2.3.0
- m2w64-toolchain
- numpy>=1.15.0
- pandas
- pandas>=0.24.0
- pip
- python=3.8
- python-graphviz
- scipy>1.4.1
- scipy>=1.4.1,<1.8.0
- typing-extensions>=3.7.4
# Extra stuff for testing
- ipython>=7.16
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ cachetools>=4.2.1
cloudpickle
fastprogress>=0.2.0
h5py>=2.7
ipython
ipython>=7.16
myst-nb
numpy>=1.15.0
numpydoc<1.2
pandas
pandas>=0.24.0
polyagamma
pre-commit>=2.8.0
pydata-sphinx-theme
pytest-cov>=2.5
pytest>=3.0
scipy>1.4.1
scipy>=1.4.1,<1.8.0
sphinx-copybutton
sphinx-design
sphinx-notfound-page
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ cloudpickle
fastprogress>=0.2.0
numpy>=1.15.0
pandas>=0.24.0
scipy>=1.4.1
scipy>=1.4.1,<1.8.0
typing-extensions>=3.7.4
1 change: 0 additions & 1 deletion scripts/generate_pip_deps_from_conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"m2w64-toolchain",
"mkl-service",
"numba",
"scipy",
"python-graphviz",
}
RENAME = {}
Expand Down