Skip to content

python3Packages.plotly: fix build with pytest 9 and numpy 2.4#493409

Merged
GaetanLepage merged 2 commits intoNixOS:masterfrom
thunze:plotly-fix
Feb 26, 2026
Merged

python3Packages.plotly: fix build with pytest 9 and numpy 2.4#493409
GaetanLepage merged 2 commits intoNixOS:masterfrom
thunze:plotly-fix

Conversation

@thunze
Copy link
Copy Markdown
Member

@thunze thunze commented Feb 23, 2026

Hydra: https://hydra.nixos.org/build/322261587/nixlog/4

pytest 9 and numpy 2.4 introduced a bunch of backward-incompatible changes that broke plotly in a few ways.

Fixes #493605

Things done

  • Built on platform:
    • x86_64-linux — python3{13,14}Packages.plotly
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

`pytest_ignore_collect` takes only `collection_path` starting with
pytest 9 [1]. Most of the paths referenced in `plotly/conftest.py`
don't exist anymore and wouldn't be collected anyway, so we can just
remove the file.

Upstream PR: plotly/plotly.py#5521

[1] https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
@thunze thunze force-pushed the plotly-fix branch 2 times, most recently from 8cd0697 to b2dd7c2 Compare February 23, 2026 19:00
@nixpkgs-ci nixpkgs-ci bot requested review from Pandapip1 and sarahec February 23, 2026 19:07
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Feb 23, 2026
Copy link
Copy Markdown
Contributor

@sarahec sarahec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on Darwin

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Feb 23, 2026
@Stebalien
Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 493409
Commit: b2dd7c22fc60aa8f7b237898b39fdbcba1a01f16


x86_64-linux

⏩ 2 packages marked as broken and skipped:
  • picosnitch
  • picosnitch.dist
