Re: [Tools-discuss] xml2rfc license file and git repository ?

Paul Wouters <paul@nohats.ca> Wed, 13 February 2019 20:10 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F46F128B01 for <tools-discuss@ietfa.amsl.com>; Wed, 13 Feb 2019 12:10:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0y_9RUX0WURi for <tools-discuss@ietfa.amsl.com>; Wed, 13 Feb 2019 12:10:00 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E50E1200B3 for <tools-discuss@ietf.org>; Wed, 13 Feb 2019 12:09:59 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 4409c43hsCzK85; Wed, 13 Feb 2019 21:09:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1550088596; bh=ggKWJsEWsmeH4kngoQsaXYl1ayBV2pQ9/v4wn8KWrDs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Kbhn/KSGasgLdnYmbWbFz4PspZz2QZ6JGNxiXdVTYXl+mLwBF4aGHDImOqxolJmhp 6dMRbqDNHbCGAdabGaPYajqznvHJEeO75q2cD97dzAfwajQpji7fAK0nEZ9t+4HFiP w7XTQR2zRxU+rj43v2wnl7wwRm3Escml1pGCHQHQ=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id XiE_IP0M4b-B; Wed, 13 Feb 2019 21:09:54 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Wed, 13 Feb 2019 21:09:53 +0100 (CET)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id BFA622FCBF; Wed, 13 Feb 2019 15:09:52 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca BFA622FCBF
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id B6B5040D358A; Wed, 13 Feb 2019 15:09:52 -0500 (EST)
Date: Wed, 13 Feb 2019 15:09:52 -0500
From: Paul Wouters <paul@nohats.ca>
To: Henrik Levkowetz <henrik@levkowetz.com>
cc: tools-discuss@ietf.org
In-Reply-To: <695ea802-d3eb-416a-b8f8-da0187c1b672@levkowetz.com>
Message-ID: <alpine.LRH.2.21.1902131508390.10787@bofh.nohats.ca>
References: <alpine.LRH.2.21.1902121851230.15552@bofh.nohats.ca> <6af526a4-1b57-d93c-590d-74828b41546a@levkowetz.com> <alpine.LRH.2.21.1902122038330.15552@bofh.nohats.ca> <695ea802-d3eb-416a-b8f8-da0187c1b672@levkowetz.com>
User-Agent: Alpine 2.21 (LRH 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/Q5iQYjvW0aYoCRFXNhdVHfoe7Q0>
Subject: Re: [Tools-discuss] xml2rfc license file and git repository ?
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Feb 2019 20:10:03 -0000

On Wed, 13 Feb 2019, Henrik Levkowetz wrote:

>> I've gone through a lot of python upgrading to get the fedora/centos
>> package to be up to date, but I failed to find the python pango bindings
>> it complains about when I run it. Where can these be found?
>
> They should be part of the pango install.  Fedora/centos may have some
> additional build system dependencies for the pango python bindings to
> appear, though.  On Debian/Devuan, I've installed libpango, libcairo,
> libpangocairo, and things have worked.

I thought I had installed all relevants parts. I'll check again.

> When we remove py27 support, we can rewrite without six.

Ok. Looks like I have yet another package to package up then :P

> Hmm.  As long as you didn't need to produce v3 pdf, the install without
> weasyprint, pango, and cairo should have been able to work just fine.
> Any more details on where you ran into problems?

paul@thinkpad python-xml2rfc]$ xml2rfc draft-ietf-dnsop-algorithm-update-05.xml 
Traceback (most recent call last):
   File "/usr/bin/xml2rfc", line 11, in <module>
     load_entry_point('xml2rfc==2.18.0', 'console_scripts', 'xml2rfc')()
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 476, in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 2700, in load_entry_point
     return ep.load()
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 2318, in load
     return self.resolve()
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 2324, in resolve
     module = __import__(self.module_name, fromlist=['__name__'],
level=0)
   File "/usr/lib/python3.6/site-packages/xml2rfc/__init__.py", line 52,
in <module>
     PANGO_VERSION = pango.pango_version
   File "/usr/lib64/python3.6/site-packages/cffi/api.py", line 882, in
__getattr__
     make_accessor(name)
   File "/usr/lib64/python3.6/site-packages/cffi/api.py", line 877, in
make_accessor
     raise AttributeError(name)
AttributeError: pango_version