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