Skip to content

python39Packages.pomegranate: disable two failing tests#137081

Merged
happysalada merged 1 commit intoNixOS:masterfrom
trofi:disable-pomegranate-tests
Sep 8, 2021
Merged

python39Packages.pomegranate: disable two failing tests#137081
happysalada merged 1 commit intoNixOS:masterfrom
trofi:disable-pomegranate-tests

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Sep 8, 2021

Two tests started failing after commit cd7360f
("python38Packages.networkx: 2.5.1 -> 2.6.2"):
test_exact_dp_structure_learning_exclude_edges
test_constrained_slap_structure_learning_exclude_edges
Both failures are triggered by networkx commit 15b74c552
("Use bidirection_dijkstra as default in weighted shortest_path")

My guess is that among equal paths the different one is picked.
Which should be a benign test failure and not a real regression.

Let's disable the tests to fix package building on master.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Two tests started failing after commit cd7360f
("python38Packages.networkx: 2.5.1 -> 2.6.2"):
    test_exact_dp_structure_learning_exclude_edges
    test_constrained_slap_structure_learning_exclude_edges
Both failures are triggered by networkx commit 15b74c552
("Use bidirection_dijkstra as default in weighted shortest_path")

My guess is that among equal paths the different one is picked.
Which should be a benign test failure and not a real regression.

Let's disable the tests to fix package building on master.
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Sep 8, 2021
@trofi
Copy link
Contributor Author

trofi commented Sep 8, 2021

Upstream bug report for posterity: jmschrei/pomegranate#939

@ofborg ofborg bot requested a review from rybern September 8, 2021 08:22
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Sep 8, 2021
@r-rmcgibbo
Copy link

Result of nixpkgs-review pr 137081 at bf10d23 run on x86_64-linux 1

4 packages built successfully:
  • python38Packages.cnvkit
  • python38Packages.pomegranate
  • python39Packages.cnvkit
  • python39Packages.pomegranate

@happysalada
Copy link
Contributor

Fix looks good and well documented, thank you!

@happysalada happysalada merged commit 6338963 into NixOS:master Sep 8, 2021
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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants