Your message dated Mon, 23 May 2016 00:00:29 +0000
with message-id <e1b4dil-0004mv...@franck.debian.org>
and subject line Bug#813781: fixed in healpy 1.9.1-1
has caused the Debian Bug report #813781,
regarding healpy: FTBFS: ValueError: Header update sequence item #0 is invalid; 
the item must either be a 2-tuple containing a keyword and value, or a 3-tuple 
containing a keyword, value, and comment string.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
813781: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813781
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: healpy
Version: 1.8.1-1.1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

healpy fails to build from source in unstable/amd64:

  [..]

  
      def update(self, *args, **kwargs):
          """
              Update the Header with new keyword values, updating the values of
              existing keywords and appending new keywords otherwise; similar to
              `dict.update`.
      
              `update` accepts either a dict-like object or an iterable.  In the
              former case the keys must be header keywords and the values may be
              either scalar values or (value, comment) tuples.  In the case of 
an
              iterable the items must be (keyword, value) tuples or (keyword, 
value,
              comment) tuples.
      
              Arbitrary arguments are also accepted, in which case the update() 
is
              called again with the kwargs dict as its only argument.  That is,
      
              ::
      
                  >>> header.update(NAXIS1=100, NAXIS2=100)
      
              is equivalent to::
      
                  >>> header.update({'NAXIS1': 100, 'NAXIS2': 100})
              """
      
          if args:
              other = args[0]
          else:
              other = None
      
          def update_from_dict(k, v):
              if not isinstance(v, tuple):
                  card = Card(k, v)
              elif 0 < len(v) <= 2:
                  card = Card(*((k,) + v))
              else:
                  raise ValueError(
                      'Header update value for key %r is invalid; the value '
                      'must be either a scalar, a 1-tuple containing the '
                      'scalar value, or a 2-tuple containing the value and a '
                      'comment string.' % k)
              self._update(card)
      
          if other is None:
              pass
          elif hasattr(other, 'iteritems'):
              for k, v in other.iteritems():
                  update_from_dict(k, v)
          elif hasattr(other, 'keys'):
              for k in other.keys():
                  update_from_dict(k, other[k])
          else:
              for idx, card in enumerate(other):
                  if isinstance(card, Card):
                      self._update(card)
                  elif isinstance(card, tuple) and (1 < len(card) <= 3):
                      self._update(Card(*card))
                  else:
                      raise ValueError(
                          'Header update sequence item #%d is invalid; the '
                          'item must either be a 2-tuple containing a keyword '
                          'and value, or a 3-tuple containing a keyword, '
  >                       'value, and comment string.' % idx)
  E                   ValueError: Header update sequence item #0 is invalid; 
the item must either be a 2-tuple containing a keyword and value, or a 3-tuple 
containing a keyword, value, and comment string.
  
  /usr/lib/python2.7/dist-packages/pyfits/header.py:1017: ValueError
  ____________________ TestReadWriteCl.test_write_read_cl_II 
_____________________
  
  self = <healpy.test.test_fitsfunc.TestReadWriteCl 
testMethod=test_write_read_cl_II>
  
      def test_write_read_cl_II(self):
          cl = np.arange(1025, dtype=np.double)
  >       write_cl("test_cl.fits", cl)
  
  healpy/test/test_fitsfunc.py:84: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
  healpy/fitsfunc.py:86: in write_cl
      tbhdu.header.update('CREATOR','healpy')
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
  
  self = XTENSION= 'BINTABLE'           / binary table extension                
       ...FORM1  = 'D       '                                                   
         
  args = ('CREATOR', 'healpy'), kwargs = {}, other = 'CREATOR'
  update_from_dict = <function update_from_dict at 0x7f056f4b20c8>, idx = 0
  card = 'C'
  
      def update(self, *args, **kwargs):
          """
              Update the Header with new keyword values, updating the values of
              existing keywords and appending new keywords otherwise; similar to
              `dict.update`.
      
              `update` accepts either a dict-like object or an iterable.  In the
              former case the keys must be header keywords and the values may be
              either scalar values or (value, comment) tuples.  In the case of 
an
              iterable the items must be (keyword, value) tuples or (keyword, 
value,
              comment) tuples.
      
              Arbitrary arguments are also accepted, in which case the update() 
is
              called again with the kwargs dict as its only argument.  That is,
      
              ::
      
                  >>> header.update(NAXIS1=100, NAXIS2=100)
      
              is equivalent to::
      
                  >>> header.update({'NAXIS1': 100, 'NAXIS2': 100})
              """
      
          if args:
              other = args[0]
          else:
              other = None
      
          def update_from_dict(k, v):
              if not isinstance(v, tuple):
                  card = Card(k, v)
              elif 0 < len(v) <= 2:
                  card = Card(*((k,) + v))
              else:
                  raise ValueError(
                      'Header update value for key %r is invalid; the value '
                      'must be either a scalar, a 1-tuple containing the '
                      'scalar value, or a 2-tuple containing the value and a '
                      'comment string.' % k)
              self._update(card)
      
          if other is None:
              pass
          elif hasattr(other, 'iteritems'):
              for k, v in other.iteritems():
                  update_from_dict(k, v)
          elif hasattr(other, 'keys'):
              for k in other.keys():
                  update_from_dict(k, other[k])
          else:
              for idx, card in enumerate(other):
                  if isinstance(card, Card):
                      self._update(card)
                  elif isinstance(card, tuple) and (1 < len(card) <= 3):
                      self._update(Card(*card))
                  else:
                      raise ValueError(
                          'Header update sequence item #%d is invalid; the '
                          'item must either be a 2-tuple containing a keyword '
                          'and value, or a 3-tuple containing a keyword, '
  >                       'value, and comment string.' % idx)
  E                   ValueError: Header update sequence item #0 is invalid; 
