diff -Nru hipspy-0.2/debian/changelog hipspy-0.2/debian/changelog --- hipspy-0.2/debian/changelog 2018-09-14 19:59:17.000000000 +0000 +++ hipspy-0.2/debian/changelog 2018-12-31 13:20:28.000000000 +0000 @@ -1,3 +1,10 @@ +hipspy (0.2-2) unstable; urgency=medium + + * Fix HipsSurveyPropertiesList.table with latest Astropy + * Push Standards-Version to 4.3.0. No changes needed. + + -- Ole Streicher Mon, 31 Dec 2018 14:20:28 +0100 + hipspy (0.2-1) unstable; urgency=low * Initial release. (Closes: #908661) diff -Nru hipspy-0.2/debian/control hipspy-0.2/debian/control --- hipspy-0.2/debian/control 2018-09-14 19:58:06.000000000 +0000 +++ hipspy-0.2/debian/control 2018-12-31 13:20:18.000000000 +0000 @@ -13,7 +13,7 @@ python3-reproject (>=0.3.1~), python3-setuptools, python3-skimage -Standards-Version: 4.2.1 +Standards-Version: 4.3.0 Homepage: https://github.com/hipspy/hips Vcs-Git: https://salsa.debian.org/debian-astro-team/hipspy.git Vcs-Browser: https://salsa.debian.org/debian-astro-team/hipspy diff -Nru hipspy-0.2/debian/patches/Fix-HipsSurveyPropertiesList.table-with-latest-Astropy.patch hipspy-0.2/debian/patches/Fix-HipsSurveyPropertiesList.table-with-latest-Astropy.patch --- hipspy-0.2/debian/patches/Fix-HipsSurveyPropertiesList.table-with-latest-Astropy.patch 1970-01-01 00:00:00.000000000 +0000 +++ hipspy-0.2/debian/patches/Fix-HipsSurveyPropertiesList.table-with-latest-Astropy.patch 2018-12-31 13:20:09.000000000 +0000 @@ -0,0 +1,26 @@ +From: Christoph Deil +Date: Fri, 14 Dec 2018 12:23:56 +0100 +Subject: Fix HipsSurveyPropertiesList.table with latest Astropy + +--- + hips/tiles/survey.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/hips/tiles/survey.py b/hips/tiles/survey.py +index 88ef3ce..31f2c4d 100644 +--- a/hips/tiles/survey.py ++++ b/hips/tiles/survey.py +@@ -279,10 +279,11 @@ class HipsSurveyPropertiesList: + rows = [properties.data for properties in self.data] + fieldnames = sorted({key for row in rows for key in row}) + buffer = StringIO() +- writer = DictWriter(buffer, fieldnames=fieldnames) ++ writer = DictWriter(buffer, fieldnames=fieldnames, dialect='unix') + writer.writeheader() + writer.writerows(rows) +- return Table.read(buffer.getvalue(), format='ascii.csv', guess=False) ++ txt = buffer.getvalue() ++ return Table.read(txt, format='ascii.csv', guess=False, fast_reader=False) + + def from_name(self, name: str) -> 'HipsSurveyProperties': + """Return a matching HiPS survey (`HipsSurveyProperties`).""" diff -Nru hipspy-0.2/debian/patches/series hipspy-0.2/debian/patches/series --- hipspy-0.2/debian/patches/series 2018-09-12 15:07:43.000000000 +0000 +++ hipspy-0.2/debian/patches/series 2018-12-31 13:20:09.000000000 +0000 @@ -1,2 +1,3 @@ Use-astropy_helpers-provided-by-the-system.patch Fix-numpy-doctest-incompatibility.patch +Fix-HipsSurveyPropertiesList.table-with-latest-Astropy.patch