Skip to content

Commit ab82a3c

Browse files
committed
Migrate from mambaforge onto miniforge
1 parent 5205111 commit ab82a3c

File tree

3 files changed

+40
-13
lines changed

3 files changed

+40
-13
lines changed

.github/workflows/mypy.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ jobs:
3434
~\AppData\Local\pip\Cache
3535
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
3636
hashFiles('requirements.txt') }}
37-
- uses: conda-incubator/setup-miniconda@v2
37+
- uses: conda-incubator/setup-miniconda@v3
3838
with:
39-
miniforge-variant: Mambaforge
4039
miniforge-version: latest
4140
mamba-version: "*"
4241
activate-environment: pymc-test

.github/workflows/tests.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ jobs:
164164
~\AppData\Local\pip\Cache
165165
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
166166
hashFiles('requirements.txt') }}
167-
- uses: conda-incubator/setup-miniconda@v2
167+
- uses: conda-incubator/setup-miniconda@v3
168168
with:
169-
miniforge-variant: Mambaforge
170169
miniforge-version: latest
171170
mamba-version: "*"
172171
activate-environment: pymc-test
@@ -240,9 +239,8 @@ jobs:
240239
~\AppData\Local\pip\Cache
241240
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
242241
hashFiles('requirements.txt') }}
243-
- uses: conda-incubator/setup-miniconda@v2
242+
- uses: conda-incubator/setup-miniconda@v3
244243
with:
245-
miniforge-variant: Mambaforge
246244
miniforge-version: latest
247245
mamba-version: "*"
248246
activate-environment: pymc-test
@@ -324,14 +322,13 @@ jobs:
324322
~\AppData\Local\pip\Cache
325323
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
326324
hashFiles('requirements.txt') }}
327-
- uses: conda-incubator/setup-miniconda@v2
325+
- uses: conda-incubator/setup-miniconda@v3
328326
with:
329-
miniforge-variant: Mambaforge
330327
miniforge-version: latest
331328
mamba-version: "*"
332329
activate-environment: pymc-test
333330
channel-priority: strict
334-
environment-file: conda-envs/environment-test.yml
331+
environment-file: conda-envs/environment-test-macos.yml
335332
python-version: ${{matrix.python-version}}
336333
use-mamba: true
337334
use-only-tar-bz2: false # IMPORTANT: This may break caching of conda packages! See https://github.com/conda-incubator/setup-miniconda/issues/267
@@ -393,9 +390,8 @@ jobs:
393390
~\AppData\Local\pip\Cache
394391
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
395392
hashFiles('requirements.txt') }}
396-
- uses: conda-incubator/setup-miniconda@v2
393+
- uses: conda-incubator/setup-miniconda@v3
397394
with:
398-
miniforge-variant: Mambaforge
399395
miniforge-version: latest
400396
mamba-version: "*"
401397
activate-environment: pymc-test
@@ -462,9 +458,8 @@ jobs:
462458
~\AppData\Local\pip\Cache
463459
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
464460
hashFiles('requirements.txt') }}
465-
- uses: conda-incubator/setup-miniconda@v2
461+
- uses: conda-incubator/setup-miniconda@v3
466462
with:
467-
miniforge-variant: Mambaforge
468463
miniforge-version: latest
469464
mamba-version: "*"
470465
activate-environment: pymc-test

conda-envs/environment-test-macos.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# "test" conda envs are used to set up our CI environment in GitHub actions
2+
name: pymc-test
3+
channels:
4+
- conda-forge
5+
- defaults
6+
dependencies:
7+
# Base dependencies
8+
- arviz>=0.13.0
9+
- cachetools>=4.2.1
10+
- cloudpickle
11+
- h5py>=2.7
12+
- jax
13+
- libblas=*=*accelerate
14+
- numpy>=1.15.0
15+
- pandas>=0.24.0
16+
- pip
17+
- pytensor>=2.26.2,<2.27
18+
- python-graphviz
19+
- networkx
20+
- rich>=13.7.1
21+
- scipy>=1.4.1
22+
- typing-extensions>=3.7.4
23+
- threadpoolctl>=3.1.0
24+
# Extra dependencies for testing
25+
- ipython>=7.16
26+
- pre-commit>=2.8.0
27+
- pytest-cov>=2.5
28+
- pytest>=3.0
29+
- mypy=1.5.1
30+
- types-cachetools
31+
- pip:
32+
- numdifftools>=0.9.40
33+
- mcbackend>=0.4.0

0 commit comments

Comments
 (0)