You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of expected behavior and the observed behavior
A simple panel application, which works locally, does not work after panel convert. It seems that there is a conflict with the version of markdown-it-py installed by panel on pyodide
error on web app:
ValueError: Requested 'markdown-it-py<3.0.0,>=1.0.0', but markdown-it-py==3.0.0 is already installed
Complete, minimal, self-contained example code that reproduces the issue
script.py
import panel as pn
import panel
pn.panel("hello").servable()
converted with panel convert src/dashboard/script.py --to pyodide-worker --out public
resulting script.html
ALL software version info
Package Version
aiofiles 22.1.0
aiohttp 3.8.4
aiosignal 1.3.1
aiosqlite 0.18.0
anyio 3.6.2
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
arrow 1.2.3
asttokens 2.2.1
async-timeout 4.0.2
attrs 22.2.0
auto-mix-prep 0.2.0
Babel 2.12.1
backcall 0.2.0
beautifulsoup4 4.12.0
bleach 6.0.0
bokeh 3.1.1
certifi 2022.12.7
cffi 1.15.1
charset-normalizer 3.1.0
colorama 0.4.6
comm 0.1.3
contourpy 1.0.7
debugpy 1.6.6
decorator 5.1.1
defusedxml 0.7.1
docopt 0.6.2
et-xmlfile 1.1.0
executing 1.2.0
fastjsonschema 2.16.3
fqdn 1.5.1
frozenlist 1.3.3
idna 3.4
ipykernel 6.22.0
ipython 8.12.0
ipython-genutils 0.2.0
isoduration 20.11.0
jedi 0.18.2
Jinja2 3.1.2
json5 0.9.11
jsonpointer 2.3
jsonschema 4.17.3
jupyter_client 8.1.0
jupyter_core 5.3.0
jupyter-events 0.6.3
jupyter_server 2.5.0
jupyter_server_fileid 0.8.0
jupyter_server_terminals 0.4.4
jupyter_server_ydoc 0.8.0
jupyter-ydoc 0.2.3
jupyterlab 3.6.3
jupyterlab-pygments 0.2.2
jupyterlab_server 2.22.0
linkify-it-py 2.0.2
Markdown 3.4.3
markdown-it-py 2.2.0
MarkupSafe 2.1.2
matplotlib-inline 0.1.6
mdit-py-plugins 0.3.5
mdurl 0.1.2
mistune 2.0.5
multidict 6.0.4
nbclassic 0.5.4
nbclient 0.7.3
nbconvert 7.3.0
nbformat 5.8.0
nest-asyncio 1.5.6
notebook 6.5.3
notebook_shim 0.2.2
numpy 1.24.2
openpyxl 3.1.2
packaging 23.0
pandas 2.0.0
pandocfilters 1.5.0
panel 1.0.4
param 1.13.0
parso 0.8.3
pickleshare 0.7.5
Pillow 9.5.0
pip 23.0.1
pipreqs 0.4.11
platformdirs 3.2.0
prometheus-client 0.16.0
prompt-toolkit 3.0.38
psutil 5.9.4
pure-eval 0.2.2
pycparser 2.21
pyct 0.5.0
pydub 0.25.1
Pygments 2.14.0
pyrsistent 0.19.3
python-dateutil 2.8.2
python-json-logger 2.0.7
pytz 2023.3
pyviz-comms 2.2.1
pywin32 306
pywinpty 2.0.10
PyYAML 6.0
pyzmq 25.0.2
requests 2.28.2
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
Send2Trash 1.8.0
setuptools 65.6.3
six 1.16.0
sniffio 1.3.0
soupsieve 2.4
stack-data 0.6.2
terminado 0.17.1
tinycss2 1.2.1
tornado 6.2
tqdm 4.65.0
traitlets 5.9.0
typing_extensions 4.5.0
tzdata 2023.3
uc-micro-py 1.0.2
uri-template 1.2.0
urllib3 1.26.15
wcwidth 0.2.6
webcolors 1.13
webencodings 0.5.1
websocket-client 1.5.1
wheel 0.38.4
wincertstore 0.2
xyzservices 2023.5.0
y-py 0.5.9
yarg 0.1.9
yarl 1.8.2
ypy-websocket 0.8.2
Description of expected behavior and the observed behavior
A simple panel application, which works locally, does not work after panel convert. It seems that there is a conflict with the version of
markdown-it-py
installed bypanel
on pyodideerror on web app:
ValueError: Requested 'markdown-it-py<3.0.0,>=1.0.0', but markdown-it-py==3.0.0 is already installed
Complete, minimal, self-contained example code that reproduces the issue
script.py
converted with
panel convert src/dashboard/script.py --to pyodide-worker --out public
resulting script.html
resulting script.js:
served with
python -m http.server
Stack traceback and/or browser JavaScript console output
ValueError: Requested 'markdown-it-py<3.0.0,>=1.0.0', but markdown-it-py==3.0.0 is already installed
Screenshots or screencasts of the bug in action
See:
The text was updated successfully, but these errors were encountered: