Skip to content
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

pyodide compatibility #56

Open
simontaurus opened this issue May 16, 2024 · 0 comments
Open

pyodide compatibility #56

simontaurus opened this issue May 16, 2024 · 0 comments

Comments

@simontaurus
Copy link
Contributor

simontaurus commented May 16, 2024

e.g. to use https://pawamoy.github.io/markdown-exec/usage/pyodide/#exec-60--rendered (currently pyodide 0.23.0)

Can't find a pure Python 3 wheel for: 'mwparserfromhell', 'pybars3', 'pyyaml>=6.0.1'
See: https://pyodide.org/en/stable/usage/faq.html#micropip-can-t-find-a-pure-python-wheel

Solution:

  • make mwparserfromhell optional
  • Build and publish wheel for pybars3 code, pypi and pymeta3 code, pypi

Option to replace pybars3 with handlebars-py:

Remaining issues:

  • mw api returns 'Unable to continue login. Your session most likely timed out'.
  • input() and getpass() do not await input from user
simontaurus added a commit that referenced this issue Oct 27, 2024
BREAKING CHANGE: legagy code needs to call parse_main_slot()

Refs: #56
simontaurus added a commit that referenced this issue Oct 27, 2024
code relies on mwparserfromhell, which should become optional
Refs: #56
simontaurus added a commit that referenced this issue Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant