[Debian-med-packaging] Bug#733271: ship all data files needed for testing
Yaroslav Halchenko
debian at onerussian.com
Fri Dec 27 23:19:07 UTC 2013
Package: python-mne
Version: 0.7-1
Severity: minor
I have spotted that the size of .orig.tar.gz is much larger than the size of
generated .deb files... primarily (besides missing -doc package ;) ) it is due
to some data files used for testing not being installed (package_data in
setup.py), which leads to failure of unittests when ran on mne "as installed":
$> grep 'No such' nose.log | sort | uniq
ERROR: Failure: IOError ([Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/realtime/tests/../../fiff/tests/data/test_raw.fif')
ERROR: Failure: IOError ([Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test_raw.fif')
Failure: IOError ([Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/realtime/tests/../../fiff/tests/data/test_raw.fif') ... ERROR
Failure: IOError ([Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test_raw.fif') ... ERROR
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/decoding/tests/../../fiff/tests/data/test_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/brainvision/tests/data/test.vhdr'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/bti/tests/data/exported4D_linux.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/bti/tests/data/test_config_linux'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/bti/tests/data/test_hs_linux'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/bti/tests/data/test_pdf_linux'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/edf/tests/data/test.bdf'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/edf/tests/data/test.edf'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/kit/tests/data/test_hsp.txt'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/kit/tests/data/test_mrk.sqd'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/kit/tests/data/test.sqd'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/tests/data/fsaverage-fiducials.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/tests/data/test-ave.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/tests/data/test_ctf_comp_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/tests/data/test_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/fiff/tests/data/test_withbads_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/layouts/tests/../../fiff/tests/data/test_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/preprocessing/tests/../../fiff/tests/data/test_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/realtime/tests/../../fiff/tests/data/test_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test-ave.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test-ave.log'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test-cov.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test-eve.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test-lh.label'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/tests/../fiff/tests/data/test_raw.fif'
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/mne/time_frequency/tests/../../fiff/tests/data/test_raw.fif'
Cheers!
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-mne depends on:
ii help2man 1.43.3
ii libgl1-mesa-dri 9.2.2-1
ii python 2.7.5-5
ii python-joblib 0.7.1-1
ii python-matplotlib 1.3.1-1
ii python-numpy 1:1.7.1-3
ii python-scipy 0.12.0-3
ii python-sklearn 0.14.1-1
ii xauth 1:1.0.7-1
ii xvfb 2:1.12.4-6
Versions of packages python-mne recommends:
pn mayavi2 <none>
ii python-nose 1.3.0-2.1
Versions of packages python-mne suggests:
ii ipython 0.13.2-2
ii python-dap 2.2.6.7-1
-- no debconf information
More information about the Debian-med-packaging
mailing list