Re: [Xml-sg-cmt] Moving xml2rfc beyond WeasyPrint 52.5

Robert Sparks <rjsparks@nostrum.com> Wed, 11 May 2022 16:54 UTC

Return-Path: <rjsparks@nostrum.com>
X-Original-To: xml-sg-cmt@ietfa.amsl.com
Delivered-To: xml-sg-cmt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6185BC1594B2 for <xml-sg-cmt@ietfa.amsl.com>; Wed, 11 May 2022 09:54:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.535
X-Spam-Level:
X-Spam-Status: No, score=-3.535 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-1.857, RCVD_IN_DNSWL_BLOCKED=0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=nostrum.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SseDvWknue5T for <xml-sg-cmt@ietfa.amsl.com>; Wed, 11 May 2022 09:54:11 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D124C159491 for <xml-sg-cmt@ietf.org>; Wed, 11 May 2022 09:54:11 -0700 (PDT)
Received: from [192.168.1.114] ([47.186.48.51]) (authenticated bits=0) by nostrum.com (8.17.1/8.16.1) with ESMTPSA id 24BGs7ER043670 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 11 May 2022 11:54:08 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1652288048; bh=KXMj7QMIiRhBjaSXeBeHvGDCf+iPeOPlWV+C36nz9Yo=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=aklT53HGfAut/O5GRU6u12aQbpvGx2l5PqpFhd28BlLW6e43Of5ZF6uKxXJv5nWaA sOUoC7GYyoxPOy2W0VGuKAoHR0qHbqnAWuhNkj7EUatRifeQSKfGnMTKEe50PB5kHA TfI5XTKi/W0Ig6zzhZmoUY7axZ/UAi/Okk3uwG10=
X-Authentication-Warning: raven.nostrum.com: Host [47.186.48.51] claimed to be [192.168.1.114]
Message-ID: <3a996e56-9afb-bdf3-9edf-6b995c1400a8@nostrum.com>
Date: Wed, 11 May 2022 11:54:02 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0
Content-Language: en-US
To: Kesara Rathnayake <kesara@staff.ietf.org>, "xml-sg-cmt@ietf.org" <xml-sg-cmt@ietf.org>
Cc: Alice Russo <arusso@amsl.com>, Jean Mahoney <jmahoney@amsl.com>
References: <bee3b651-5c17-65c7-ecd7-e9ff07fa7cb2@staff.ietf.org>
From: Robert Sparks <rjsparks@nostrum.com>
In-Reply-To: <bee3b651-5c17-65c7-ecd7-e9ff07fa7cb2@staff.ietf.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/3_oJK2sBWwkbto_aExeGLRzhCBU>
Subject: Re: [Xml-sg-cmt] Moving xml2rfc beyond WeasyPrint 52.5
X-BeenThere: xml-sg-cmt@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Working list for the xml and style guide change management team <xml-sg-cmt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml-sg-cmt/>
List-Post: <mailto:xml-sg-cmt@ietf.org>
List-Help: <mailto:xml-sg-cmt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 May 2022 16:54:15 -0000

Fwiw, I don't see a reason not to move forward. I'm not expecting there 
to be any negative impacts on the way pdfs are rendered, but a 
spot-check with the newer versions would be warranted.

It's worth skimming the full set of changes for versions 53 and above 
here: https://github.com/Kozea/WeasyPrint/releases

RjS

On 5/10/22 11:50 PM, Kesara Rathnayake wrote:
> At the moment, xml2rfc has restricted WeasyPrint to <53.
>
> I like to discuss a plan to move beyond WeasyPrint 52.5.
>
> Maybe a list of RFC PDF files generated with current xml2rfc and new 
> WeasyPrint version and compare them?
>
> WeasyPrint 53 has some dependency changes. There's a PR for that by a 
> member [1].
> The latest WeasyPrint version available is 54.3 [2].
> I think it's better to move to the latest version, for future support 
> reasons.
>
>   --Kesara
>
> [1] https://github.com/ietf-tools/xml2rfc/pull/725
> [2] https://github.com/Kozea/WeasyPrint/releases/tag/v54.3
>