Skip to content

Commit 693c185

Browse files
authored
Merge pull request #197 from mwcraig/finally-finalize-dependencies
Finalize dependencies and update installation instructions
2 parents 39856b2 + dd16f3f commit 693c185

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010

1111
Either way, we will include some of the new features of ipywidgets 8 in the tutorial.
1212

13-
### Installation instructions last updated 2022-06-17
13+
### Installation instructions last updated 2022-07-09
14+
15+
#### Read this if you set up the tutorial environment before 2022-07-09
16+
17+
> We have added two packages to the list of requirements on 2022-07-09. To add those packages to the environment you have already
18+
> created, either `conda install -c conda-forge mpl-interactions=0.22.0 orjson=3.7.7` or, if you use pip,
19+
> `pip install mpl-interactions==0.22.0 orjson==3.7.7`. Do not panic if you cannot update your environment; these packages are used in
20+
> only two or three cells.
1421
1522
We **strongly recommend** using the conda Python distribution. You can install either [miniconda](https://conda.io/miniconda.html) (much smaller, only essential packages) or the full [anaconda distribution](https://www.continuum.io/downloads) (very extensive, but very, very large).
1623

environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ dependencies:
1616
- ipyvuetify=1.8.2
1717
- ipywidgets=7.7.0
1818
- jupyterlab=3.4
19+
- mpl-interactions=0.22.0
1920
- numpy
21+
- orjson=3.7.7 # Added 2022 for one of the ipygany examples
2022
- pandas
2123
- pip
2224
- python=3.9
@@ -28,5 +30,3 @@ dependencies:
2830
- sidecar=0.5.1
2931
- voila=0.3.5
3032
- vtk=9.1.0
31-
- pip:
32-
- mpl_interactions==0.22.0

install_check.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
'jupyterlab',
2323
'voila',
2424
'pyvista',
25+
'mpl_interactions',
26+
'orjson', # For one of the example in ipygany
2527
]
2628

2729
import_result = {p: False for p in requirements}

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
ipyvuetify==1.8.2
1313
ipywidgets==7.7.0
1414
jupyterlab==3.4
15+
mpl-interactions==0.22.0
1516
numpy
17+
orjson==3.7.7
1618
pandas
1719
pythreejs==2.3.0
1820
pyvista==0.34.0

0 commit comments

Comments
 (0)