Skip to content

Commit

Permalink
Temporarily pin older markdown-it-py in pyodide (#5031)
Browse files Browse the repository at this point in the history
* Temporarily pin older markdown-it-py

* Pin in jupyterlite build

* Pin Getting started notebook
  • Loading branch information
philippjfr authored Jun 4, 2023
1 parent 480e6b0 commit 2112b44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lite/files/Getting_Started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"outputs": [],
"source": [
"import piplite\n",
"await piplite.install(['panel', 'pyodide-http', 'altair'])"
"await piplite.install(['panel', 'pyodide-http', 'altair', 'markdown-it-py<3'])"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion panel/io/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def script_to_html(
else:
panel_req = f'panel=={panel_version}'
bokeh_req = f'bokeh=={BOKEH_VERSION}'
base_reqs = [bokeh_req, panel_req]
base_reqs = ['markdown-it-py<3', bokeh_req, panel_req]
if http_patch:
base_reqs.append('pyodide-http==0.2.1')
reqs = base_reqs + [
Expand Down
2 changes: 1 addition & 1 deletion scripts/panelite/generate_panelite_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
EXAMPLES_DIR = PANEL_BASE / 'examples'
LITE_FILES = PANEL_BASE / 'lite' / 'files'
DOC_DIR = PANEL_BASE / 'doc'
BASE_DEPENDENCIES = ['panel', 'pyodide-http']
BASE_DEPENDENCIES = ['panel', 'pyodide-http', 'markdown-it-py<3']
MINIMUM_VERSIONS = {}

# Add piplite command to notebooks
Expand Down

0 comments on commit 2112b44

Please sign in to comment.