❌ 178 packages failed to build:
  • alpaca
  • checkov
  • checkov.dist
  • libretranslate (python313Packages.libretranslate)
  • libretranslate.dist (python313Packages.libretranslate.dist)
  • newelle
  • prowler
  • prowler.dist
  • python313Packages.argos-translate-files
  • python313Packages.argos-translate-files.dist
  • python313Packages.argostranslate
  • python313Packages.argostranslate.dist
  • python313Packages.arviz-plots
  • python313Packages.arviz-plots.dist
  • python313Packages.ax-platform
  • python313Packages.ax-platform.dist
  • python313Packages.bambi
  • python313Packages.bambi.dist
  • python313Packages.cltk
  • python313Packages.cltk.dist
  • python313Packages.dalle-mini
  • python313Packages.dalle-mini.dist
  • python313Packages.energyflow
  • python313Packages.energyflow.dist
  • python313Packages.experiment-utilities
  • python313Packages.experiment-utilities.dist
  • python313Packages.fastai
  • python313Packages.fastai.dist
  • python313Packages.hvplot
  • python313Packages.hvplot.dist
  • python313Packages.intake
  • python313Packages.intake.dist
  • python313Packages.k-diffusion
  • python313Packages.k-diffusion.dist
  • python313Packages.kmapper
  • python313Packages.kmapper.dist
  • python313Packages.kokoro
  • python313Packages.kokoro.dist
  • python313Packages.lerobot
  • python313Packages.lerobot.dist
  • python313Packages.llama-cloud-services
  • python313Packages.llama-cloud-services.dist
  • python313Packages.llama-index
  • python313Packages.llama-index-cli
  • python313Packages.llama-index-cli.dist
  • python313Packages.llama-index-core
  • python313Packages.llama-index-core.dist
  • python313Packages.llama-index-embeddings-gemini
  • python313Packages.llama-index-embeddings-gemini.dist
  • python313Packages.llama-index-embeddings-google
  • python313Packages.llama-index-embeddings-google.dist
  • python313Packages.llama-index-embeddings-huggingface
  • python313Packages.llama-index-embeddings-huggingface.dist
  • python313Packages.llama-index-embeddings-ollama
  • python313Packages.llama-index-embeddings-ollama.dist
  • python313Packages.llama-index-embeddings-openai
  • python313Packages.llama-index-embeddings-openai.dist
  • python313Packages.llama-index-graph-stores-neo4j
  • python313Packages.llama-index-graph-stores-neo4j.dist
  • python313Packages.llama-index-graph-stores-neptune
  • python313Packages.llama-index-graph-stores-neptune.dist
  • python313Packages.llama-index-indices-managed-llama-cloud
  • python313Packages.llama-index-indices-managed-llama-cloud.dist
  • python313Packages.llama-index-legacy
  • python313Packages.llama-index-legacy.dist
  • python313Packages.llama-index-llms-ollama
  • python313Packages.llama-index-llms-ollama.dist
  • python313Packages.llama-index-llms-openai
  • python313Packages.llama-index-llms-openai-like
  • python313Packages.llama-index-llms-openai-like.dist
  • python313Packages.llama-index-llms-openai.dist
  • python313Packages.llama-index-multi-modal-llms-openai
  • python313Packages.llama-index-multi-modal-llms-openai.dist
  • python313Packages.llama-index-node-parser-docling
  • python313Packages.llama-index-node-parser-docling.dist
  • python313Packages.llama-index-readers-database
  • python313Packages.llama-index-readers-database.dist
  • python313Packages.llama-index-readers-file
  • python313Packages.llama-index-readers-file.dist
  • python313Packages.llama-index-readers-json
  • python313Packages.llama-index-readers-json.dist
  • python313Packages.llama-index-readers-llama-parse
  • python313Packages.llama-index-readers-llama-parse.dist
  • python313Packages.llama-index-readers-s3
  • python313Packages.llama-index-readers-s3.dist
  • python313Packages.llama-index-readers-twitter
  • python313Packages.llama-index-readers-twitter.dist
  • python313Packages.llama-index-readers-txtai
  • python313Packages.llama-index-readers-txtai.dist
  • python313Packages.llama-index-readers-weather
  • python313Packages.llama-index-readers-weather.dist
  • python313Packages.llama-index-vector-stores-chroma
  • python313Packages.llama-index-vector-stores-chroma.dist
  • python313Packages.llama-index-vector-stores-google
  • python313Packages.llama-index-vector-stores-google.dist
  • python313Packages.llama-index-vector-stores-milvus
  • python313Packages.llama-index-vector-stores-milvus.dist
  • python313Packages.llama-index-vector-stores-postgres
  • python313Packages.llama-index-vector-stores-postgres.dist
  • python313Packages.llama-index-vector-stores-qdrant
  • python313Packages.llama-index-vector-stores-qdrant.dist
  • python313Packages.llama-index.dist
  • python313Packages.llama-parse
  • python313Packages.llama-parse.dist
  • python313Packages.optuna-dashboard
  • python313Packages.optuna-dashboard.dist
  • python313Packages.pyannote-audio
  • python313Packages.pyannote-audio.dist
  • python313Packages.pymoo
  • python313Packages.pymoo.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.scikit-tda
  • python313Packages.scikit-tda.dist
  • python313Packages.skrl
  • python313Packages.skrl.dist
  • python313Packages.skytemple-dtef
  • python313Packages.skytemple-dtef.dist
  • python313Packages.skytemple-files
  • python313Packages.skytemple-files.dist
  • python313Packages.skytemple-ssb-debugger
  • python313Packages.skytemple-ssb-debugger.dist
  • python313Packages.spacy
  • python313Packages.spacy-curated-transformers
  • python313Packages.spacy-curated-transformers.dist
  • python313Packages.spacy-loggers
  • python313Packages.spacy-loggers.dist
  • python313Packages.spacy-lookups-data
  • python313Packages.spacy-lookups-data.dist
  • python313Packages.spacy-transformers
  • python313Packages.spacy-transformers.dist
  • python313Packages.spacy.dist
  • python313Packages.textacy
  • python313Packages.textacy.dist
  • python313Packages.textnets
  • python313Packages.textnets.dist
  • python313Packages.translatehtml
  • python313Packages.translatehtml.dist
  • python313Packages.wandb
  • python313Packages.wandb.dist
  • whisperx (python313Packages.whisperx)
  • whisperx.dist (python313Packages.whisperx.dist)
  • python314Packages.arviz-plots
  • python314Packages.arviz-plots.dist
  • python314Packages.experiment-utilities
  • python314Packages.experiment-utilities.dist
  • python314Packages.hvplot
  • python314Packages.hvplot.dist
  • python314Packages.intake
  • python314Packages.intake.dist
  • python314Packages.k-diffusion
  • python314Packages.k-diffusion.dist
  • python314Packages.kmapper
  • python314Packages.kmapper.dist
  • python314Packages.reflex
  • python314Packages.reflex-chakra
  • python314Packages.reflex-chakra.dist
  • python314Packages.reflex.dist
  • python314Packages.scikit-tda
  • python314Packages.scikit-tda.dist
  • python314Packages.skytemple-dtef
  • python314Packages.skytemple-dtef.dist
  • python314Packages.skytemple-files
  • python314Packages.skytemple-files.dist
  • python314Packages.skytemple-ssb-debugger
  • python314Packages.skytemple-ssb-debugger.dist
  • python314Packages.spacy-loggers
  • python314Packages.spacy-loggers.dist
  • python314Packages.wandb
  • python314Packages.wandb.dist
  • skytemple
  • skytemple.dist
  • tts
  • tts.dist
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
✅ 113 packages built:
  • aider-chat-full
  • aider-chat-full.dist
  • aider-chat-with-help
  • aider-chat-with-help.dist
  • apkleaks
  • apkleaks.dist
  • contact
  • contact.dist
  • cve-bin-tool
  • cve-bin-tool.dist
  • das
  • das.dist
  • deeptools
  • deeptools.dist
  • flatten-references-graph
  • flatten-references-graph.dist
  • hp2p
  • jadx
  • meshtastic
  • meshtastic.dist
  • multiqc
  • multiqc.dist
  • python313Packages.bumps
  • python313Packages.bumps.dist
  • python313Packages.chart-studio
  • python313Packages.chart-studio.dist
  • python313Packages.compressai
  • python313Packages.compressai.dist
  • python313Packages.dash
  • python313Packages.dash-bootstrap-components
  • python313Packages.dash-bootstrap-components.dist
  • python313Packages.dash-bootstrap-templates
  • python313Packages.dash-bootstrap-templates.dist
  • python313Packages.dash.dist
  • python313Packages.explorerscript
  • python313Packages.explorerscript.dist
  • python313Packages.holistic-trace-analysis
  • python313Packages.holistic-trace-analysis.dist
  • python313Packages.igraph
  • python313Packages.igraph.dist
  • python313Packages.iplotx
  • python313Packages.iplotx.dist
  • python313Packages.itables
  • python313Packages.itables.dist
  • python313Packages.leidenalg
  • python313Packages.leidenalg.dist
  • python313Packages.lida
  • python313Packages.lida.dist
  • python313Packages.meshtastic
  • python313Packages.meshtastic.dist
  • python313Packages.neurokit2
  • python313Packages.neurokit2.dist
  • python313Packages.niaarm
  • python313Packages.niaarm.dist
  • python313Packages.optuna
  • python313Packages.optuna.dist
  • python313Packages.plopp
  • python313Packages.plopp.dist
  • python313Packages.plotly
  • python313Packages.plotly.dist
  • python313Packages.pyannote-pipeline
  • python313Packages.pyannote-pipeline.dist
  • python313Packages.sasmodels
  • python313Packages.sasmodels.dist
  • python313Packages.synergy
  • python313Packages.synergy.dist
  • python314Packages.bumps
  • python314Packages.bumps.dist
  • python314Packages.chart-studio
  • python314Packages.chart-studio.dist
  • python314Packages.compressai
  • python314Packages.compressai.dist
  • python314Packages.dash
  • python314Packages.dash-bootstrap-components
  • python314Packages.dash-bootstrap-components.dist
  • python314Packages.dash-bootstrap-templates
  • python314Packages.dash-bootstrap-templates.dist
  • python314Packages.dash.dist
  • python314Packages.explorerscript
  • python314Packages.explorerscript.dist
  • python314Packages.holistic-trace-analysis
  • python314Packages.holistic-trace-analysis.dist
  • python314Packages.igraph
  • python314Packages.igraph.dist
  • python314Packages.iplotx
  • python314Packages.iplotx.dist
  • python314Packages.itables
  • python314Packages.itables.dist
  • python314Packages.leidenalg
  • python314Packages.leidenalg.dist
  • python314Packages.lida
  • python314Packages.lida.dist
  • python314Packages.meshtastic
  • python314Packages.meshtastic.dist
  • python314Packages.neurokit2
  • python314Packages.neurokit2.dist
  • python314Packages.niaarm
  • python314Packages.niaarm.dist
  • python314Packages.plopp
  • python314Packages.plopp.dist
  • python314Packages.plotly
  • python314Packages.plotly.dist
  • python314Packages.sasmodels
  • python314Packages.sasmodels.dist
  • python314Packages.synergy
  • python314Packages.synergy.dist
  • quark-engine
  • quark-engine.dist
  • sasview
  • sasview.dist
  • sptk
  • theharvester
  • theharvester.dist

