Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New networkx versions causing failure in tests #756

Open
selmanozleyen opened this issue Oct 11, 2024 · 0 comments
Open

New networkx versions causing failure in tests #756

selmanozleyen opened this issue Oct 11, 2024 · 0 comments
Labels
bug (not-urgent) Something isn't working; is not urgent to fix test Improve or add new tests

Comments

@selmanozleyen
Copy link
Collaborator

selmanozleyen commented Oct 11, 2024

In case you were wondering why the current tests fails after merging here is the reason. With some deprecation of networkx module some tests directly fail (e.g., networkx/networkx#7415). For example a test that calls nx.random_tree. Here is the failure summary for context

FAILED tests/datasets/test_dataset.py::TestSimulateData::test_quad_term_tree[3-7] - AttributeError: module 'networkx' has no attribute 'random_tree'
FAILED tests/datasets/test_dataset.py::TestSimulateData::test_quad_term_tree[6-None] - AttributeError: module 'networkx' has no attribute 'random_tree'
FAILED tests/datasets/test_dataset.py::TestSimulateData::test_quad_term_tree[6-4] - AttributeError: module 'networkx' has no attribute 'random_tree'
FAILED tests/datasets/test_dataset.py::TestSimulateData::test_quad_term_tree[6-7] - AttributeError: module 'networkx' has no attribute 'random_tree'
FAILED tests/datasets/test_dataset.py::TestSimulateData::test_quad_term_tree[3-None] - AttributeError: module 'networkx' has no attribute 'random_tree'
FAILED tests/datasets/test_dataset.py::TestSimulateData::test_quad_term_tree[3-4] - AttributeError: module 'networkx' has no attribute 'random_tree'
ERROR tests/problems/time/test_lineage_problem.py::TestLineageProblem::test_trees_pipeline - AttributeError: module 'networkx' has no attribute 'random_tree'

ping: @MUCDK

@selmanozleyen selmanozleyen added bug (not-urgent) Something isn't working; is not urgent to fix test Improve or add new tests labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (not-urgent) Something isn't working; is not urgent to fix test Improve or add new tests
Projects
None yet
Development

No branches or pull requests

1 participant