Skip to content

Conversation

@dirks
Copy link

@dirks dirks commented Nov 24, 2021

Fixes #51

Alternative would be to pin the versions of weasyprint

setup.py

    install_requires=[
        'mkdocs>=0.17',
        'weasyprint>=0.44,<0.53',
        'beautifulsoup4>=4.6.3'
    ],

and maybe mention it in
README.md

3. WeasyPrint (Version >=0.44 to <0.53) depends on cairo, Pango and GDK-PixBuf which need to be installed separately. Please follow your platform installation instructions carefully:
    - [Linux][weasyprint-linux]
    - [MacOS][weasyprint-macos]
    - [Windows][weasyprint-windows]

@claudep
Copy link

claudep commented Dec 6, 2021

+1, this is needed... and sufficient to produce a PDF with weasyprint >= 0.53.

@gsalvatella
Copy link

@comwes could we merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support WeasyPrint 53.0

3 participants