Merge pull request #328500 from autra/folium-fix-build
python3Packages.folium: fix build and tests
This commit is contained in:
commit
2a73fda111
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user