From ce089ced8bfea9a51fd957a3c8680a3608aabbe9 Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Mon, 5 Oct 2026 18:15:01 -0500 Subject: [PATCH 1/2] Drop data-hero-deps: nothing reads it since the wasm runtime has the stack frozen in --- data/repos_db.json | 107 -------------------------------------- scripts/generate_sites.py | 4 +- 2 files changed, 1 insertion(+), 110 deletions(-) diff --git a/data/repos_db.json b/data/repos_db.json index 50a1690..47a1298 100644 --- a/data/repos_db.json +++ b/data/repos_db.json @@ -45,11 +45,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/audio_scope.py" }, "buttons": [ @@ -88,9 +83,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices" - ], "app_url": "https://PyDevices.github.io/assets/apps/bus_scope.py" }, "buttons": [ @@ -129,10 +121,6 @@ "width": 480, "height": 480, "shape": "square", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/signal_gen.py" }, "buttons": [ @@ -171,10 +159,6 @@ "width": 480, "height": 480, "shape": "square", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/signal_gen.py" }, "buttons": [ @@ -213,11 +197,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/audio_scope.py" }, "buttons": [ @@ -256,10 +235,6 @@ "width": 480, "height": 480, "shape": "square", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/encoder.py" }, "buttons": [ @@ -298,10 +273,6 @@ "width": 480, "height": 480, "shape": "square", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/encoder.py" }, "buttons": [ @@ -340,11 +311,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/simon.py" }, "buttons": [ @@ -383,12 +349,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pdwidgets", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/sensor_deck.py" }, "buttons": [ @@ -427,11 +387,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-palettes", - "pydevices-pygraphics" - ], "app_url": "https://PyDevices.github.io/assets/apps/palette_orb.py" }, "buttons": [ @@ -470,11 +425,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/ast_parser.py" }, "buttons": [ @@ -513,10 +463,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/mp_console.py" }, "buttons": [ @@ -555,10 +501,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/thermostat.py" }, "buttons": [ @@ -597,11 +539,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/circuit_dial.py" }, "buttons": [ @@ -640,11 +577,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/radar_scope.py" }, "buttons": [ @@ -683,11 +615,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/mobile_pad.py" }, "buttons": [ @@ -726,11 +653,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/ftp_scope.py" }, "buttons": [ @@ -769,11 +691,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/package_matrix.py" }, "buttons": [ @@ -812,11 +729,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/benchmark_deck.py" }, "buttons": [ @@ -885,10 +797,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-lvgl" - ], "app_url": "https://PyDevices.github.io/assets/apps/watch.py" }, "buttons": [ @@ -927,11 +835,6 @@ "width": 240, "height": 240, "shape": "round", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/radar_scope.py" }, "buttons": [ @@ -970,11 +873,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/polyhedron.py" }, "buttons": [ @@ -1008,11 +906,6 @@ "width": 240, "height": 240, "shape": "square", - "deps": [ - "pydevices", - "pydevices-pygraphics", - "pydevices-palettes" - ], "app_url": "https://PyDevices.github.io/assets/apps/ftp_scope.py" }, "buttons": [ diff --git a/scripts/generate_sites.py b/scripts/generate_sites.py index f8cf2b4..3376b01 100755 --- a/scripts/generate_sites.py +++ b/scripts/generate_sites.py @@ -315,14 +315,12 @@ def build_above_the_fold_html(repo_name, data): width = hero_canvas.get('width', 240) height = hero_canvas.get('height', 240) shape = hero_canvas.get('shape', 'round') - deps = hero_canvas.get('deps', ['pydevices', 'pydevices-lvgl']) - deps_str = ','.join(deps) app_url = hero_canvas.get('app_url', f'https://PyDevices.github.io/assets/apps/{app_name}.py') canvas_id = 'hero_canvas' container_class = 'hero-canvas-circle' if shape == 'round' else 'hero-canvas-square' canvas_html = ( - f'