Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12122 > unrolled thread
| Started by | Andreas Tille <andreas@an3as.eu> |
|---|---|
| First post | 2019-12-07 21:30 +0100 |
| Last post | 2019-12-07 22:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2019-12-07 21:30 +0100 |
| Subject | Bug#936328: [Help] consensuscore: Python2 removal in sid/bullseye |
| Message-ID | <zaOSd-7VX-7@gated-at.bofh.it> |
Control: tags -1 help
Hi,
I tried to port consensuscore to Python3 in Git[1]. Unfortunately 2to3
was not completely successfully since I get:
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'
error: Failed to configure ConsensusCore build
E: pybuild pybuild:341: build: plugin distutils failed with: exit code=1: /usr/bin/python3.8 setup.py build.
Any hint how to fix this?
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/consensuscore
--
http://fam-tille.de
[toc] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2019-12-07 22:40 +0100 |
| Message-ID | <zaPXX-8m-13@gated-at.bofh.it> |
| In reply to | #12122 |
[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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web