-
Notifications
You must be signed in to change notification settings - Fork 864
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
Tracking list: external extensions broken by release 3.4 #1277
Comments
Can ask what the purpose of this issue is? What is the actionable item being requested? Hmm...I guess Python Markdown doesn't have discussions enabled...that would probably be a more appropriate place for this... |
For tracking and for decision-making for myself and possibly for this repo too. I could've opened it on mkdocs repo but it's not about mkdocs. |
OK, at this point I pretty much think that these breakages should not have happened in this way. The list of known breakages certainly already seems much bigger than expected. I was trying to see how the community (mainly MkDocs) can deal with this, advocating for fixes, accepting to have to help users by pointing into the right place to report issues... But anyway I have been convinced that MkDocs can't take any reasonable step other than just preventing people from installing this newer version of Python-Markdown. Because indeed to non-technical users it will always just look like MkDocs is broken. I was trying to argue that I don't want to just punt this into the future, but it seems like I'll have to do just that.
I have to admit that part of the purpose was collecting data to be able to write this message... |
I haven't looked at the individual extensions to see what broke (nor do I have the time to go look through them all). However, I do know that the we removed support for a number of previously deprecated items in the 3.4 release. The thing is, those deprecations have been in place since version 3.0 released on 2018-09-21. In other words, the developers of the various (now broken) extensions have been ignoring deprecation warnings for the last ~3.75 years. I think we gave everyone plenty of warning. That said, of there is anything we broke which is not related to those deprecations, please point them out. |
What I have seen is related to deprecated items, yes. I agree that it was plenty of time. |
I think the main issue is that there were actually no warnings whatsoever. The website of MkDocs itself, which surely you must have updated within those last ~3.75 years, supposedly would've shown a warning every time it's built, because it has been relying on Python-Markdown/github-links (yes, within this same organization), which did not get updated until I pointed it out yesterday. |
Problem is that Python does not show DeprecationWarnings by default, unless you enable development mode. |
@mitya57 is correct. The warnings were being issued, it's just that by default Python silenced them. Unfortunately there is nothing we can do to change that. Each user/developer needs to set up their own system to alert them of such warnings. First of all, all of the deprecations were clearly identified in the release notes, so they should be of no surprise to anyone who reads them. I had intended to remove the code deprecated in 3.0 in 3.1 but held off because I recognized that most developers hadn't updated their extensions yet. In fact, in #1260 were the code was removed, I questioned whether we might want to raise some sort of Deprecation Error because I recognized that it was very likely that this would break many extensions. At least an error would clue them into why. But the decision was made to not do so as that would be unconventional. @oprypin I'm sure you are not suggesting that we never remove deprecated code because Python has set a default we don't agree with. After all, that would be ridiculous. I understand you are frustrated, but we have been more than accommodating by waiting 3.75 years and 4 point releases to remove the deprecated code. Again, if there are any issues which are not related to the long overdue removal of deprecated code, I am open to discuss them in a new issue. However, we have done everything we reasonably can to warn people of the coming deprecations. Therefore, I am closing this issue as it is not actionable. That said, if anyone has constructive suggestions for any ways to improve in how we communicate deprecations in the future, please feel free to continue the discussion here. However, arguments over past decisions will result in a user either being banned and/or the conversation being locked as the Python-Markdown development team deems appropriate. |
Don't know if it's worth commenting here about this, but I just sent this PR which fixes the problem for |
Extensions broken by #1260:
Latest release fails with Markdown 3.4 github-links#10
markdown
no longer exports version radude/mdx_truly_sane_lists#11Breaking my site with latest updates cmacmackin/markdown-include#33
Config value: 'markdown_extensions'. Error: extendMarkdown() missing 1 required positional argument: 'md_globals' mikitex70/plantuml-markdown#67
python-markdown's
version_info
is deprecated neurobin/mdx_include#7Failed loading extension "lightgallery" with mkdocs material g-provost/lightgallery-markdown#12
https://github.com/it-novum/mkdocs-featherlight
Plugin causing issues with mkdocs bmcorser/fontawesome-markdown#17
Extension broken by markdown >=3.4.0 ryneeverett/python-markdown-comments#7
Address deprecation of markdown.util.etree tomchristie/mkautodoc#33
Other projects that aren't purely extensions:
Adjust for API changes in Python-Markdown 3.0 mpastell/Pweave#167
https://salsa.debian.org/python-team/packages/cmdtest/-/blob/master/debian/patches/0001-Fix-for-new-version-of-markdown.patch
(Checkmark means that a fix is released)
I'll keep this list updated as I become aware of more.
See also: instructions for MkDocs - feel free to post there.
The text was updated successfully, but these errors were encountered: