[Python-apps-team] Bug#870426: cython: Break build dependency cycle with python-numpy
Daniel Schepler
dschepler at gmail.com
Tue Aug 1 21:04:57 UTC 2017
Source: cython
Version: 0.25.2-2
Severity: wishlist
Currently, src:cython and src:python-numpy both have Build-Depends on
each other which makes it difficult to bootstrap those packages. It
would be nice if one or the other could provide a build profile to
break this cycle.
The cython source package successfully builds if I drop the build
dependencies on python-numpy, python3-numpy, and gdb and then build
with DEB_BUILD_OPTIONS=nocheck. However, I don't really know enough
about the package to tell whether the resulting binary packages are
unchanged. If so, then it should be enough just to update
debian/control with something like:
Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~),
python-all-dev (>= 2.6.6-3~), python-all-dbg, help2man (>= 1.37.1~),
python-sphinx, python-numpy <!nocheck>, python3-all-dev,
python3-all-dbg, python3-numpy <!nocheck>, gdb <!nocheck>
Otherwise, the results might still be useful for bootstrapping; but
then you would need to have it produce renamed packages like
cython-stage1, and then update other source packages involved in
cycles to be able to build using that.
--
Daniel Schepler
More information about the Python-apps-team
mailing list