Skip to content

Commit 4078ca2

Browse files
committed
fix docs / upgrade docs to Julia 1.6
1 parent 4fc14e9 commit 4078ca2

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN apt-get update \
2828

2929
## install julia
3030
RUN mkdir /opt/julia \
31-
&& curl -L https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz | tar zxf - -C /opt/julia --strip=1 \
31+
&& curl -L https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.0-linux-x86_64.tar.gz | tar zxf - -C /opt/julia --strip=1 \
3232
&& chown -R 1000 /opt/julia \
3333
&& ln -s /opt/julia/bin/julia /usr/local/bin
3434

@@ -50,10 +50,12 @@ RUN curl https://pyenv.run | bash \
5050
&& pyenv global 3.7.3
5151

5252
## install Python packages
53+
# see https://github.com/jupyter/jupyter_client/issues/637 re: jupyter-client==6.1.12
5354
RUN pip install --no-cache-dir \
5455
cython \
5556
julia \
56-
jupyterlab==3 \
57+
"jupyterlab>=3" \
58+
jupyter-client==6.1.12 \
5759
jupytext \
5860
matplotlib \
5961
"nbconvert<6" \
@@ -88,7 +90,7 @@ COPY --chown=1000 Project.toml $HOME/CMBLensing/
8890
COPY --chown=1000 docs/Project.toml $HOME/CMBLensing/docs/
8991
RUN mkdir $HOME/CMBLensing/src && touch $HOME/CMBLensing/src/CMBLensing.jl
9092
ENV JULIA_PROJECT=$HOME/CMBLensing/docs
91-
RUN julia -e 'using Pkg; pkg"dev ~/CMBLensing; instantiate"' \
93+
RUN JULIA_PKG_PRECOMPILE_AUTO=0 julia -e 'using Pkg; pkg"dev ~/CMBLensing; instantiate"' \
9294
&& rm -rf $HOME/.julia/conda/3/pkgs
9395
COPY --chown=1000 src $HOME/CMBLensing/src
9496
RUN (test $PRECOMPILE = 0 || julia -e 'using Pkg; pkg"precompile"')

docs/src/01_lense_a_map.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jupyter:
88
format_version: '1.2'
99
jupytext_version: 1.4.1
1010
kernelspec:
11-
display_name: Julia 1.5.3
11+
display_name: Julia 1.6.0
1212
language: julia
13-
name: julia-1.5
13+
name: julia-1.6
1414
---
1515

1616
# Lensing a flat-sky map

docs/src/02_posterior.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jupyter:
88
format_version: '1.2'
99
jupytext_version: 1.4.1
1010
kernelspec:
11-
display_name: Julia 1.5.3
11+
display_name: Julia 1.6.0
1212
language: julia
13-
name: julia-1.5
13+
name: julia-1.6
1414
---
1515

1616
# The Lensing Posterior

docs/src/03_joint_MAP_example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jupyter:
77
format_version: '1.2'
88
jupytext_version: 1.4.1
99
kernelspec:
10-
display_name: Julia 1.5.3
10+
display_name: Julia 1.6.0
1111
language: julia
12-
name: julia-1.5
12+
name: julia-1.6
1313
---
1414

1515
# MAP estimation

docs/src/05_field_basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jupyter:
77
format_version: '1.2'
88
jupytext_version: 1.4.1
99
kernelspec:
10-
display_name: Julia 1.5.3
10+
display_name: Julia 1.6.0
1111
language: julia
12-
name: julia-1.5
12+
name: julia-1.6
1313
---
1414

1515
# Field Basics

0 commit comments

Comments
 (0)