Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12125
| 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 | 2019-12-07 22:40 +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> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[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
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