Merge pull request #328500 from autra/folium-fix-build

python3Packages.folium: fix build and tests
This commit is contained in:
Ivan Mincik 2024-07-21 09:26:21 +00:00 committed by GitHub
commit 2a73fda111
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
branca,
buildPythonPackage,
fetchFromGitHub,
geodatasets,
geopandas,
jinja2,
nbconvert,
@ -48,6 +49,7 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
geodatasets
geopandas
nbconvert
pandas
@ -65,6 +67,8 @@ buildPythonPackage rec {
"test_notebook"
"test_valid_png_size"
"test_valid_png"
# pooch tries to write somewhere it can, and geodatasets does not give us an env var to customize this.
"test_timedynamic_geo_json"
];
pythonImportsCheck = [ "folium" ];
@ -74,5 +78,6 @@ buildPythonPackage rec {
homepage = "https://github.com/python-visualization/folium";
changelog = "https://github.com/python-visualization/folium/blob/v${version}/CHANGES.txt";
license = with lib.licenses; [ mit ];
maintainers = lib.teams.geospatial.members;
};
}