Skip to content

Colab test notebook - #14

Merged
xtofalex merged 3 commits into
mainfrom
colab-test-notebook
Sep 28, 2026
Merged

xtofalex merged 3 commits into
mainfrom
colab-test-notebook

Conversation

@xtofalex

Copy link
Copy Markdown
Member

No description provided.

xtofalex and others added 3 commits September 28, 2026 17:16
Walks through show(), annotate(), show_instance(), selection, edit-then-show
and a larger Liberty design against the released PyPI package; linked from
python/README.md with an Open in Colab badge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/test_notebook.py executes python/notebooks/colab_test.ipynb in a real
IPython kernel via nbclient, with a spliced-in cell that plays the viewer
against the notebook's view (load_root, resolve_instance, get_properties,
instance_selected). The notebook's install cell now skips pip when
naja_schematic is importable, so CI exercises the built wheel. nbformat,
nbclient and ipykernel join the test extra. The download uses curl, which
every CI runner and Colab have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xtofalex
xtofalex merged commit 53e830e into main Sep 28, 2026
14 checks passed
xtofalex added a commit that referenced this pull request Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant