From 80672e6f5080e9628af8305444f74e4876c6052f Mon Sep 17 00:00:00 2001 From: Robert Schütz Date: Tue, 25 May 2021 13:54:03 +0200 Subject: pythonPackages.fiona: 1.8.18 -> 1.8.19 (#124359) --- pkgs/development/python-modules/fiona/default.nix | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/python-modules/fiona/default.nix b/pkgs/development/python-modules/fiona/default.nix index 42f1a410624ca..7318d1dc51135 100644 --- a/pkgs/development/python-modules/fiona/default.nix +++ b/pkgs/development/python-modules/fiona/default.nix @@ -1,27 +1,27 @@ { stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, pythonOlder , attrs, click, cligj, click-plugins, six, munch, enum34 -, pytest, boto3, mock, giflib, pytz -, gdal_2 # can't bump to 3 yet, https://github.com/Toblerity/Fiona/issues/745 +, pytestCheckHook, boto3, mock, giflib, pytz +, gdal , certifi }: buildPythonPackage rec { pname = "Fiona"; - version = "1.8.18"; + version = "1.8.19"; src = fetchPypi { inherit pname version; - sha256 = "b732ece0ff8886a29c439723a3e1fc382718804bb057519d537a81308854967a"; + sha256 = "b9059e0b29c2e9e6b817e53f941e77e1aca7075f986005d38db307067b60458f"; }; CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11"; nativeBuildInputs = [ - gdal_2 # for gdal-config + gdal # for gdal-config ]; buildInputs = [ - gdal_2 + gdal ] ++ lib.optionals stdenv.cc.isClang [ giflib ]; propagatedBuildInputs = [ @@ -36,16 +36,19 @@ buildPythonPackage rec { ] ++ lib.optional (!isPy3k) enum34; checkInputs = [ - pytest + pytestCheckHook boto3 ] ++ lib.optional (pythonOlder "3.4") mock; - checkPhase = '' + preCheck = '' rm -r fiona # prevent importing local fiona - # Some tests access network, others test packaging - pytest -k "not (http or https or wheel)" ''; + disabledTests = [ + # Some tests access network, others test packaging + "http" "https" "wheel" + ]; + meta = with lib; { description = "OGR's neat, nimble, no-nonsense API for Python"; homepage = "https://fiona.readthedocs.io/"; -- cgit 1.4.1