Error logs: `x86_64-linux`
python313Packages.arviz-plots
    │       Data variables:
    │           mu         (ci_bound) float64 16B 0.4389 1.671
    │           theta      (hierarchy, ci_bound) float64 112B -0.07926 1.204 ... 0.7839
    │           tau        (ci_bound) float64 16B 0.4849 2.251
    └── Group: /twig
            Dimensions:    (ci_bound: 2, hierarchy: 7)
            Coordinates:
              * ci_bound   (ci_bound) <U5 40B 'lower' 'upper'
              * hierarchy  (hierarchy) int64 56B 0 1 2 3 4 5 6
            Data variables:
                mu         (ci_bound) float64 16B -0.5305 2.531
                theta      (hierarchy, ci_bound) float64 112B -0.9648 2.121 ... -1.505 1.793
                tau        (ci_bound) float64 16B 0.1426 5.474,
    visuals={},
    compact=False,  # or any other generated value
    combined=False,
)

You can reproduce this example by temporarily adding @reproduce_failure('6.150.2', b'AAAAAA==') as a decorator on your test case
============ 6 failed, 606 passed, 4 skipped in 1351.72s (0:22:31) =============

python313Packages.experiment-utilities
tests/data/test_selection.py::test_incomplete_repetition_data
  /build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values' for repetition 0 of experiment 'exp0' does not exist.
    warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

tests/data/test_selection.py::test_incomplete_repetition_data
/build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values' for repetition 1 of experiment 'exp0' does not exist.
warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

tests/data/test_selection.py::test_incomplete_repetition_data
/build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values_3' for repetition 0 of experiment 'exp0' does not exist.
warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

tests/data/test_selection.py::test_incomplete_repetition_data
/build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values_3' for repetition 1 of experiment 'exp0' does not exist.
warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/data/test_selection.py::test_different_datatypes - ValueError: setting an array element with a sequence.
===== 1 failed, 43 passed, 5 deselected, 23 warnings in 283.94s (0:04:43) ======

python313Packages.kmapper
    warnings.warn("Unknown estimator type for: %s" % (model))

test/test_mapper.py::TestLens::test_tuple_projection_fit
/build/source/kmapper/kmapper.py:1013: UserWarning: Unknown estimator type for: Lasso()
warnings.warn("Unknown estimator type for: %s" % (model))

test/test_visuals.py::TestVisualHelpers::test_visualize_graph_with_cluster_stats_above_below
test/test_visuals.py::TestVisualHelpers::test_visualize_graph_with_cluster_stats_above_below
test/test_visuals.py::TestVisualHelpers::test_cluster_stats_above
test/test_visuals.py::TestVisualHelpers::test_cluster_stats_below
test/test_visuals.py::TestVisualHelpers::test_cluster_stats_with_no_names
/build/source/kmapper/visuals.py:414: RuntimeWarning:

invalid value encountered in divide

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_mapper.py::TestLens::test_tuple_projection - UnboundLocalError: cannot access local variable 'X_blend' where it is not a...
FAILED test/test_mapper.py::TestLens::test_tuple_projection_fit - UnboundLocalError: cannot access local variable 'X_blend' where it is not a...
================== 2 failed, 100 passed, 7 warnings in 26.48s ==================

