Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Dear release team,

please unblock astroquery in the current freeze.

It solves #860709, "astroquery: FTBFS on i386: dh_auto_test: pybuild --test -i 
python{version} -p 2.7 returned exit code 13",
severity: serious.

Changelog entry:


astroquery (0.3.4+dfsg-3) unstable; urgency=medium

  * Fix test failures on 32 bits architectures (Closes: #860709)

 -- Vincent Prat <vincep...@free.fr>  Sat, 22 Apr 2017 18:44:31 +0200


The debdiff is attached. Requested commands:

unblock astroquery/0.3.4+dfsg-3

diff -Nru astroquery-0.3.4+dfsg/debian/changelog 
astroquery-0.3.4+dfsg/debian/changelog
--- astroquery-0.3.4+dfsg/debian/changelog      2017-04-22 21:05:04.000000000 
+0200
+++ astroquery-0.3.4+dfsg/debian/changelog      2017-04-22 19:50:19.000000000 
+0200
@@ -1,3 +1,9 @@
+astroquery (0.3.4+dfsg-3) unstable; urgency=medium
+
+  * Fix test failures on 32 bits architectures (Closes: #860709)
+
+ -- Vincent Prat <vincep...@free.fr>  Sat, 22 Apr 2017 18:44:31 +0200
+
 astroquery (0.3.4+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru astroquery-0.3.4+dfsg/debian/patches/fix_tests_32_bits 
astroquery-0.3.4+dfsg/debian/patches/fix_tests_32_bits
--- astroquery-0.3.4+dfsg/debian/patches/fix_tests_32_bits      1970-01-01 
01:00:00.000000000 +0100
+++ astroquery-0.3.4+dfsg/debian/patches/fix_tests_32_bits      2017-04-22 
19:44:20.000000000 +0200
@@ -0,0 +1,13 @@
+Author: Vincent Prat <vincep...@free.fr>
+Description: Fix a series of test failures on 32 bits architectures
+--- a/astroquery/sdss/tests/test_sdss.py
++++ b/astroquery/sdss/tests/test_sdss.py
+@@ -140,6 +140,8 @@
+         for col in xid.colnames:
+             if xid[col].dtype.type is np.string_:
+                 assert xid[col] == data[col]
++            elif data[col].dtype.type is np.string_:
++                assert (map(np.string_,xid[col]) == data[col]).all()
+             else:
+                 assert_allclose(xid[col], data[col])
+ 
diff -Nru astroquery-0.3.4+dfsg/debian/patches/series 
astroquery-0.3.4+dfsg/debian/patches/series
--- astroquery-0.3.4+dfsg/debian/patches/series 2017-04-22 21:05:04.000000000 
+0200
+++ astroquery-0.3.4+dfsg/debian/patches/series 2017-04-22 18:46:40.000000000 
+0200
@@ -1,3 +1,4 @@
 pytest3
 no_auto_use_astropy_helpers.patch
 nvas_nonfree_imfits_test.patch
+fix_tests_32_bits

Reply via email to