python3Packages.fiona: 1.9.1 -> 1.9.4

* setuptools is removed from propagatedBuildInputs due to Fiona 1.9.2
dropping runtime dependency on setuptools.
See: https://github.com/Toblerity/Fiona/releases/tag/1.9.2

* broken "test_append_memoryfile_drivers" test is disabled.
See: https://github.com/Toblerity/Fiona/issues/1273

* tests with 'gdal' marker are disabled, because they don't test Fiona
  functionality. They are used to check GDAL driver capabilities.
This commit is contained in:
Ivan Mincik
2023-05-30 09:56:43 +02:00
parent 760c080184
commit 3b3e8d90e1
@@ -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";