PcbDraw
PcbDraw copied to clipboard
Support mistune >= 2.0.0
Hi! This project is packaged on Arch Linux and we would like to be able to get rid of our python-mistune1 package (which ships mistune < 2.0.0).
It would be awesome if pcbdraw could work with current mistune (https://pypi.org/project/mistune/) which is >= 2.0.0 as that would allow us to move on :)
Hi, I can arrange that with the upcoming v1 release. I cannot promise you any deadline, though. If you would like to speed this up, you can submit a PR.
I agree with this, if I'm also willing to help if I get time
@yaqwsx Thanks. As I have no idea how your codebase works and the renderer code seems pretty custom, I don't think I have the time to spend on this unfortunately. It doesn't look overly complex though, so if @pintert3 or anyone else is up for the task, that'd be awesome! :)
Just a note: the only place where mistune is used is in the populate functionality located in https://github.com/yaqwsx/PcbDraw/blob/master/pcbdraw/populate.py
What we do is we add a new tag into the markdown parser - the one that renders a board with new components added.
Thanks, that'll help a lot
I merged the PR. I will take a week or two for final testing, and then I will release version 1.0.0 of PcbDraw.
v1 was released, closing.