diff --git a/.copier-answers.yml b/.copier-answers.yml
index 92b8e27..9540a90 100644
--- a/.copier-answers.yml
+++ b/.copier-answers.yml
@@ -1,6 +1,6 @@
# WARNING: Do not edit this file manually.
# Any changes will be overwritten by Copier.
-_commit: v0.11.4
+_commit: v0.13.1-4-g190905c
_src_path: gh:easyscience/templates
app_docs_url: https://easyscience.github.io/imaging-app
app_doi: 10.5281/zenodo.18163581
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 6b6db79..de6e031 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -123,11 +123,14 @@ jobs:
# Build the static files for the documentation site for local inspection
# Input: docs/ directory containing the Markdown files
- # Output: site/ directory containing the generated HTML files
+ # Output: docs/site/ directory containing the generated HTML files
+ # Also verifies that mkdocstrings generated docs/site/objects.inv.
- name: Build site for local check
- run: pixi run docs-build-local
+ run: |
+ pixi run docs-build-local
+ pixi run docs-inventory-check
- # Upload the static files from the site/ directory to be used for
+ # Upload the static files from the docs/site/ directory to be used for
# local check
- name: Upload built site as artifact
uses: ./.github/actions/upload-artifact
diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml
index 0ea822e..73a5e33 100644
--- a/.github/workflows/pypi-test.yml
+++ b/.github/workflows/pypi-test.yml
@@ -43,11 +43,15 @@ jobs:
frozen: false
- name: Init pixi project
- run: pixi init easyimaging
+ run:
+ pixi init --platform linux-64 --platform osx-arm64 --platform win-64
+ easyimaging
- - name: Set the minimum system requirements
+ - name: Configure pixi platforms
working-directory: easyimaging
- run: pixi project system-requirements add macos 14.0
+ run: |
+ pixi workspace platform edit linux-64 --glibc 2.35 --no-install
+ pixi workspace platform edit osx-arm64 --macos 14.0 --no-install
- name: Add Python 3.13 from Conda
working-directory: easyimaging
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ff7e4e9..800f23d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -211,15 +211,16 @@ jobs:
echo "🔹🔸🔹🔸🔹 Python: $py_ver 🔹🔸🔹🔸🔹"
echo "Initializing pixi project"
- pixi init easyimaging_py$py_ver
+ pixi init --platform linux-64 --platform osx-arm64 --platform win-64 easyimaging_py$py_ver
cd easyimaging_py$py_ver
+ echo "Configure pixi platforms"
+ pixi workspace platform edit linux-64 --glibc 2.35 --no-install
+ pixi workspace platform edit osx-arm64 --macos 14.0 --no-install
+
echo "Adding Python $py_ver"
pixi add "python=$py_ver"
- echo "Setting macOS 14.0 as minimum required"
- pixi project system-requirements add macos 14.0
-
echo "Looking for wheel in ../dist/py$py_ver/"
ls -l "../dist/py$py_ver/"
diff --git a/docs/docs/assets/stylesheets/extra.css b/docs/docs/assets/stylesheets/extra.css
index 5bc1db1..3e9d986 100644
--- a/docs/docs/assets/stylesheets/extra.css
+++ b/docs/docs/assets/stylesheets/extra.css
@@ -364,3 +364,36 @@ h1 .label-experiment {
.label-experiment:hover {
color: white !important;
}
+
+/*
+ * FontAwesome 5 icon fix for Jupyter widget toolbars (ipympl / plopp)
+ * This is a temporary workaround until this is fixed on Plopps side
+ *
+ * Comment on the issue from Claude:
+ * embed-amd.js injects FA5 SVG-framework CSS inline, which intentionally sets
+ * content:"" on all icon classes (expecting FA5 JS to replace elements with SVGs).
+ * Since FA5 JS conflicts with RequireJS (breaking widget rendering), we instead:
+ * 1. Load FA5 webfonts via in overrides/main.html so the font file is available.
+ * 2. Use !important below to override the content:"" with the correct FA5 Solid glyphs.
+ */
+.fa::before {
+ font-family: "Font Awesome 5 Free" !important;
+ font-weight: 900 !important;
+}
+.fa-home::before { content: "\f015" !important; }
+.fa-save::before { content: "\f0c7" !important; }
+.fa-camera::before { content: "\f030" !important; }
+.fa-cube::before { content: "\f1b2" !important; }
+.fa-arrows-alt::before { content: "\f0b2" !important; }
+.fa-arrows::before { content: "\f0b2" !important; } /* FA5 equivalent: arrows-alt */
+.fa-times::before { content: "\f00d" !important; }
+.fa-plus::before { content: "\f067" !important; }
+.fa-minus::before { content: "\f068" !important; }
+.fa-search-plus::before { content: "\f00e" !important; }
+.fa-crosshairs::before { content: "\f05b" !important; }
+.fa-arrow-left::before { content: "\f060" !important; }
+.fa-arrow-right::before { content: "\f061" !important; }
+.fa-expand::before { content: "\f065" !important; }
+.fa-compress::before { content: "\f066" !important; }
+/* fa-arrows-v was removed in FA5; map to arrows-alt-v (\f338) */
+.fa-arrows-v::before { content: "\f338" !important; }
diff --git a/docs/docs/tutorials/measurement.ipynb b/docs/docs/tutorials/measurement.ipynb
index 05c8873..d923b87 100644
--- a/docs/docs/tutorials/measurement.ipynb
+++ b/docs/docs/tutorials/measurement.ipynb
@@ -11,7 +11,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 1,
"id": "bfb22357",
"metadata": {},
"outputs": [],
@@ -180,7 +180,7 @@
},
{
"cell_type": "code",
- "execution_count": 42,
+ "execution_count": 10,
"id": "5aa49556",
"metadata": {},
"outputs": [
@@ -205,7 +205,7 @@
"
Values:
array([-7.0382814 , -6.158496 , -5.2787113 , -4.398926 , -3.5191407 ,\n", + "scipp.Variable (324 Bytes)
(x: 17)float32mm-7.0382814, -6.158496, ..., 6.158496, 7.0382814Values:
array([-7.0382814 , -6.158496 , -5.2787113 , -4.398926 , -3.5191407 ,\n", " -2.6393557 , -1.7595701 , -0.87978506, 0. , 0.87978506,\n", " 1.7595701 , 2.6393552 , 3.5191412 , 4.3989263 , 5.2787113 ,\n", " 6.158496 , 7.0382814 ], dtype=float32)
Values:
array([-7.0382814 , -6.158496 , -5.2787113 , -4.398926 , -3.5191407 ,\n", + "scipp.Variable (324 Bytes)
(y: 17)float32mm-7.0382814, -6.158496, ..., 6.158496, 7.0382814Values:
array([-7.0382814 , -6.158496 , -5.2787113 , -4.398926 , -3.5191407 ,\n", " -2.6393557 , -1.7595701 , -0.87978506, 0. , 0.87978506,\n", " 1.7595701 , 2.6393552 , 3.5191412 , 4.3989263 , 5.2787113 ,\n", " 6.158496 , 7.0382814 ], dtype=float32)
Values:
array([0.02158728, 0.02163456, 0.02168185, ..., 0.09242233, 0.09246961,\n", + "scipp.Variable (11.98 KB)
(t: 1501)float64s0.022, 0.022, ..., 0.092, 0.093Values:
array([0.02158728, 0.02163456, 0.02168185, ..., 0.09242233, 0.09246961,\n", " 0.0925169 ], shape=(1501,))