From b7ed87e2cfbc833623b605b8961c7c9432f15ef8 Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 2 May 2026 07:42:24 -0400 Subject: [PATCH 1/8] Pin notebook-frontends to commit c867395 Until we have stuff merged. --- .gitmodules | 5 +++-- Makefile | 11 +++++++---- Mathics3-notebook-frontends | 2 +- index.html | 18 ++++++++++++------ requirements.txt | 9 +++++++++ 5 files changed, 32 insertions(+), 13 deletions(-) diff --git a/.gitmodules b/.gitmodules index a5a0203..079e5fd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "Mathics3-notebook-frontends"] - path = Mathics3-notebook-frontends - url = https://github.com/Mathics3/Mathics3-notebook-frontends.git + path = Mathics3-notebook-frontends + url = https://github.com/Mathics3/Mathics3-notebook-frontends.git + branch = update-to-mathics-10 diff --git a/Makefile b/Makefile index 5dc307b..6184aee 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,16 @@ -.PHONY: all serve +.PHONY: all serve wheel +NOTEBOOK_VERSION=1.0.0 +NOTEBOOK_WHEEL=pypi/Mathics3_notebook_frontends-$(NOTEBOOK_VERSION)-py3-none-any.whl #: Build everything -all: pypi/Mathics3_notebook_frontends-0.1.0-py3-none-any.whl +all: $(NOTEBOOK_WHEEL) jupyter lite build --contents content --output-dir dist cp -f index.html dist/index.html -pypi/Mathics3_notebook_frontends-0.1.0-py3-none-any.whl: +#: Make Build everything +$(NOTEBOOK_WHEEL): cd Mathics3-notebook-frontends && python3 -m build - cp -f Mathics3-notebook-frontends/dist/[Mm]athics3_notebook_frontends-0.1.0-py3-none-any.whl $@ + cp -f Mathics3-notebook-frontends/dist/[Mm]athics3_notebook_frontends-${NOTEBOOK_VERSION}-py3-none-any.whl $@ #: Start a HTTP webserver running Mathics3-live serve: all diff --git a/Mathics3-notebook-frontends b/Mathics3-notebook-frontends index ef0399e..c867395 160000 --- a/Mathics3-notebook-frontends +++ b/Mathics3-notebook-frontends @@ -1 +1 @@ -Subproject commit ef0399e0ce081549b5b31727542f22786083c87a +Subproject commit c867395d00aae4ba1efdfd5e898f519a14e36880 diff --git a/index.html b/index.html index 436f8c7..a42b028 100644 --- a/index.html +++ b/index.html @@ -13,8 +13,8 @@ --card-bg: #ffffff; } - .container, - .sidebar_card, + .container, + .sidebar_card, .row, #main, aside { @@ -117,7 +117,7 @@ .row { flex-direction: column; } - + aside { width: 100%; } @@ -192,13 +192,19 @@
-

Mathics3 Live

+

Mathics3 Live Shell