Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#936328: [Help] consensuscore: Python2 removal in sid/bullseye Date: Sat, 07 Dec 2019 22:40:02 +0100 Message-ID: References: X-Original-To: Andreas Tille X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Dec 7 21:39:11 2019 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4 Reply-To: Andrey Rahmatullin , 936328@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Med Packaging Team X-Debian-Pr-Message: followup 936328 X-Debian-Pr-Package: src:consensuscore X-Debian-Pr-Keywords: sid bullseye help X-Debian-Pr-Source: consensuscore X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 35; spammy, 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--H*ct:application, 0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wrar.name; s=20160710; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=3p9ekdqXoyMUSoMdqRkiG71ej6MmuPjkGI42MExRnCI=; b=g1bzepeYz3v5DsCWvRkBJEjW4 K3n+by6wU3ZRmHRQajjDcSwjiDflhE9Lav8UreSiWQ/aBGfhiHafiD0gEIGOgX5zugIPUyPuOYVFn qp9RyKf6s+TFMOFb1tPuYDFWNJIXM+DLh5Gh7sQpVY+svlUG1r2LGwgMnPDBHjBttzLC8=; MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wYXww9TlNKyqAMAe" Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Debian-Message: from BTS X-Mailing-List: archive/latest/1572838 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 50 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 936328@bugs.debian.org, Debian Python X-Original-Date: Sun, 8 Dec 2019 02:36:02 +0500 X-Original-Message-ID: <20191207213602.GU2172@belkar.wrar.name> X-Original-References: <20191207202316.GQ5043@an3as.eu> <20191207202316.GQ5043@an3as.eu> Xref: csiph.com linux.debian.bugs.dist:986470 linux.debian.maint.python:12125 --wYXww9TlNKyqAMAe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dpybuild > 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 > boost =3D find_boost() > File "tools/find_boost", line 44, in find_boost > best_boost =3D max(boosts_found, key=3Dlambda 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. --=20 WBR, wRAR --wYXww9TlNKyqAMAe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAl3sGz4tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 2gkP+gJC2wGKoP97kBUUGGmikjSq5iB2ih6ub/A4Tp7sTbqM//fO8+1r+G5AZLWT iMw1H50YUdZy0N6LNtJFfgUm2mydqHC2DmmKi8YvubzGfTmGvLomiJvjkK2C3W5c WalL0dxhdlj8EvJfJvZwfpXNde7xec+oy2tawusq6jB/mSLnhaEE4xfL6H9VO1pA lxwXtNiBA9ZCOc6RF+dK0j4pPjTTmhAepckDmVfJNeXrZpL+oEpH6ylKSuw4DmXa edUJDIJsPUHK0jcxjZggET264cQTkIFVFemqnJD5IAAg3g8RyKslLT13hbb8xKT+ x4YTKlvkQYK7mEXM58QPjtCE9gAaq062qha8nFOfhpaES6MWNzr5YzbPU1vTDfoI FrVArd/AgETxOhPAhK0xzBNwASyYKmf3MfCq9d4+VNCCuFy9yO32nwv4NM6Yf5Fs HX4bOKNQdO4zyhRylljP1WZvX+NZkLmJ5cxzBq/FwfETYZg6IZ/ltH7Y9vW4+dOB Y3YBU2cmNA7J5vAUR23epwYxdrKUwdbBubqKwVBsWV/qjecD7rvCKxe+NXC22e5c lUtY5Fm41J/a3dxx8pxNyKfH66TzDlTZB6221KuhHhCacaxDlm7VfZYkyYfNwvYG eWDEr8XzkrxI21U5Z18zAwdFw+7jsH+8fTKP4WNkXnl+drHb =4Smv -----END PGP SIGNATURE----- --wYXww9TlNKyqAMAe--