diff -Nru python-feather-format-0.3.1+dfsg1/debian/changelog python-feather-format-0.3.1+dfsg1/debian/changelog --- python-feather-format-0.3.1+dfsg1/debian/changelog 2020-02-18 09:22:54.000000000 +0000 +++ python-feather-format-0.3.1+dfsg1/debian/changelog 2020-08-24 09:18:26.000000000 +0000 @@ -1,8 +1,17 @@ -python-feather-format (0.3.1+dfsg1-3build1) focal; urgency=medium +python-feather-format (0.3.1+dfsg1-4) unstable; urgency=medium - * No-change rebuild to drop python3.7. + * Team upload. - -- Matthias Klose Tue, 18 Feb 2020 10:22:54 +0100 + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + * Update standards version to 4.5.0, no changes needed. + + [ Drew Parsons ] + * debian patch test_pandas.patch enables build against pandas 1.0. + Thanks Rebecca Palmer. Closes: #950924. + + -- Drew Parsons Mon, 24 Aug 2020 17:18:26 +0800 python-feather-format (0.3.1+dfsg1-3) unstable; urgency=medium diff -Nru python-feather-format-0.3.1+dfsg1/debian/control python-feather-format-0.3.1+dfsg1/debian/control --- python-feather-format-0.3.1+dfsg1/debian/control 2019-11-22 09:08:00.000000000 +0000 +++ python-feather-format-0.3.1+dfsg1/debian/control 2020-08-24 09:18:26.000000000 +0000 @@ -12,7 +12,7 @@ python3-pandas, python3-six, python3-setuptools, -Standards-Version: 4.4.1 +Standards-Version: 4.5.0 Homepage: https://github.com/wesm/feather Vcs-Git: https://salsa.debian.org/python-team/modules/python-feather-format.git Vcs-Browser: https://salsa.debian.org/python-team/modules/python-feather-format diff -Nru python-feather-format-0.3.1+dfsg1/debian/patches/series python-feather-format-0.3.1+dfsg1/debian/patches/series --- python-feather-format-0.3.1+dfsg1/debian/patches/series 2019-11-22 09:25:00.000000000 +0000 +++ python-feather-format-0.3.1+dfsg1/debian/patches/series 2020-08-24 09:18:26.000000000 +0000 @@ -1 +1,2 @@ pandas025.patch +test_pandas.patch diff -Nru python-feather-format-0.3.1+dfsg1/debian/patches/test_pandas.patch python-feather-format-0.3.1+dfsg1/debian/patches/test_pandas.patch --- python-feather-format-0.3.1+dfsg1/debian/patches/test_pandas.patch 1970-01-01 00:00:00.000000000 +0000 +++ python-feather-format-0.3.1+dfsg1/debian/patches/test_pandas.patch 2020-08-24 09:18:26.000000000 +0000 @@ -0,0 +1,30 @@ +--- python-feather-format-0.3.1+dfsg1.orig/feather/api.py ++++ python-feather-format-0.3.1+dfsg1/feather/api.py +@@ -39,9 +39,11 @@ def write_dataframe(df, path): + # TODO(wesm): pipeline conversion to Arrow memory layout + for i, name in enumerate(df.columns): + col = df.iloc[:, i] ++ if pandas.api.types.is_sparse(col): ++ col = col.sparse.to_dense() + + if pdapi.is_object_dtype(col): +- inferred_type = pandas.api.types.infer_dtype(col) ++ inferred_type = pandas.api.types.infer_dtype(col, skipna=False) + msg = ("cannot serialize column {n} " + "named {name} with dtype {dtype}".format( + n=i, name=name, dtype=inferred_type)) +--- python-feather-format-0.3.1+dfsg1.orig/feather/tests/test_reader.py ++++ python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py +@@ -343,8 +343,8 @@ class TestFeatherReader(unittest.TestCas + # GH #221 + data = {'A': [0,1,2], + 'B': [1,0,1]} +- df = pd.DataFrame(data).to_sparse(fill_value=1) +- expected = df.to_dense() ++ df = pd.DataFrame(data).astype(pd.SparseDtype(int, fill_value=1)) ++ expected = df.sparse.to_dense() + self._check_pandas_roundtrip(df, expected) + + def test_duplicate_columns(self): + + diff -Nru python-feather-format-0.3.1+dfsg1/debian/upstream/metadata python-feather-format-0.3.1+dfsg1/debian/upstream/metadata --- python-feather-format-0.3.1+dfsg1/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ python-feather-format-0.3.1+dfsg1/debian/upstream/metadata 2020-08-24 09:18:26.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/wesm/feather/issues +Bug-Submit: https://github.com/wesm/feather/issues/new +Repository: https://github.com/wesm/feather.git +Repository-Browse: https://github.com/wesm/feather