Discussion:
Bug#945389: skimage: FTBFS with python3.8 (test failures)
Add Reply
Bas Couwenberg
2019-11-24 07:40:01 UTC
Reply
Permalink
Source: skimage
Version: 0.14.2-3
Severity: serious
Justification: makes the package in question unusable or mostly so

Dear Maintainer,

Your package FTBFS as part of the python3.8 transition, see:

https://buildd.debian.org/status/fetch.php?pkg=skimage&arch=amd64&ver=0.14.2-3%2Bb1&stamp=1574494998&raw=0
https://buildd.debian.org/status/package.php?p=skimage

Kind Regards,

Bas
Andreas Tille
2019-12-02 10:50:01 UTC
Reply
Permalink
Control: tags -1 help

Hi,

I tried my luck with #945389 since two Debian Med packages are depending
from skimage. So at first I tried to upgrade to the latest upstream
version to possibly forward some reasonable bug report. Unfortunately
the build starts very early:


...
debian/rules build
py3versions: no X-Python3-Version in control file, using supported versions
/usr/bin/make -j 4 -f debian/rules _build
make[1]: Entering directory '/build/skimage-0.16.2'
py3versions: no X-Python3-Version in control file, using supported versions
python3.7 debian/bin/process_pyx.py 4
Traceback (most recent call last):
File "debian/bin/process_pyx.py", line 13, in <module>
from _build import _changed, process_tempita_pyx
ImportError: cannot import name '_changed' from '_build' (/build/skimage-0.16.2/debian/bin/_build.py)
make[1]: *** [debian/rules:71: debian/build-stamp-pyx] Error 1
...


Any hint what to do?

Kind regards

Andreas.
--
http://fam-tille.de
Andreas Tille
2019-12-03 10:40:01 UTC
Reply
Permalink
Hi Ole,

I had a quick look what you mean and tried to make the build more
standard[1]. The build issues are remaining and need some work.

Kind regards, Andreas.

[1] https://salsa.debian.org/science-team/skimage/commit/d787835f7293dc105b9b8cf37d59c1f9fbf46110
Hi Andreas,
I think that is the moment where the skimage build should be simplified
to the "official" build process: Python convention is that symbols
starting with an underscore are internal only (and ofcourse subject to
quick and unannounced changes). debian/bin/process_pyx.py however
depends on them (_build.py and f.e. the _changed() function). IMO this
should be taken out completely in favor of a standard, simplified build.
No idea however how difficult this is.
Cheers
Ole
Post by Andreas Tille
I tried my luck with #945389 since two Debian Med packages are depending
from skimage. So at first I tried to upgrade to the latest upstream
version to possibly forward some reasonable bug report. Unfortunately
...
debian/rules build
py3versions: no X-Python3-Version in control file, using supported versions
/usr/bin/make -j 4 -f debian/rules _build
make[1]: Entering directory '/build/skimage-0.16.2'
py3versions: no X-Python3-Version in control file, using supported versions
python3.7 debian/bin/process_pyx.py 4
File "debian/bin/process_pyx.py", line 13, in <module>
from _build import _changed, process_tempita_pyx
ImportError: cannot import name '_changed' from '_build' (/build/skimage-0.16.2/debian/bin/_build.py)
make[1]: *** [debian/rules:71: debian/build-stamp-pyx] Error 1
...
--
http://fam-tille.de
Loading...