python313Packages.skytemple-files
adding 'skytemple_files/script/ssb/header.py'
adding 'skytemple_files/script/ssb/model.py'
adding 'skytemple_files/script/ssb/script_compiler.py'
adding 'skytemple_files/script/ssb/ssb_number.py'
adding 'skytemple_files/script/ssb/writer.py'
adding 'skytemple_files-1.8.5.dist-info/licenses/LICENSE'
adding 'skytemple_files-1.8.5.dist-info/METADATA'
adding 'skytemple_files-1.8.5.dist-info/WHEEL'
adding 'skytemple_files-1.8.5.dist-info/entry_points.txt'
adding 'skytemple_files-1.8.5.dist-info/top_level.txt'
adding 'skytemple_files-1.8.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built skytemple_files-1.8.5-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for skytemple_files-1.8.5-py3-none-any.whl
  - pmdsky-debug-py==10.0.48 not satisfied by version 10.2.26
python313Packages.wandb
                "Loading",
                failing_func,
            )

> assert len(test_printer.captured_text) > 0
E assert 0 > 0
E + where 0 = len([])
E + where [] = <tests.unit_tests.test_lib.test_printer_asyncio.MockDynamicTextPrinter object at 0x7ffec014fed0>.captured_text

/build/source/tests/unit_tests/test_lib/test_printer_asyncio.py:65: AssertionError
---------------------------- Captured stderr setup -----------------------------
Setting COVERAGE_FILE to /build/source/.coverage
=========================== short test summary info ============================
FAILED tests/unit_tests/test_lib/test_printer_asyncio.py::test_run_async_with_spinner - assert 0 > 0

  • where 0 = len([])
  • where [] = <tests.unit_tests.test_lib.test_printer_asyncio.MockDynamicTextPrinter object at 0x7ffebfeaea50>.captured_text
    FAILED tests/unit_tests/test_lib/test_printer_asyncio.py::test_run_async_with_spinner_exception - assert 0 > 0
  • where 0 = len([])
  • where [] = <tests.unit_tests.test_lib.test_printer_asyncio.MockDynamicTextPrinter object at 0x7ffec014fed0>.captured_text
    = 2 failed, 2046 passed, 195 skipped, 4 xfailed, 4 xpassed in 108.03s (0:01:48) =
python314Packages.arviz-plots
    │           theta      (hierarchy, ci_bound) float64 112B -0.07926 1.204 ... 0.7839
    │           tau        (ci_bound) float64 16B 0.4849 2.251
    └── Group: /twig
            Dimensions:    (ci_bound: 2, hierarchy: 7)
            Coordinates:
              * ci_bound   (ci_bound) <U5 40B 'lower' 'upper'
              * hierarchy  (hierarchy) int64 56B 0 1 2 3 4 5 6
            Data variables:
                mu         (ci_bound) float64 16B -0.5305 2.531
                theta      (hierarchy, ci_bound) float64 112B -0.9648 2.121 ... -1.505 1.793
                tau        (ci_bound) float64 16B 0.1426 5.474,
    visuals={'dist': {}},
    kind='kde',
    compact=True,
    combined=False,
)

You can reproduce this example by temporarily adding @reproduce_failure('6.150.2', b'AAFBAEEAAEEAAQA=') as a decorator on your test case
FAILED tests/test_hypothesis_plots.py::test_plot_trace_dist - DeadlineExceeded('Test took 4463.76ms, which exceeds the deadline of 3000.00ms. If you expect test cases to take this long, you can use @settings(deadline=...) to either set a higher deadline, or to disable it with deadline=None.') [single exception in FlakyFailure]
============= 5 failed, 607 passed, 4 skipped in 895.20s (0:14:55) =============

python314Packages.experiment-utilities
tests/data/test_selection.py::test_incomplete_repetition_data
  /build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values' for repetition 0 of experiment 'exp0' does not exist.
    warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

tests/data/test_selection.py::test_incomplete_repetition_data
/build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values' for repetition 1 of experiment 'exp0' does not exist.
warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

tests/data/test_selection.py::test_incomplete_repetition_data
/build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values_3' for repetition 0 of experiment 'exp0' does not exist.
warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

