Bug#943935: sasview: FTBFS when multiple python3 versions are supported

Steve Langasek steve.langasek at canonical.com
Fri Nov 1 05:28:09 GMT 2019


Package: sasview
Version: 5.0.0+git20190820-3
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

The sasview package is set up in a way to iterate over all
currently-supported versions of python3 in the archive in order to build its
extension for them.  However, it only build-depends on libpython3-dev and
python-all, not on python3-all-dev or libpython3-all-dev.

The attached patch fixes the source to build-depend on python3-all-dev,
which ensures that headers are available for building against all supported
versions of the python3 interpreter, not just the current one.

This issue was discovered in Ubuntu, where the transition to python3.8 has
begun with the addition of 3.8 as a supported version.  The python3-defaults
which adds python3.8 as supported is currently in Debian experimental.  When
this python3-defaults reaches unstable, this will become a serious bug in
Debian.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru sasview-5.0.0+git20190820/debian/control sasview-5.0.0+git20190820/debian/control
--- sasview-5.0.0+git20190820/debian/control	2019-10-12 10:58:57.000000000 -0700
+++ sasview-5.0.0+git20190820/debian/control	2019-10-31 22:22:00.000000000 -0700
@@ -10,7 +10,7 @@
  dh-python,
  libpython3-dev,
  pyqt5-dev-tools,
- python3-all,
+ python3-all-dev,
  python3-bumps,
  python3-h5py,
  python3-ipython,


More information about the debian-science-maintainers mailing list