From e2170c67c3c734d73934d22e68036a18ea627405 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 22 Sep 2022 09:31:38 -0500 Subject: [PATCH] docs: Remove requests install from JupyterLite REPL setup (#2020) * To simplify things, remove the piplite install of requests from the JupyterLite REPL setup. - Given the async nature of Pyodide, requests isn't currently useful for examples using pyhf.contrib.utils.download. c.f. Issue #1775 for context. --- docs/generate_jupyterlite_iframe.py | 2 +- docs/jupyterlite.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/generate_jupyterlite_iframe.py b/docs/generate_jupyterlite_iframe.py index 8528a14c34..6cc81be38c 100644 --- a/docs/generate_jupyterlite_iframe.py +++ b/docs/generate_jupyterlite_iframe.py @@ -4,7 +4,7 @@ def main(): code = """\ import piplite -await piplite.install(["pyhf==0.7.0rc4", "requests"]) +await piplite.install(["pyhf==0.7.0rc4"]) %matplotlib inline import pyhf\ """ diff --git a/docs/jupyterlite.rst b/docs/jupyterlite.rst index 77389b88d2..a4189fc15d 100644 --- a/docs/jupyterlite.rst +++ b/docs/jupyterlite.rst @@ -21,7 +21,7 @@ Try out now with JupyterLite_ .. raw:: html