Skip to content

Commit 36b01ae

Browse files
committed
Updating environment
1 parent 41bfe85 commit 36b01ae

2 files changed

Lines changed: 31 additions & 23 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ build_docker:
1515
tags:
1616
- ci.inria.fr
1717
- large
18-
image: registry.gitlab.inria.fr/inria-ci/docker/ubuntu:20.04
19-
# image: ubuntu:20.04
18+
# image: registry.gitlab.inria.fr/inria-ci/docker/ubuntu:20.04
19+
image: ubuntu:20.04
2020
script:
21-
- apt update; apt install -y python3 python3-pip mercurial git ca-certificates curl gnupg lsb-release
21+
- apt update; DEBIAN_FRONTEND=noninteractive apt install -y ca-certificates curl git gnupg lsb-release mercurial python3 python3-pip tzdata
2222
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
2323
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
24-
- DEBIAN_FRONTEND=noninteractive apt install -y tzdata
2524
- apt update; apt install -y docker-ce docker-ce-cli containerd.io
2625
- docker images
2726
- docker rmi -f $CI_REGISTRY_IMAGE || true

.repo2docker/environment.yml

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,51 @@ channels:
1515
dependencies:
1616
# python
1717
- 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.5 # MG20221220: later numpy versions seem incompatible with itkwidgets 0.32
19-
- python
20-
- scipy
21-
- sympy
18+
- numpy=1.21.6 # MG20221220: later numpy versions seem incompatible with itkwidgets 0.32
19+
- python=3.8
20+
- scipy=1.9
21+
- sympy=1.9
2222

2323
# jupyter
24-
- "ipywidgets<8" # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
25-
- itkwidgets=0.32.6
26-
- jupyter
27-
- jupyter_contrib_nbextensions
28-
- jupyter_nbextensions_configurator
29-
- "jupyterlab<4" # MG20230602: This seems to be needed as well, otherwise jupyter does not start on binder
30-
- "notebook<6.5" # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
24+
- ipywidgets=7.6 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
25+
- itkwidgets=0.32
26+
# MG20240123: Specified all these versions based on the 2023 build to get ipywidgets and itkwidgets to properly interact
27+
- jupyter=1.0.0
28+
- jupyter_client=7.4.8
29+
- jupyter_console=6.4.4
30+
- jupyter_contrib_core=0.4.0
31+
- jupyter_contrib_nbextensions=0.5.1
32+
- jupyter_core=5.1.3
33+
- jupyter_highlight_selected_word=0.2.0
34+
- jupyter_latex_envs=1.4.6
35+
- jupyter_nbextensions_configurator=0.4.1
36+
- jupyter_server=2.0.6
37+
- jupyter_server_terminals=0.4.3
38+
# MG20240123: Specified all these versions based on the 2023 build to get ipywidgets and itkwidgets to properly interact
39+
- jupyterlab=3.5 # MG20230602: This seems to be needed as well, otherwise jupyter does not start on binder
40+
- notebook=6.4 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
3141

3242
# coding stuff
33-
- git
43+
- git=2.39
3444

3545
# computing stuff
46+
- expat=2.5
3647
- fenics=2019.1.0
37-
- gmsh
38-
- meshio
3948
- vtk=9.0 # 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…
4049

4150
# plotting stuff
42-
- matplotlib
43-
- gnuplot
51+
- matplotlib=3.5
52+
- gnuplot=5.4
4453

4554
- pip
4655
- pip:
4756
# python
48-
- numpy==1.21.5 # MG20240605: meshio seems to be installing a newer numpy…
57+
- numpy==1.21.6 # MG20240605: meshio seems to be installing a newer numpy…
4958
- zstd
5059

5160
# computing stuff
52-
- gmsh
53-
- meshio
61+
- gmsh==4.9.0
62+
- meshio==5.3.4
5463

5564
# tracking stuff
5665
- dolfin_warp

0 commit comments

Comments
 (0)