diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e622c6f..6a0f56d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,19 +14,19 @@ on: jobs: build-and-test: runs-on: ubuntu-latest - container: ghcr.io/fenics/dolfinx/dolfinx:v0.9.0 + container: ghcr.io/fenics/dolfinx/dolfinx:nightly steps: - name: Checkout uses: actions/checkout@v3 + - name: Install FEniCSx-Shells + run: | + python3 -m pip install --no-build-isolation --check-build-dependencies '.[ci]' + - name: ruff checks run: | ruff check . ruff format --check . - - - name: Install FEniCSx-Shells - run: | - python3 -m pip install --no-build-isolation --check-build-dependencies . - name: Build documentation run: | diff --git a/doc/source/conf.py b/doc/source/conf.py index ffe1a0f..4b084bc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -15,9 +15,9 @@ jupytext_process.process() project = "FEniCSx-Shells" -copyright = "2022, FEniCSx-Shells Authors" +copyright = "2022-2024, FEniCSx-Shells Authors" author = "FEniCSx-Shells Authors" -release = "0.5.0.dev0" +release = "0.10.0.dev0" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration @@ -55,5 +55,4 @@ # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = "alabaster" html_static_path = ["_static"] diff --git a/launch-container.sh b/launch-container.sh index 300616f..f1329de 100755 --- a/launch-container.sh +++ b/launch-container.sh @@ -1,3 +1,3 @@ #!/bin/bash CONTAINER_ENGINE="docker" -${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:v0.7.2 +${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:v0.9.0 diff --git a/pyproject.toml b/pyproject.toml index 3110062..59f1f15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "fenicsx-shells" -version = "0.8.0.dev0" +version = "0.10.0.dev0" description = "FEniCSx-Shells" readme = "README.md" requires-python = ">=3.9.0" @@ -14,7 +14,19 @@ authors = [ { name = "Jack S. Hale" }, ] dependencies = [ - "fenics-dolfinx>=0.8.0.dev0,<0.9.0", + "fenics-dolfinx>=0.10.0.dev0,<0.11.0", +] + +[project.optional-dependencies] +doc = ["myst_parser", "sphinx_rtd_theme", "sphinx"] +demo = [] +test = ["pytest"] +lint = ["ruff"] +ci = [ + "dolfinx-external-operator[doc]", + "dolfinx-external-operator[demo]", + "dolfinx-external-operator[test]", + "dolfinx-external-operator[lint]", ] [tool.ruff]