tests/data/test_selection.py::test_incomplete_repetition_data
/build/source/exputils/data/selection.py:191: UserWarning: Data 'rep_values_3' for repetition 1 of experiment 'exp0' does not exist.
warnings.warn('Data {!r} for repetition {!r} of experiment {!r} does not exist.'.format(datasource, rep_id, experiment_id))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/data/test_selection.py::test_different_datatypes - ValueError: setting an array element with a sequence.
===== 1 failed, 43 passed, 5 deselected, 23 warnings in 106.25s (0:01:46) ======

python314Packages.kmapper
    warnings.warn("Unknown estimator type for: %s" % (model))

test/test_mapper.py::TestLens::test_tuple_projection_fit
/build/source/kmapper/kmapper.py:1013: UserWarning: Unknown estimator type for: Lasso()
warnings.warn("Unknown estimator type for: %s" % (model))

test/test_visuals.py::TestVisualHelpers::test_visualize_graph_with_cluster_stats_above_below
test/test_visuals.py::TestVisualHelpers::test_visualize_graph_with_cluster_stats_above_below
test/test_visuals.py::TestVisualHelpers::test_cluster_stats_above
test/test_visuals.py::TestVisualHelpers::test_cluster_stats_below
test/test_visuals.py::TestVisualHelpers::test_cluster_stats_with_no_names
/build/source/kmapper/visuals.py:414: RuntimeWarning:

invalid value encountered in divide

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_mapper.py::TestLens::test_tuple_projection - UnboundLocalError: cannot access local variable 'X_blend' where it is not a...
FAILED test/test_mapper.py::TestLens::test_tuple_projection_fit - UnboundLocalError: cannot access local variable 'X_blend' where it is not a...
================== 2 failed, 100 passed, 7 warnings in 34.33s ==================

python314Packages.wandb
                "Loading",
                failing_func,
            )

> assert len(test_printer.captured_text) > 0
E assert 0 > 0
E + where 0 = len([])
E + where [] = <tests.unit_tests.test_lib.test_printer_asyncio.MockDynamicTextPrinter object at 0x7ffeb9c2ae90>.captured_text

/build/source/tests/unit_tests/test_lib/test_printer_asyncio.py:65: AssertionError
---------------------------- Captured stderr setup -----------------------------
Setting COVERAGE_FILE to /build/source/.coverage
=========================== short test summary info ============================
FAILED tests/unit_tests/test_lib/test_printer_asyncio.py::test_run_async_with_spinner - assert 0 > 0

  • where 0 = len([])
  • where [] = <tests.unit_tests.test_lib.test_printer_asyncio.MockDynamicTextPrinter object at 0x7ffeb8115940>.captured_text
    FAILED tests/unit_tests/test_lib/test_printer_asyncio.py::test_run_async_with_spinner_exception - assert 0 > 0
  • where 0 = len([])
  • where [] = <tests.unit_tests.test_lib.test_printer_asyncio.MockDynamicTextPrinter object at 0x7ffeb9c2ae90>.captured_text
    = 2 failed, 2043 passed, 195 skipped, 4 xfailed, 4 xpassed in 95.69s (0:01:35) =

Copy link
Copy Markdown
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for handling this, and especially for upstreaming the patches.
Actually, I would prefer if we would fetchpatch them directly, instead of vendoring them.

@thunze
Copy link
Copy Markdown
Member Author

thunze commented Feb 25, 2026

Thanks a lot for handling this, and especially for upstreaming the patches. Actually, I would prefer if we would fetchpatch them directly, instead of vendoring them.

Sure! The relevant commits haven't been merged upstream yet, though. Shouldn't we vendor in this case? Referring to pkgs/README.md here.

@Pandapip1
Copy link
Copy Markdown
Member

Pandapip1 commented Feb 25, 2026

Shouldn't we vendor in this case? Referring to pkgs/README.md here.

Yea, the way the patches are currently applied is the most correct way to do it given the upstream PRs are not merged.

Copy link
Copy Markdown
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good! Let's not block this one further.

@GaetanLepage GaetanLepage added this pull request to the merge queue Feb 26, 2026
Merged via the queue into NixOS:master with commit 5af09a2 Feb 26, 2026
33 of 35 checks passed
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Feb 26, 2026
@thunze thunze deleted the plotly-fix branch February 26, 2026 09:42
Stebalien pushed a commit to Stebalien/nixpkgs that referenced this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: python3Packages.plotly

5 participants