mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
pythonPackages.osmnx: cleanup disabled tests
This commit is contained in:
parent
bdc43cd4b5
commit
48752d0cfd
|
@ -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.";
|
||||
|
|
Loading…
Reference in a new issue