[SCM] Core functionality for performing astronomy and astrophysics with Python branch, debian, updated. cf93dc3626c704a569584f5b4f6a96361a5a9b9f

Ole Streicher debian at liska.ath.cx
Fri Jun 21 14:32:59 UTC 2013


The following commit has been merged in the debian branch:
commit cf93dc3626c704a569584f5b4f6a96361a5a9b9f
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Jun 21 16:32:52 2013 +0200

    Fix FTBS on MIPS and MIPSEL

diff --git a/debian/changelog b/debian/changelog
index 814c57b..a86c3e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,10 @@
-python-astropy (0.2.3-1) UNRELEASED; urgency=low
+python-astropy (0.2.3-2~1) experimental; urgency=low
+
+  * Fix FTBS on MIPS and MIPSEL
+
+ -- Ole Streicher <debian at liska.ath.cx>  Fri, 21 Jun 2013 16:31:15 +0200
+
+python-astropy (0.2.3-1) unstable; urgency=low
 
   * New upstream version; incorporates all previous patches
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..51366b6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+silence_np_warning.patch
diff --git a/debian/patches/silence_np_warning.patch b/debian/patches/silence_np_warning.patch
new file mode 100644
index 0000000..68c9b4c
--- /dev/null
+++ b/debian/patches/silence_np_warning.patch
@@ -0,0 +1,17 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Silence a numpy warning on astropy/io/votable/tests/vo_test.py
+Bug: https://github.com/astropy/astropy/issues/1179
+--- a/astropy/io/votable/tests/vo_test.py
++++ b/astropy/io/votable/tests/vo_test.py
+@@ -717,8 +717,9 @@
+ 
+     # We can't test xmllint, because we can't rely on it being on the
+     # user's machine.
+-    result = validate(get_pkg_data_filename('data/regression.xml'),
+-                      output, xmllint=False)
++    with np.errstate(invalid='ignore'):
++        result = validate(get_pkg_data_filename('data/regression.xml'),
++                          output, xmllint=False)
+ 
+     assert result == False
+ 

-- 
Core functionality for performing astronomy and astrophysics with Python



More information about the debian-science-commits mailing list