Skip to content

Commit 8d602cd

Browse files
authored
Prepare v0.7.1 for releasing (#155)
Minor QOL updates and build images with dolfinx v0.7.1
1 parent 0fe6c20 commit 8d602cd

10 files changed

+19
-71
lines changed

.github/workflows/book_stable.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
build-book:
1717
runs-on: ubuntu-latest
18-
container: ghcr.io/fenics/dolfinx/lab:v0.7.0
18+
container: ghcr.io/fenics/dolfinx/lab:v0.7.1
1919

2020
env:
2121
PYVISTA_TRAME_SERVER_PROXY_PREFIX: "/proxy/"

.github/workflows/test_nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
test-nightly:
1818
# The type of runner that the job will run on
1919
runs-on: ubuntu-latest
20-
container: ghcr.io/fenics/dolfinx/lab:nightly
20+
container: ghcr.io/fenics/dolfinx/lab:v0.7.1
2121

2222
env:
2323
HDF5_MPI: "ON"

.github/workflows/test_stable.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
test:
2121
# The type of runner that the job will run on
2222
runs-on: ubuntu-latest
23-
container: ghcr.io/fenics/dolfinx/lab:v0.7.0
23+
container: ghcr.io/fenics/dolfinx/lab:v0.7.1
2424
env:
2525
PYVISTA_OFF_SCREEN: true
2626

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.7.1
4+
- No API changes, release due to various bug-fixes from the 0.7.0 release, see:
5+
https://github.com/FEniCS/dolfinx/releases/tag/v0.7.1 for more information
6+
37
## v0.7.0
48

59
- Renamed `dolfinx.graph.create_adjacencylist` to `dolfinx.graph.adjacencylist`

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.7.0
1+
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.7.1
22

33
# create user with a home directory
44
ARG NB_USER=jovyan

_config.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ logo: fenics_logo.png
88
# Force re-execution of notebooks on each build.
99
# See https://jupyterbook.org/content/execute.html
1010
execute:
11-
execute_notebooks: force
11+
execute_notebooks: cache
1212

1313
# Set timeout for any example to 20 minutes
1414
timeout: 1800
@@ -35,6 +35,11 @@ sphinx:
3535
config:
3636
html_last_updated_fmt: "%b %d, %Y"
3737
suppress_warnings: ["mystnb.unknown_mime_type"]
38+
39+
# To avoid warning about default changing due to
40+
# https://github.com/pydata/pydata-sphinx-theme/issues/1492
41+
html_theme_options:
42+
navigation_with_keys: false
3843
parse:
3944
myst_enable_extensions:
4045
- "amsmath"

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Execute from root of repo as: docker buildx build --platform=linux/arm64,linux/amd64 -f docker/Dockerfile ./docker/ --progress=plain
22

3-
FROM ghcr.io/fenics/dolfinx/lab:v0.7.0
3+
FROM ghcr.io/fenics/dolfinx/lab:v0.7.1
44
ARG TARGETPLATFORM
55

66

docker/LocalDockerfile

-61
This file was deleted.

docker/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ pandas
1919
tqdm
2020

2121
# Pyvista
22-
pyvista[all]
22+
pyvista[all]

fem.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ The tutorial uses several dependencies for meshing, plotting and timings. A comp
4040
To use the notebooks in this tutorial with DOLFINx on your own computer, you should use the docker image using the following command:
4141

4242
```bash
43-
docker run --init -p 8888:8888 -v "$(pwd)":/root/shared ghcr.io/jorgensd/dolfinx-tutorial:v0.7.0
43+
docker run --init -p 8888:8888 -v "$(pwd)":/root/shared ghcr.io/jorgensd/dolfinx-tutorial:v0.7.1
4444
```
4545

4646
This image can also be used as a normal docker container by adding:
4747

4848
```bash
49-
docker run --ti -v "$(pwd)":/root/shared --entrypoint="/bin/bash" ghcr.io/jorgensd/dolfinx-tutorial:v0.7.0
49+
docker run --ti -v "$(pwd)":/root/shared --entrypoint="/bin/bash" ghcr.io/jorgensd/dolfinx-tutorial:v0.7.1
5050
```
5151

5252
The tutorials can also be exported as a notebook or PDF by clicking the ![Download](save.png)-symbol in the top right corner of the relevant tutorial. The notebook can in turn be used with a Python kernel which has DOLFINx.
@@ -58,7 +58,7 @@ The [Dockerfile](https://github.com/FEniCS/dolfinx/blob/main/docker/Dockerfile)
5858
provides a definitive build recipe. As the DOLFINx docker images are hosted at Docker-hub, one can directly access the image:
5959

6060
```
61-
docker run dolfinx/dolfinx:v0.7.0
61+
docker run dolfinx/dolfinx:v0.7.1
6262
```
6363

6464
There are several ways of customizing a docker container, such as mounting volumes/sharing folder, setting a working directory, sharing graphical interfaces etc. See `docker run --help` for an extensive list.

0 commit comments

Comments
 (0)