summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/osmnx/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-02-16 01:26:40 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-02-16 06:56:15 +0100
commit48752d0cfdd7c1db247f5c4169fcad7781f3c8f2 (patch)
treecf21736cb7ad729e56ee767aec2d5d69e72487ee /pkgs/development/python-modules/osmnx/default.nix
parentpythonPackages.nbsmoke: add import check (diff)
downloadnixpkgs-48752d0cfdd7c1db247f5c4169fcad7781f3c8f2.tar.gz
pythonPackages.osmnx: cleanup disabled tests
Diffstat (limited to 'pkgs/development/python-modules/osmnx/default.nix')
-rwxr-xr-xpkgs/development/python-modules/osmnx/default.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/osmnx/default.nix b/pkgs/development/python-modules/osmnx/default.nix
index e1c22ddbfa3c..3cd420c7491f 100755
--- a/pkgs/development/python-modules/osmnx/default.nix
+++ b/pkgs/development/python-modules/osmnx/default.nix
@@ -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.";