Package: python-memprof
Version: 0.3.2-1

Hello,

python-memprof's autopkgtest currently fails [1]:

| Traceback (most recent call last):
|   File "setup.py", line 19, in <module>
|     from setuptools import setup, Extension
| ImportError: No module named 'setuptools'

When adding that to debian/tests/control, it fails further, as it
wants to build the package first.

Adding a "build-needed" restriction fixes that as it installs
all build dependencies. But this would be wrong: an autopkgtest must
not test the module in the source tree, but the *installed* package,
otherwise it's quite pointless. So I suggest the autopkgtest should
invoke the actual tests directly without the build system, and also
take care that any Python imports don't use the module from the source
tree (as PYTHONPATH implicitly contains ".").

Thanks,

Martin

[1] https://jenkins.qa.ubuntu.com/job/trusty-adt-python-memprof/1
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to