Skip to content

Commit 5cac5b3

Browse files
authored
Merge pull request #304 from pymc-labs/some-devops
Move to a conda only install of pymc
2 parents 3dc2ffe + 2bf31e1 commit 5cac5b3

13 files changed

+395
-403
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ For more instructions see the [Pull request checklist](#pull-request-checklist)
4747

4848
Always use a feature branch. It's good practice to never routinely work on the `main` branch of any repository.
4949
50-
1. Create a new environment using Python >=3.10, for example 3.11
50+
1. Create the environment from the `environment.yml` file.
5151
5252
```bash
53-
conda create --name CausalPy python=3.11
53+
mamba env create -f environment.yml
5454
```
5555
5656
Activate the environment.
@@ -59,7 +59,7 @@ For more instructions see the [Pull request checklist](#pull-request-checklist)
5959
conda activate CausalPy
6060
```
6161
62-
Install the package (in editable mode) and its development dependencies:
62+
Install the package (in editable mode) and its development dependencies. The `--no-deps` flag is used to avoid installing the dependencies of `CausalPy` as they are already installed when installing the development dependencies. This can end up interfering with the conda-only install of pymc.
6363
6464
```bash
6565
pip install --no-deps -e .

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: init lint check_lint test
22

33
init:
4-
python -m pip install -e .
4+
python -m pip install -e . --no-deps
55

66
lint:
77
ruff check --fix .

docs/source/notebooks/did_pymc.ipynb

Lines changed: 9 additions & 17 deletions
Large diffs are not rendered by default.

docs/source/notebooks/did_pymc_banks.ipynb

Lines changed: 31 additions & 30 deletions
Large diffs are not rendered by default.

docs/source/notebooks/geolift1.ipynb

Lines changed: 12 additions & 20 deletions
Large diffs are not rendered by default.

docs/source/notebooks/its_covid.ipynb

Lines changed: 15 additions & 23 deletions
Large diffs are not rendered by default.

docs/source/notebooks/its_pymc.ipynb

Lines changed: 28 additions & 36 deletions
Large diffs are not rendered by default.

docs/source/notebooks/rd_pymc.ipynb

Lines changed: 20 additions & 27 deletions
Large diffs are not rendered by default.

docs/source/notebooks/rd_pymc_drinking.ipynb

Lines changed: 51 additions & 28 deletions
Large diffs are not rendered by default.

docs/source/notebooks/rkink_pymc.ipynb

Lines changed: 30 additions & 35 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)