the item must either be a 2-tuple containing a keyword and value, or a 3-tuple 
containing a keyword, value, and comment string.
  
  /usr/lib/python2.7/dist-packages/pyfits/header.py:1017: ValueError
  _____________________ TestNoCrash.test_orthview_ma_nocrash 
_____________________
  
  self = <healpy.test.test_visufunc.TestNoCrash 
testMethod=test_orthview_ma_nocrash>
  
      def test_orthview_ma_nocrash(self):
  >       orthview(self.ma)
  
  healpy/test/test_visufunc.py:42: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
  healpy/visufunc.py:708: in orthview
      cmap=cmap,norm=norm)
  healpy/projaxes.py:700: in projmap
      return super(HpxOrthographicAxes,self).projmap(map,f,**kwds)
  healpy/projaxes.py:689: in projmap
      img = super(OrthographicAxes,self).projmap(map,vec2pix_func,**kwds)
  healpy/projaxes.py:154: in projmap
      img = self.proj.projmap(map,vec2pix_func,rot=rot,coord=coord)
  healpy/projector.py:168: in projmap
      x,y = self.ij2xy()
  healpy/projector.py:862: in ij2xy
      idx = np.outer(np.ones(ysize),np.arange(xsize))
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
  
  shape = 400.0, dtype = None, order = 'C'
  
      def ones(shape, dtype=None, order='C'):
          """
          Return a new array of given shape and type, filled with ones.
      
          Parameters
          ----------
          shape : int or sequence of ints
              Shape of the new array, e.g., ``(2, 3)`` or ``2``.
          dtype : data-type, optional
              The desired data-type for the array, e.g., `numpy.int8`.  Default 
is
              `numpy.float64`.
          order : {'C', 'F'}, optional
              Whether to store multidimensional data in C- or Fortran-contiguous
              (row- or column-wise) order in memory.
      
          Returns
          -------
          out : ndarray
              Array of ones with the given shape, dtype, and order.
      
          See Also
          --------
          zeros, ones_like
      
          Examples
          --------
          >>> np.ones(5)
          array([ 1.,  1.,  1.,  1.,  1.])
      
          >>> np.ones((5,), dtype=np.int)
          array([1, 1, 1, 1, 1])
      
          >>> np.ones((2, 1))
          array([[ 1.],
                 [ 1.]])
      
          >>> s = (2,2)
          >>> np.ones(s)
          array([[ 1.,  1.],
                 [ 1.,  1.]])
      
          """
  >       a = empty(shape, dtype, order)
  E       TypeError: 'float' object cannot be interpreted as an index
  
  /usr/lib/python2.7/dist-packages/numpy/core/numeric.py:190: TypeError
  ______________________ TestNoCrash.test_orthview_nocrash 
_______________________
  
  self = <healpy.test.test_visufunc.TestNoCrash 
