|
| 1 | +################################################################################ |
| 2 | +### ### |
| 3 | +### Created by Martin Genet ### |
| 4 | +### ### |
| 5 | +### École Polytechnique, Palaiseau, France ### |
| 6 | +### ### |
| 7 | +################################################################################ |
| 8 | + |
| 9 | +name: notebook |
| 10 | + |
| 11 | +channels: |
| 12 | + - conda-forge |
| 13 | + - defaults |
| 14 | + |
| 15 | +dependencies: |
| 16 | +# python |
| 17 | + # - mpi4py=3.1.3 # MG20220906: To avoid mpi warnings in FEniCS, cf. https://fenicsproject.discourse.group/t/runtimewarning-mpi4py-mpi-file-size-changed-may-indicate-binary-incompatibility-expected-32-from-c-header-got-40-from-pyobject-def-compile-class-cpp-data-mpi-comm-mpi-comm-world/6496 # MG20220906: Note that 3.0.3 leads to a `RuntimeError: Error when importing mpi4py`, but 3.1.3 seems to work. |
| 18 | + - numpy=1.21.6 # MG20221220: later numpy versions seem incompatible with itkwidgets 0.32 |
| 19 | + - python=3.8.15 |
| 20 | + - scipy=1.9.3 |
| 21 | + - sympy=1.9 |
| 22 | + - traitlets=5.6.0 # MG20221220: later traitlets versions seem incompatible with itkwidgets 0.32, cf. https://github.com/InsightSoftwareConsortium/itkwidgets/issues/588 |
| 23 | + |
| 24 | +# jupyter |
| 25 | + - ipydatawidgets=4.3.2 |
| 26 | + - ipywidgets=7.6.5 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version… |
| 27 | + - itkwidgets=0.32.6 |
| 28 | + # MG20240123: Specified all these versions based on the 2023 build to get ipywidgets and itkwidgets to properly interact |
| 29 | + - jupyter=1.0.0 |
| 30 | + - jupyter_client=7.4.8 |
| 31 | + - jupyter_console=6.4.4 |
| 32 | + - jupyter_contrib_core=0.4.0 |
| 33 | + - jupyter_contrib_nbextensions=0.5.1 |
| 34 | + - jupyter_core=5.1.3 |
| 35 | + - jupyter_highlight_selected_word=0.2.0 |
| 36 | + - jupyter_latex_envs=1.4.6 |
| 37 | + - jupyter_nbextensions_configurator=0.4.1 |
| 38 | + - jupyter_server=2.0.6 |
| 39 | + - jupyter_server_terminals=0.4.3 |
| 40 | + # MG20240123: Specified all these versions based on the 2023 build to get ipywidgets and itkwidgets to properly interact |
| 41 | + - jupyterlab=3.5.2 # MG20230602: This seems to be needed as well, otherwise jupyter does not start on binder |
| 42 | + - notebook=6.4.6 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version… |
| 43 | + - traitlets=5.6.0 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version… |
| 44 | + |
| 45 | +# coding stuff |
| 46 | + - git=2.39.0 |
| 47 | + |
| 48 | +# computing stuff |
| 49 | + - expat=2.5 # MG20241020: expat > 2.5 seems to break vtkXMLDataParser, cf. https://gitlab.kitware.com/vtk/vtk/-/issues/19258 |
| 50 | + - fenics=2019.1.0 |
| 51 | + - meshio=5.3.4 |
| 52 | + - vtk=9.0.3 # MG20201223: Need to correspond to the environment variable CPATH # MG20220628: Apparently there is some kind of conflict between vtk9.1 & libstdc++.so.6 in Ubuntu 20.04… # MG20221220: Apparently there is some kind of conflict between vtk9.1 & itkwidgets 0.32… |
| 53 | + |
| 54 | +# plotting stuff |
| 55 | + - matplotlib=3.6.2 |
| 56 | + - gnuplot=5.4.3 |
| 57 | + |
| 58 | + - pip |
| 59 | + - pip: |
| 60 | + # python |
| 61 | + # - zstd |
| 62 | + |
| 63 | + # computing stuff |
| 64 | + - gmsh==4.11.0 |
| 65 | + |
| 66 | + # tracking stuff |
| 67 | + - dolfin_warp |
| 68 | + |
| 69 | +variables: |
| 70 | + CPATH: /srv/conda/envs/notebook/include/vtk-9.0 |
0 commit comments