Open seven62 opened 3 years ago
Hi @seven62
Thanks for reporting this.
The issue you are facing when using installation of the package from the pip repo is related to #16 for which the fix is planned to be part of the next release version 1.1.0.
As I had a bit time to merge and add improvement and new features. I think I'll release earlier than planned, and hopefully it will fix issues that many of you are facing.
Regarding git installation on docker, I'll have to test before giving any diagnostic. But for now I don't have time to do so. KR.
Thanks for the update @comwes, I look forward to helping with any testing!
Following, as I am experiencing the same error. Please let me know if you need any testing done.
@tmeuze If you have a bit of time, can you test and let me know if you find out any issue that I've missed? I have merged the code fixing all issues in the master and I'm planning to release something the upcoming weekend.
Hi @comwes , sorry for the late reply. This appears to be functional for me with no error. Via pip install git+https://github.com/comwes/mkpdfs-mkdocs-plugin
on GH Actions, Ubuntu 20.04.
Thank you for all your work!
Hi @tmeuze Thank you for the testing and the feedback. I will prepare the release notes for the upcoming version. I still have to work on one last issue this weekend and hopefully I'll have time to get everything ready before end of July. :-)
Hello, thanks for all the work on this nice plugin! I want to be clear that I have no issues using this plugin on my local macOS environment when installed from git, this is specifically when building a container that is used to build content via Actions.
Context
I understand this may be a fringe case, and I'm still working out learning all things containerization. I hope this issue can be helpful for others.
Bare Metal Install (macOS):
pip install mkpdfs-mkdocs
pip install -e git+https://github.com/jwaschkau/mkpdfs-mkdocs-plugin.git#egg=mkpdfs-mkdocs
With that in mind, I moved my efforts towards getting this plugin added to the official mkdocs-material docker image workflow.
MkDocs Configuration
The plugins section of mkdocs.yml is:
Attempt 1 - Standard install
I added all of the Weasyprint dependency packages to the install list:
Dockerfile:
requirements.txt:
Error
I got the same set of errors as when I bare-metal installed with the standard pip command on my macOS box:
docker run --rm -i -v ${PWD}:/docs mkdocs-material-insiders:pdftesting build
:Attempt 2 - Install with Git
The next attempt I replaced the the standard
mkpdfs-mkdocs
package name in requirements.txt with the pip git command into the DockerfileDockerfile:
requirements.txt:
Errors
docker run --rm -i -v ${PWD}:/docs mkdocs-material-insiders:pdftesting build
:I appreciate any info, and happy to work with the community on any testing!