[Debian-med-packaging] Bug#936328: [Help] consensuscore: Python2 removal in sid/bullseye

Andrey Rahmatullin wrar at debian.org
Sat Dec 7 21:36:02 GMT 2019


On Sat, Dec 07, 2019 at 09:23:16PM +0100, Andreas Tille wrote:
> I tried to port consensuscore to Python3 in Git[1].  Unfortunately 2to3
> was not completely successfully since I get:
This isn't 2to3's fault.

>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.8 setup.py build.
> WARNING: '' not a valid package name; please use only .-separated package names in setup.py
> running build
> Traceback (most recent call last):
>   File "tools/find_boost", line 56, in <module>
>     boost = find_boost()
>   File "tools/find_boost", line 44, in find_boost
>     best_boost = max(boosts_found, key=lambda t: t[1])[0]
> TypeError: '>' not supported between instances of 'NoneType' and 'tuple'
Such meaningless comparisons are indeed not supported in Python3. You need
to filter out the items where version is None.

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20191208/536958d3/attachment.sig>


More information about the Debian-med-packaging mailing list