push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,95 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
packaging,
pandas,
pyogrio,
pyproj,
rtree,
shapely,
# optional-dependencies
folium,
geoalchemy2,
geopy,
mapclassify,
matplotlib,
psycopg,
pyarrow,
sqlalchemy,
xyzservices,
}:
buildPythonPackage rec {
pname = "geopandas";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "geopandas";
repo = "geopandas";
tag = "v${version}";
hash = "sha256-7ZsO4jresikA17M8cyHskdcVnTscGHxTCLJv5p1SvfI=";
};
build-system = [ setuptools ];
dependencies = [
packaging
pandas
pyogrio
pyproj
shapely
];
optional-dependencies = {
all = [
# prevent infinite recursion
(folium.overridePythonAttrs (prevAttrs: {
doCheck = false;
}))
geoalchemy2
geopy
# prevent infinite recursion
(mapclassify.overridePythonAttrs (prevAttrs: {
doCheck = false;
}))
matplotlib
psycopg
pyarrow
sqlalchemy
xyzservices
];
};
nativeCheckInputs = [
pytestCheckHook
rtree
]
++ optional-dependencies.all;
preCheck = ''
export HOME=$(mktemp -d);
'';
disabledTests = [
# Requires network access
"test_read_file_url"
];
enabledTestPaths = [ "geopandas" ];
pythonImportsCheck = [ "geopandas" ];
meta = with lib; {
description = "Python geospatial data analysis framework";
homepage = "https://geopandas.org";
changelog = "https://github.com/geopandas/geopandas/blob/${src.tag}/CHANGELOG.md";
license = licenses.bsd3;
teams = [ teams.geospatial ];
};
}