From 86b794b1beb8a77e4d7f735527f4d0264a7b5c08 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 11 Jun 2024 11:08:57 -0700 Subject: [PATCH] Protect against a bug I got in Datasette PyOdide tests https://github.com/simonw/datasette/issues/2351 --- webworker.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webworker.js b/webworker.js index 1fb9665..c39bac1 100644 --- a/webworker.js +++ b/webworker.js @@ -72,6 +72,8 @@ async function startDatasette(settings) { # Workaround for Requested 'h11<0.13,>=0.11', but h11==0.13.0 is already installed await micropip.install("h11==0.12.0") await micropip.install("httpx==0.23") + # To avoid possible 'from typing_extensions import deprecated' error: + await micropip.install('typing-extensions>=4.12.2') await micropip.install("${datasetteToInstall}", pre=${pre}) # Install any extra ?install= dependencies install_urls = ${JSON.stringify(settings.installUrls)}