testMethod=test_orthview_nocrash>
  
      def test_orthview_nocrash(self):
  >       orthview(self.m)
  
  healpy/test/test_visufunc.py:27: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
  healpy/visufunc.py:708: in orthview
      cmap=cmap,norm=norm)
  healpy/projaxes.py:700: in projmap
      return super(HpxOrthographicAxes,self).projmap(map,f,**kwds)
  healpy/projaxes.py:689: in projmap
      img = super(OrthographicAxes,self).projmap(map,vec2pix_func,**kwds)
  healpy/projaxes.py:154: in projmap
      img = self.proj.projmap(map,vec2pix_func,rot=rot,coord=coord)
  healpy/projector.py:168: in projmap
      x,y = self.ij2xy()
  healpy/projector.py:862: in ij2xy
      idx = np.outer(np.ones(ysize),np.arange(xsize))
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
  
  shape = 400.0, dtype = None, order = 'C'
  
      def ones(shape, dtype=None, order='C'):
          """
          Return a new array of given shape and type, filled with ones.
      
          Parameters
          ----------
          shape : int or sequence of ints
              Shape of the new array, e.g., ``(2, 3)`` or ``2``.
          dtype : data-type, optional
              The desired data-type for the array, e.g., `numpy.int8`.  Default 
is
              `numpy.float64`.
          order : {'C', 'F'}, optional
              Whether to store multidimensional data in C- or Fortran-contiguous
              (row- or column-wise) order in memory.
      
          Returns
          -------
          out : ndarray
              Array of ones with the given shape, dtype, and order.
      
          See Also
          --------
          zeros, ones_like
      
          Examples
          --------
          >>> np.ones(5)
          array([ 1.,  1.,  1.,  1.,  1.])
      
          >>> np.ones((5,), dtype=np.int)
          array([1, 1, 1, 1, 1])
      
          >>> np.ones((2, 1))
          array([[ 1.],
                 [ 1.]])
      
          >>> s = (2,2)
          >>> np.ones(s)
          array([[ 1.,  1.],
                 [ 1.,  1.]])
      
          """
  >       a = empty(shape, dtype, order)
  E       TypeError: 'float' object cannot be interpreted as an index
  
  /usr/lib/python2.7/dist-packages/numpy/core/numeric.py:190: TypeError
  ================= 8 failed, 44 passed, 6 error in 6.95 seconds 
=================
  E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd 
/home/lamby/temp/cdt.20160205085031.zTViol37pi/healpy-1.8.1/.pybuild/pythonX.Y_2.7/build;
 python2.7 -m pytest 
  dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 --dir . 
returned exit code 13
  debian/rules:17: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 25
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160205085031.zTViol37pi/healpy-1.8.1'
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: healpy.1.8.1-1.1.unstable.amd64.log.txt.gz
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: healpy
Source-Version: 1.9.1-1

