Merge pull request #111847 from das-g/osmpythontools

This commit is contained in:
Sandro 2021-02-04 15:48:53 +01:00 committed by GitHub
commit fa6a0a0e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, beautifulsoup4
, geojson
, lxml
@ -13,14 +13,17 @@
buildPythonPackage rec {
pname = "osmpythontools";
version = "0.2.8";
version = "0.2.9";
src = fetchPypi {
pname = "OSMPythonTools";
inherit version;
sha256 = "8a33adbd266127e342d12da755075fae08f398032a6f0909b5e86bef13960a85";
src = fetchFromGitHub {
owner = "mocnik-science";
repo = "osm-python-tools";
rev = "v${version}";
sha256 = "1qpj03fgn8rmrg9a9vk7bw32k9hdy15g5p2q3a6q52ykpb78jdz5";
};
patches = [ ./remove-test-only-dependencies.patch ];
propagatedBuildInputs = [
beautifulsoup4
geojson
@ -32,7 +35,7 @@ buildPythonPackage rec {
xarray
];
# no tests included
# tests touch network
doCheck = false;
pythonImportsCheck = [

View File

@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 801d081..6d93128 100644
--- a/setup.py
+++ b/setup.py
@@ -19,8 +19,6 @@ setup(
'matplotlib',
'numpy',
'pandas',
- 'pytest',
- 'pytest-sugar',
'ujson',
'xarray',
],