Files
nixpkgs/pkgs/development/python-modules/folium/default.nix
Martin Weinelt b31a483ff9 python3Packages.folium: 0.19.5 -> 0.20.0
https://github.com/python-visualization/folium/releases/tag/v0.20.0

This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:30 +02:00

86 lines
1.6 KiB
Nix

{
lib,
branca,
buildPythonPackage,
fetchFromGitHub,
geodatasets,
geopandas,
jinja2,
nbconvert,
numpy,
pandas,
pillow,
pytestCheckHook,
pythonOlder,
requests,
selenium,
setuptools,
setuptools-scm,
xyzservices,
}:
buildPythonPackage rec {
pname = "folium";
version = "0.20.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "python-visualization";
repo = "folium";
tag = "v${version}";
hash = "sha256-yLF4TdrMVEtWvGXZGbwa3OxCkdXMsN4m45rPrGDHlCU=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
branca
jinja2
numpy
requests
xyzservices
];
nativeCheckInputs = [
geodatasets
geopandas
nbconvert
pandas
pillow
pytestCheckHook
];
disabledTests = [
# Tests require internet connection
"test__repr_png_is_bytes"
"test_geojson"
"test_heat_map_with_weights"
"test_json_request"
"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"
];
disabledTestPaths = [
# Import issue with selenium.webdriver.common.fedcm
"tests/selenium"
];
pythonImportsCheck = [ "folium" ];
meta = {
description = "Make beautiful maps with Leaflet.js & Python";
homepage = "https://github.com/python-visualization/folium";
changelog = "https://github.com/python-visualization/folium/releases/tag/${src.tag}";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.geospatial ];
};
}