Closed FilipSwiatczak closed 1 year ago
Hmm... I'm seeing good luck after pinning pyparsing==2.4.7
as you've done, as long as I've also installed plantuml
, e.g.
RUN curl -o plantuml.jar -L http://sourceforge.net/projects/plantuml/files/plantuml.1.2021.4.jar/download && echo "be498123d20eaea95a94b174d770ef94adfdca18 plantuml.jar" | sha1sum -c - && mv plantuml.jar /opt/plantuml.jar
RUN echo '#!/bin/sh\n\njava -jar '/opt/plantuml.jar' ${@}' >> /usr/local/bin/plantuml
Also adding notes from discord thread on the subject:
Just ran into this myself. Seems like it might be:
plantuml-markdown==3.4.2
plantuml-markdown
, while pinned to a specific version inmkdocs-techdocs-core
,plantuml-markdown
does not pin their version ofplantuml
here: https://github.com/mikitex70/plantuml-markdown/blob/master/requirements.txt#L2And
plantuml
does not pin a version ofhttplib2
here: https://github.com/dougn/python-plantuml/blob/master/requirements.txt#L2Which I think takes us full circle back to that GitHub Issue that linked.
Note: if you bump to mkdocs-techdocs-core
version 0.2.1
, the pyparsing
and slugify
run-time errors should no longer be a problem.
Hopefully the underlying issue gets resolved and we can unpin pyparsing
.
Will leave this open for a little bit in case others come looking for this.
hi @iamEAP thanks for that, can confirm 0.2.1 fixed the non-uml part again:
RUN pip3 install mkdocs-techdocs-core==0.2.1
is all that's required again. Shame about the plantuml for the time being, plantuml-markdown doesn't seem to pick up despite being part of the mkdocs-techdocs-core.
As of few days ago, my unchanged dockerfile for backstage started failing on all TechDoc page rendering. I have the mkdocs-techdocs-core 0.2.0 as part of my core backstage deployment. It throws:
My dockerfile:
Exact same issue as in: #httplib2/httplib2/issues/207
If I pin down pyparsing like:
Then it works again - but not for UML plugin, which starts to fail as below:
It seems pyparsing has had this change: https://github.com/httplib2/httplib2/issues/207#issuecomment-951634566 which causes, or contributes to this!