-
-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can no longer import Panel 1.0.4 in PyScript/Pyodide #5034
Comments
I'm not sure if something changed in PyScript or the wheel files - no version numbers have changed that I can see - which is really confusing. I tested the same code but reverting to Panel 0.14.4 and Bokeh 2.4.3 and that's still fine. |
I'm guessing this is probably some dependency update that has broken things and perhaps some version needs to be pinned |
This was fixed in #5031 and should be available in the next release 1.0.5 |
The problem is mdit-py-plugins which has not yet released a compatible version. They've already patched it here executablebooks/mdit-py-plugins@c297f7e but haven't released the new version yet. I also strongly dislike the fact that pyodide will not force a downgrade of an existing installed package leading to unresolvable environments like this. |
ALL software version info
Browser: Vivaldi 6.0.2979.22 (Stable channel) (64-bit)
Panel 1.0.4
Pyscript 2023.03.01
Bokeh 3.1.1
Tried pyodide 0.22.1 and pyodide 0.23.2
Description of expected behavior and the observed behavior
I was able to import Panel 1.0.4 in PyScript just yesterday but now it won't even import. It will no longer install because it apparently can't resolve a version of markdown-it-py that satisfies requirements.
Apologies if I'm raising this in the wrong place, wasn't sure if this is a Panel issue or PyScript issue.
Complete, minimal, self-contained example code that reproduces the issue
index.html
main.py
pyscript.toml
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: