[Python-modules-team] Bug#695955: fail upon failures in loops + do not ignore tests failures

Yaroslav Halchenko debian at onerussian.com
Fri Dec 14 18:30:08 UTC 2012

Package: python-numpy
Version: 1:1.6.2-1
Severity: wishlist
Tags: patch

Actually here are two patches (ready to be committed to SVN happen the
maintainer approves)

- one assures that all for loops are secured with set -e, so if any
command fails, the loop fails (do not remember who pointed me to this drawback
in my packages originally, thanks again ;) )

- tests failures are not ignored

  imho it is much better to submit packages with only known to fail tests
  disabled/excluded or even better resolved -- that provides some guarantee
  that there is no unknown issues left

yes -- currently it would lead to FTBFS since all (or nearly all -- that
is the point, impossible to figure out besides going through all of them 1 by
1) architectures show some kind of test failure or a crash:


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-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-numpy depends on:
ii  libatlas3-base [liblapack.so.3gf]  3.8.4-7
ii  libatlas3gf-base                   3.8.4-7
ii  libblas3 [libblas3gf]              1.2.20110419-5
ii  libblas3gf                         1.2.20110419-5
ii  libc6                              2.13-33
ii  libgcc1                            1:4.7.2-4
ii  libgfortran3                       4.7.2-4
ii  liblapack3 [liblapack3gf]          3.4.1-4
ii  liblapack3gf                       3.4.1-4
ii  libquadmath0                       4.7.2-4
ii  python                             2.7.3-3
ii  python-support                     1.0.15

python-numpy recommends no packages.

Versions of packages python-numpy suggests:
ii  gcc               4:4.7.2-1
ii  gfortran          4:4.7.1-1
ii  python-dev        2.7.3-3
ii  python-nose       1.1.2-3
pn  python-numpy-dbg  <none>
ii  python-numpy-doc  1:1.6.2-1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-safe-guard-all-for-loops-with-set-e-to-.patch
Type: text/x-diff
Size: 6674 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20121214/9893db15/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-test-rules-fail-if-tests-fail.patch
Type: text/x-diff
Size: 1879 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20121214/9893db15/attachment-0001.patch>

More information about the Python-modules-team mailing list