You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks the new release of pydyf 0.11.0 has broken weasyprint.
We're seeing:
document = <weasyprint.document.Document object at 0x7f5ea25c6420>
target = <tempfile._TemporaryFileWrapper object at 0x7f5ea2617920>, zoom = 1
attachments = None, optimize_size = ('fonts',), identifier = None
variant = None, version = None, custom_metadata = False
def generate_pdf(document, target, zoom, attachments, optimize_size,
identifier, variant, version, custom_metadata):
# 0.75 = 72 PDF point per inch / 96 CSS pixel per inch
scale = zoom * 0.75
PROGRESS_LOGGER.info('Step 6 - Creating PDF')
# Set properties according to PDF variants
mark = False
if variant:
variant_function, properties = VARIANTS[variant]
if 'version' in properties:
version = properties['version']
if 'mark' in properties:
mark = properties['mark']
> pdf = pydyf.PDF((version or '1.7'), identifier)
E TypeError: PDF.__init__() takes 1 positional argument but 3 were given
In our various unit tests. pydyf 0.11.0 mentions a change to remove depreciated use of some positional arguments.
The text was updated successfully, but these errors were encountered:
Hi there.
It looks the new release of pydyf 0.11.0 has broken weasyprint.
We're seeing:
In our various unit tests. pydyf 0.11.0 mentions a change to remove depreciated use of some positional arguments.
The text was updated successfully, but these errors were encountered: