diff --git a/docs/conf.py b/docs/conf.py index 06ead2b2a7..60ab7b974d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -531,5 +531,5 @@ def setup(app): linkcheck_retries = 50 # JupyterLite configuration -# Use Path as jupyterlite-sphinx expects PosixPath -jupyterlite_dir = Path("lite") +# jupyterlite-sphinx v0.13.0+ expects str +jupyterlite_dir = str(Path("lite")) diff --git a/pyproject.toml b/pyproject.toml index f113ca1fed..034be5f52f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,7 +123,7 @@ docs = [ "ipywidgets", "sphinx-issues", "sphinx-copybutton>=0.3.2,!=0.5.1", - "jupyterlite-sphinx>=0.8.0", + "jupyterlite-sphinx>=0.13.1", # c.f. https://github.com/scikit-hep/pyhf/pull/2458 "jupyterlite-pyodide-kernel>=0.0.7", "jupytext>=1.14.0", "ipython!=8.7.0", # c.f. https://github.com/scikit-hep/pyhf/pull/2068