This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository python-geopandas.
commit a2827033d8f841387d486df09d037abc0e8f88d5 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Thu Jul 20 17:28:16 2017 +0200 Add patch to remove usage of assert_isinstance from pandas. (closes: #868964) --- debian/changelog | 8 +++++ ...ve-usage-of-assert_isinstance-from-pandas.patch | 35 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 44 insertions(+) diff --git a/debian/changelog b/debian/changelog index 938e55c..443092c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +python-geopandas (0.2.1-4) UNRELEASED; urgency=medium + + * Team upload. + * Add patch to remove usage of assert_isinstance from pandas. + (closes: #868964) + + -- Bas Couwenberg <sebas...@debian.org> Thu, 20 Jul 2017 17:27:44 +0200 + python-geopandas (0.2.1-3) unstable; urgency=medium * Team upload. diff --git a/debian/patches/remove-usage-of-assert_isinstance-from-pandas.patch b/debian/patches/remove-usage-of-assert_isinstance-from-pandas.patch new file mode 100644 index 0000000..ba07341 --- /dev/null +++ b/debian/patches/remove-usage-of-assert_isinstance-from-pandas.patch @@ -0,0 +1,35 @@ +Description: CLN/TST: remove usage of assert_isinstance from pandas + (deprecated/removed) (#428) +Author: Joris Van den Bossche <jorisvandenboss...@gmail.com> +Origin: https://github.com/geopandas/geopandas/commit/4abbe827b99ceb6527b035a98ad80174e18a95dc +Bug: https://github.com/geopandas/geopandas/pull/428 +Bug-Debian: https://bugs.debian.org/868964 + +--- a/geopandas/tests/util.py ++++ b/geopandas/tests/util.py +@@ -4,7 +4,6 @@ import sys + import zipfile + + from six.moves.urllib.request import urlopen +-from pandas.util.testing import assert_isinstance + + from geopandas import GeoDataFrame, GeoSeries + +@@ -195,7 +194,7 @@ def assert_geoseries_equal(left, right, + assert len(left) == len(right), "%d != %d" % (len(left), len(right)) + + if check_index_type: +- assert_isinstance(left.index, type(right.index)) ++ assert isinstance(left.index, type(right.index)) + + if check_dtype: + assert left.dtype == right.dtype, "dtype: %s != %s" % (left.dtype, +@@ -203,7 +202,7 @@ def assert_geoseries_equal(left, right, + + if check_series_type: + assert isinstance(left, GeoSeries) +- assert_isinstance(left, type(right)) ++ assert isinstance(left, type(right)) + + if check_crs: + assert(left.crs == right.crs) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..138038e --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +remove-usage-of-assert_isinstance-from-pandas.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-geopandas.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel