mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 23:23:36 +00:00
Merge pull request #234234 from imincik/fiona-1.9.4
python3Packages.fiona: 1.9.1 -> 1.9.4
This commit is contained in:
commit
46316cc0a8
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user