Skip to content

Commit 03842a8

Browse files
authored
Specify visualization dependencies (#2070)
* Specify visualization dependencies So far, matplotlib was implicitly required through petab. In petab==0.2.0, matplotlib became an optional dependency. * ..
1 parent d3a92b0 commit 03842a8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/test_benchmark_collection_models.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ jobs:
5151
pip3 install build && cd python/sdist && python3 -m build --sdist
5252
- name: Install AMICI sdist
5353
run: |
54+
pip3 install --user petab[vis] && \
5455
AMICI_PARALLEL_COMPILE=2 pip3 install -v --user \
55-
$(ls -t python/sdist/dist/amici-*.tar.gz | head -1)[petab,test]
56+
$(ls -t python/sdist/dist/amici-*.tar.gz | head -1)[petab,test,vis]
5657
5758
# retrieve test models
5859
- name: Download and test benchmark collection

documentation/rtd_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ nbsphinx>=0.8.9
99
nbformat==5.4.0
1010
recommonmark>=0.6.0
1111
sphinx_rtd_theme>=1.0.0
12-
petab>=0.1.20
12+
petab[vis]>=0.1.20
1313
sphinx-autodoc-typehints==1.19.2
1414
git+https://github.com/readthedocs/sphinx-hoverxref@main
1515
ipython==8.10.0

python/sdist/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ test =
5252
pytest-rerunfailures
5353
coverage
5454
shyaml
55+
vis = matplotlib
5556

5657
[options.package_data]
5758
amici =

0 commit comments

Comments
 (0)