Merge pull request #234234 from imincik/fiona-1.9.4

python3Packages.fiona: 1.9.1 -> 1.9.4
This commit is contained in:
Nikolay Korotkiy 2023-07-21 02:10:52 +04:00 committed by GitHub
commit 46316cc0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,17 +19,16 @@
buildPythonPackage rec {
pname = "fiona";
version = "1.9.1";
version = "1.9.4";
format = "pyproject";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "Toblerity";
repo = "Fiona";
rev = "refs/tags/${version}";
hash = "sha256-2CGLkgnpCAh9G+ILol5tmRj9S6/XeKk8eLzGEODiyP8=";
hash = "sha256-v4kTjoGu4AiEepBrGyY1e1OFC1eCk/U6f8XA/vtfY0E=";
};
nativeBuildInputs = [
@ -49,7 +48,6 @@ buildPythonPackage rec {
cligj
click-plugins
munch
setuptools
];
passthru.optional-dependencies = {
@ -66,12 +64,27 @@ buildPythonPackage rec {
rm -r fiona # prevent importing local fiona
'';
disabledTests = [
# Some tests access network, others test packaging
"http" "https" "wheel"
pytestFlagsArray = [
# Tests with gdal marker do not test the functionality of Fiona,
# but they are used to check GDAL driver capabilities.
"-m 'not gdal'"
];
pythonImportsCheck = [ "fiona" ];
disabledTests = [
# Some tests access network, others test packaging
"http"
"https"
"wheel"
# see: https://github.com/Toblerity/Fiona/issues/1273
"test_append_memoryfile_drivers"
];
pythonImportsCheck = [
"fiona"
];
doInstallCheck = true;
meta = with lib; {
changelog = "https://github.com/Toblerity/Fiona/blob/${src.rev}/CHANGES.txt";