python3Packages.plotly: 6.1.2 -> 6.2.0

Version bump, configure gitUpdater with the proper version prefix.

changelog: https://github.com/plotly/plotly.py/releases/tag/v6.2.0

diff: https://github.com/plotly/plotly.py/compare/v6.1.2...v6.2.0
This commit is contained in:
Sarah Clark
2025-07-11 15:29:05 -07:00
parent ecdbd43311
commit 244fe29c7c
@@ -38,14 +38,14 @@
buildPythonPackage rec {
pname = "plotly";
version = "6.1.2";
version = "6.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "plotly";
repo = "plotly.py";
tag = "v${version}";
hash = "sha256-+vIq//pDLaaTmRGW+oytho3TfMmLCtuIoHeFenLVcek=";
hash = "sha256-Vfj5jG0AkBjivExOx7oMoocTopWl0yMc1INpEbtlgTc=";
};
postPatch = ''
@@ -105,27 +105,34 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# fails to launch kaleido subprocess
"tests/test_optional/test_kaleido"
# numpy2 related error, RecursionError
# See: https://github.com/plotly/plotly.py/issues/4852
"tests/test_plotly_utils/validators/test_angle_validator.py"
"tests/test_plotly_utils/validators/test_any_validator.py"
"tests/test_plotly_utils/validators/test_color_validator.py"
"tests/test_plotly_utils/validators/test_colorlist_validator.py"
"tests/test_plotly_utils/validators/test_colorscale_validator.py"
"tests/test_plotly_utils/validators/test_dataarray_validator.py"
"tests/test_plotly_utils/validators/test_enumerated_validator.py"
"tests/test_plotly_utils/validators/test_fig_deepcopy.py"
"tests/test_plotly_utils/validators/test_flaglist_validator.py"
"tests/test_plotly_utils/validators/test_infoarray_validator.py"
"tests/test_plotly_utils/validators/test_integer_validator.py"
"tests/test_plotly_utils/validators/test_number_validator.py"
"tests/test_plotly_utils/validators/test_pandas_series_input.py"
"tests/test_plotly_utils/validators/test_string_validator.py"
"tests/test_plotly_utils/validators/test_xarray_input.py"
];
disabledTestPaths =
[
# Broken imports
"plotly/matplotlylib/mplexporter/tests"
# Fails to catch error when serializing document
"tests/test_optional/test_kaleido/test_kaleido.py::test_defaults"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# fails to launch kaleido subprocess
"tests/test_optional/test_kaleido"
# numpy2 related error, RecursionError
# See: https://github.com/plotly/plotly.py/issues/4852
"tests/test_plotly_utils/validators/test_angle_validator.py"
"tests/test_plotly_utils/validators/test_any_validator.py"
"tests/test_plotly_utils/validators/test_color_validator.py"
"tests/test_plotly_utils/validators/test_colorlist_validator.py"
"tests/test_plotly_utils/validators/test_colorscale_validator.py"
"tests/test_plotly_utils/validators/test_dataarray_validator.py"
"tests/test_plotly_utils/validators/test_enumerated_validator.py"
"tests/test_plotly_utils/validators/test_fig_deepcopy.py"
"tests/test_plotly_utils/validators/test_flaglist_validator.py"
"tests/test_plotly_utils/validators/test_infoarray_validator.py"
"tests/test_plotly_utils/validators/test_integer_validator.py"
"tests/test_plotly_utils/validators/test_number_validator.py"
"tests/test_plotly_utils/validators/test_pandas_series_input.py"
"tests/test_plotly_utils/validators/test_string_validator.py"
"tests/test_plotly_utils/validators/test_xarray_input.py"
];
pythonImportsCheck = [ "plotly" ];