dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.18k stars 2.99k forks source link

[DeprecationWarning] Fixing the warnings appearing in `test_traversal.py::test_bfs`. #7484

Closed drivanov closed 4 days ago

drivanov commented 1 week ago

Description

The following two sets of warnings that appear in test_traversal.py::test_bfs have been fixed:

./../../usr/local/lib/python3.10/dist-packages/dgl/graphbolt/base.py:80
  /usr/local/lib/python3.10/dist-packages/dgl/graphbolt/base.py:80: DeprecationWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.
    @torch.library.impl_abstract("graphbolt::expand_indptr")

tests/python/common/test_traversal.py::test_bfs[idtype0]
tests/python/common/test_traversal.py::test_bfs[idtype1]
  /usr/local/lib/python3.10/dist-packages/networkx/utils/backends.py:812: DeprecationWarning:

  random_tree is deprecated and will be removed in NX v3.4
  Use random_labeled_tree instead.
    return self.orig_func(*args, **kwargs)

https://networkx.org/documentation/stable/developer/deprecations.html#version-3-4

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 1 week ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 week ago

Commit ID: 61ba59e5a58fa4164f2958ba7e31caa73af241ac

Build ID: 1

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

frozenbugs commented 4 days ago

@dgl-bot

dgl-bot commented 4 days ago

Commit ID: 3003c1c418981e8c45219f82b2d753a6fa6edc16

Build ID: 2

Status: ❌ CI test failed in Stage [Torch CPU Unit test].

Report path: link

Full logs path: link

dgl-bot commented 4 days ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 4 days ago

Commit ID: f915bb9263aa0128d5d3c3ea7d8d9cc463fcbd01

Build ID: 3

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

frozenbugs commented 4 days ago

@dgl-bot

dgl-bot commented 4 days ago

Commit ID: f915bb9263aa0128d5d3c3ea7d8d9cc463fcbd01

Build ID: 4

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link