-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
Description
Describe the issue:
Following these docs on the contributing page:
conda env create -f conda-envs/environment-dev.yml
and attempting to run the test suite results in ModuleNotFoundError
s due to these modules being missing:
numpyro
: invoked intests/sampling/test_jax.py
blackjax
: also invoked intests/sampling/test_jax.py
graphviz
: also invoked intests/test_model_graph.py
This also occurs when using a venv
rather than a conda environment because requirements-dev.txt
doesn't include these packages.
Reproduceable code example:
python -m pytest
Error message:
ModuleNotFoundError: No module named 'numpyro'
...
ModuleNotFoundError: No module named 'blackjax'
...
ModuleNotFoundError: No module named 'graphviz'
PyMC version information:
PyMC version from Git commit 340e403.
Context for the issue:
These packages are required by the test suite...
There are several other files in conda-envs
:
- environment-alternative-backends.yml
- environment-test.yml
- etc.
These aren't mentioned in the Contributor Docs and currently have no equivalents as requirements-*.txt
for non-conda installs with pip
or uv
.