Skip to content

Commit

Permalink
Prepare v0.7.1 for releasing (#155)
Browse files Browse the repository at this point in the history
Minor QOL updates and build images with dolfinx v0.7.1
  • Loading branch information
jorgensd authored Oct 28, 2023
1 parent 0fe6c20 commit 8d602cd
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/book_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
build-book:
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/lab:v0.7.0
container: ghcr.io/fenics/dolfinx/lab:v0.7.1

env:
PYVISTA_TRAME_SERVER_PROXY_PREFIX: "/proxy/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
test-nightly:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/lab:nightly
container: ghcr.io/fenics/dolfinx/lab:v0.7.1

env:
HDF5_MPI: "ON"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/lab:v0.7.0
container: ghcr.io/fenics/dolfinx/lab:v0.7.1
env:
PYVISTA_OFF_SCREEN: true

Expand Down
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.7.1
- No API changes, release due to various bug-fixes from the 0.7.0 release, see:
https://github.com/FEniCS/dolfinx/releases/tag/v0.7.1 for more information

## v0.7.0

- Renamed `dolfinx.graph.create_adjacencylist` to `dolfinx.graph.adjacencylist`
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.7.0
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.7.1

# create user with a home directory
ARG NB_USER=jovyan
Expand Down
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ logo: fenics_logo.png
# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: force
execute_notebooks: cache

# Set timeout for any example to 20 minutes
timeout: 1800
Expand All @@ -35,6 +35,11 @@ sphinx:
config:
html_last_updated_fmt: "%b %d, %Y"
suppress_warnings: ["mystnb.unknown_mime_type"]

# To avoid warning about default changing due to
# https://github.com/pydata/pydata-sphinx-theme/issues/1492
html_theme_options:
navigation_with_keys: false
parse:
myst_enable_extensions:
- "amsmath"
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Execute from root of repo as: docker buildx build --platform=linux/arm64,linux/amd64 -f docker/Dockerfile ./docker/ --progress=plain

FROM ghcr.io/fenics/dolfinx/lab:v0.7.0
FROM ghcr.io/fenics/dolfinx/lab:v0.7.1
ARG TARGETPLATFORM


Expand Down
61 changes: 0 additions & 61 deletions docker/LocalDockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ pandas
tqdm

# Pyvista
pyvista[all]
pyvista[all]
6 changes: 3 additions & 3 deletions fem.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ The tutorial uses several dependencies for meshing, plotting and timings. A comp
To use the notebooks in this tutorial with DOLFINx on your own computer, you should use the docker image using the following command:

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

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

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

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.
Expand All @@ -58,7 +58,7 @@ The [Dockerfile](https://github.com/FEniCS/dolfinx/blob/main/docker/Dockerfile)
provides a definitive build recipe. As the DOLFINx docker images are hosted at Docker-hub, one can directly access the image:

```
docker run dolfinx/dolfinx:v0.7.0
docker run dolfinx/dolfinx:v0.7.1
```

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.
Expand Down

0 comments on commit 8d602cd

Please sign in to comment.