We believe that the bug you reported is fixed in the latest version of
healpy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 813...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Leo Singer <leo.sin...@ligo.org> (supplier of updated healpy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 19 May 2016 19:13:07 -0400
Source: healpy
Binary: python-healpy-data python-healpy python3-healpy
Architecture: source all amd64
Version: 1.9.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Leo Singer <leo.sin...@ligo.org>
Description:
 python-healpy - HEALPix representation of spherical data - Python interface
 python-healpy-data - HEALPix representation of spherical data - Python data
 python3-healpy - HEALPix representation of spherical data - Python3 interface
Closes: 813781
Changes:
 healpy (1.9.1-1) unstable; urgency=medium
 .
   * New upstream release.
   * Remove unnecessary pydist-overrides file.
   * Fix permissions on data files.
   * Move platform-independent data files into a new package,
     python-healpy-data.
   * Fix "FTBFS: ValueError: Header update sequence item #0 is invalid;
     the item must either be a 2-tuple containing a keyword and value, or
     a 3-tuple containing a keyword, value, and comment string." This was
     fixed by the new upstream release. (Closes: #813781)
   * Make sure that no Python bytecode is written when running unit
     tests (fixes a Lintian package-installs-python-pycache-dir warning)
   * Fix broken debian/watch file due to PyPI API changes.
Checksums-Sha1:
 b1fc58fdb6ebe32c7e5e8e8e02e83bfd68ce3acd 2578 healpy_1.9.1-1.dsc
 6e79aa5d21e8d92226dc0f6c6c6ef42fdf2ed2da 4043342 healpy_1.9.1.orig.tar.gz
 ac79d37cff09dafe2d2a777068d1188bce3ba268 4696 healpy_1.9.1-1.debian.tar.xz
 4421bf4bee8667250aa3bc9c69c9582131edde1c 1604844 
python-healpy-data_1.9.1-1_all.deb
 96262102939e9ff319671d9c380e0a50dfad0f09 499232 
python-healpy-dbgsym_1.9.1-1_amd64.deb
 758fbc9952689aeef13fd122cf15ac0433610b61 189692 python-healpy_1.9.1-1_amd64.deb
 31bec6becc7789864819bab830c4d17e9da4191d 492628 
python3-healpy-dbgsym_1.9.1-1_amd64.deb
 4f0e0809d91e54ef3a5fdd8c3dccf6f5d9df24e7 181394 
python3-healpy_1.9.1-1_amd64.deb
Checksums-Sha256:
 09c4c4b4983e1e0387cf07cf6fb60826592967a3348a5ab70db3e8cfeb495a72 2578 
healpy_1.9.1-1.dsc
 b88fcd667e0bf474335811018cb97932b5f9d5575f22d2237b6707844a121c23 4043342 
healpy_1.9.1.orig.tar.gz
 dfc1ad597617e935f5d471ee51bec12827919228f37ee7d830591f0130bea039 4696 
healpy_1.9.1-1.debian.tar.xz
 1669fc26bb705e01a822465f51a3c3cbaacf7829e23734b6a198f165a49683f3 1604844 
python-healpy-data_1.9.1-1_all.deb
 5e92885d1dedd7b12b55cb02af64acf2ca1d07f4f9204c965e2a211ab6966394 499232 
python-healpy-dbgsym_1.9.1-1_amd64.deb
 34f5398514652d6885dc3f9342938869a0677310f5455723bda6d288ae1b45a1 189692 
python-healpy_1.9.1-1_amd64.deb
 424f5776cd2153fd36caf9673621687baa054abd8df4c45973defe52dc586128 492628 
python3-healpy-dbgsym_1.9.1-1_amd64.deb
 0ab4579eeb6ca028078d808f3546924fe6c9139d1c24048368659bcc0f45f168 181394 
python3-healpy_1.9.1-1_amd64.deb
Files:
 ab1381d1950bd7571e4f99ca98d714d4 2578 python optional healpy_1.9.1-1.dsc
 5d1b082dce77e56023329496cecab48d 4043342 python optional 
healpy_1.9.1.orig.tar.gz
 08651033c09122c9ec6b3f0c22c55402 4696 python optional 
healpy_1.9.1-1.debian.tar.xz
 5e8bfbafa29f8ad137b97de45d92d2a2 1604844 python optional 
python-healpy-data_1.9.1-1_all.deb
 b925603e5f7e0f1a8be7c36dc2fa474d 499232 debug extra 
python-healpy-dbgsym_1.9.1-1_amd64.deb
 2bc6b0ec1ec6f31f6b757c87fb25b7d1 189692 python optional 
python-healpy_1.9.1-1_amd64.deb
 6052b9938ce93a5ff513e500b442fb94 492628 debug extra 
python3-healpy-dbgsym_1.9.1-1_amd64.deb
 bb06cf1c9868d7553529c7f28d4e8acf 181394 python optional 
python3-healpy_1.9.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXQduyAAoJEC/YvtrAIO7RtQYP/310NjpqZ3fPIZdSiVEitieN
mA36EusW0xFKAjWYG6TGDZ+ou8qLOK8k7HN+EBKXi+z2px4Fz600dFIRcaZz9m6o
9kjQ+n19MI8lW9t8fx95umrKKIerip+j6n9s0ppblIy0ldP18rn6CBzsRSIKx/Rr
hYkxuqfWQ8SIE61YTgecjxpYgNUOrV9rxUvWyZxRTPC9wXYl8LtBlGmb6WMYV1Rz
oGnQFpXEqgCRATR1kbTOPO59l/ue++6m8GNyFKnLia49O50YsNfVyxckDsTsK5Ix
I/62+mAwWGTdDpWI+qg8Zi4Nu6xEuhb7eQIcY9P2kXblum9a2v0zc41IuF4GRlFb
YfiGEJ6GJHwiwYx3aONEwi2XYTfGZ2BUDAkWuesLwoJZTDnu6dXAqzEWVtP5e9YG
WOYPKY/QZmlQ1pc9EaGkK/XI+koCmkbXW0DiUNwz/zDTNSL/nZ6q3/wN/5rCA5Jx
3MXahaJhf73irc3u/d2T23rTkteTHIbdFqbcsT3acb8QCdlUO4//abxbIZ3Fpayg
aOkf9lb+vm3FapSwvx0bRKYeKeMvxAnEnAu/+2GdcmZerR4CSXxuf481BOHQ+GyZ
RBbmfFfQzXEPSaSBFaaPCj6fTRpp/cx/zHhC/FF0N3mO8vTxn4o7+6zhoinpQ3Gj
kMi9eJjkgmnvv0iTJJdh
=pLZV
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to