pythonPackages.geopandas: 0.3.0 -> 0.4.0

Additionally fix issue with tests failing for 18.09 release.

Tests required url fetch. Disabled with "not web".
This commit is contained in:
Chris Ostrouchov 2018-09-06 12:13:27 -04:00 committed by Frederik Rietdijk
parent 13050ccc0b
commit 1d6fd65957

View File

@ -1,23 +1,23 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, pandas, shapely, fiona, descartes, pyproj
, pytest }:
, pytest, Rtree }:
buildPythonPackage rec {
pname = "geopandas";
version = "0.3.0";
version = "0.4.0";
name = pname + "-" + version;
src = fetchFromGitHub {
owner = "geopandas";
repo = "geopandas";
rev = "v${version}";
sha256 = "0maafafr7sjjmlg2f19bizg06c8a5z5igmbcgq6kgmi7rklx8xxz";
sha256 = "025zpgck5pnmidvzk0805pr345rd7k6z66qb2m34gjh1814xjkhv";
};
checkInputs = [ pytest ];
checkInputs = [ pytest Rtree ];
checkPhase = ''
py.test geopandas
py.test geopandas -m "not web"
'';
propagatedBuildInputs = [