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
PR #119 successfully fixed the BeautifulSoup replaceWith deprecation warning, but users installing from PyPI are still experiencing this warning because the fix hasn't been released yet.
PyPI version: 1.2.1 (still contains old replaceWith() code) ❌
User impact: Everyone installing via pip install mkdocs-mermaid2-plugin still gets deprecation warnings
The Warning Users See
DeprecationWarning: Call to deprecated method replaceWith. (Replaced by replace_with) -- Deprecated since version 4.0.0.
File "mkdocs_revision\standalone_mkdocs\venv\lib\site-packages\mermaid2\plugin.py", line 257, in on_post_page
tag.parent.replaceWith(new_tag)
Request
Could you please cut a new release (v1.2.2 or v1.3.0) that includes the fix from PR #119?
Workaround (for others experiencing this in the meantime)
Until a new release is available, users can install directly from master:
Summary
PR #119 successfully fixed the BeautifulSoup
replaceWithdeprecation warning, but users installing from PyPI are still experiencing this warning because the fix hasn't been released yet.Current Situation
replaceWith()code) ❌pip install mkdocs-mermaid2-pluginstill gets deprecation warningsThe Warning Users See
Request
Could you please cut a new release (v1.2.2 or v1.3.0) that includes the fix from PR #119?
Workaround (for others experiencing this in the meantime)
Until a new release is available, users can install directly from master: