pythonPackages.osmnx: cleanup disabled tests

This commit is contained in:
Sandro Jäckel 2021-02-16 01:26:40 +01:00
parent bdc43cd4b5
commit 48752d0cfd
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, geopandas, descartes, matplotlib, networkx, numpy { lib, buildPythonPackage, fetchFromGitHub, geopandas, descartes, matplotlib, networkx, numpy
, pandas, requests, Rtree, shapely, pytest, coverage, coveralls, folium, scikitlearn, scipy}: , pandas, requests, Rtree, shapely, folium, scikitlearn, scipy}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "osmnx"; pname = "osmnx";
@ -14,14 +14,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ geopandas descartes matplotlib networkx numpy pandas requests Rtree shapely folium scikitlearn scipy ]; propagatedBuildInputs = [ geopandas descartes matplotlib networkx numpy pandas requests Rtree shapely folium scikitlearn scipy ];
checkInputs = [ coverage pytest coveralls ]; # requires network
#Fails when using sandboxing as it requires internet connection, works fine without it
doCheck = false; doCheck = false;
pythonImportsCheck = [ "osmnx" ];
#Check phase for the record
#checkPhase = ''
# coverage run --source osmnx -m pytest --verbose
#'';
meta = with lib; { meta = with lib; {
description = "A package to easily download, construct, project, visualize, and analyze complex street networks from OpenStreetMap with NetworkX."; description = "A package to easily download, construct, project, visualize, and analyze complex street networks from OpenStreetMap with NetworkX.";