Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12125

Bug#936328: [Help] consensuscore: Python2 removal in sid/bullseye

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Andrey Rahmatullin <wrar@debian.org>
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 <zaPXX-8m-13@gated-at.bofh.it> (permalink)
References <zaOSd-7VX-7@gated-at.bofh.it> <zaOSd-7VX-9@gated-at.bofh.it> <zaOSd-7VX-7@gated-at.bofh.it>
X-Original-To Andreas Tille <andreas@an3as.eu>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Dec 7 21:39:11 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4
Reply-To Andrey Rahmatullin <wrar@debian.org>, 936328@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
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 <debian-bugs-dist@lists.debian.org> archive/latest/1572838
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
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 <debian-python@lists.debian.org>
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> <E1i3b6T-0001tW-G2@paradis.debian.org> <20191207202316.GQ5043@an3as.eu>
Xref csiph.com linux.debian.bugs.dist:986470 linux.debian.maint.python:12125

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#936328: [Help] consensuscore: Python2 removal in sid/bullseye Andreas Tille <andreas@an3as.eu> - 2019-12-07 21:30 +0100
  Bug#936328: [Help] consensuscore: Python2 removal in sid/bullseye Andrey Rahmatullin <wrar@debian.org> - 2019-12-07 22:40 +0100

csiph-web