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

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

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

drivanov
Copy link
Contributor

@drivanov drivanov commented Jun 26, 2024

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.

  • The PR title starts with [$CATEGORY] (such as [NN], [Model], [Doc], [Feature]])
  • I've leverage the tools to beautify the python and c++ code.
  • The PR is complete and small, read the Google eng practice (CL equals to PR) to understand more about small PR. In DGL, we consider PRs with less than 200 lines of core code change are small (example, test and documentation could be exempted).
  • To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jun 26, 2024

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

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jun 26, 2024

Commit ID: 61ba59e5a58fa4164f2958ba7e31caa73af241ac

Build ID: 1

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

Report path: link

Full logs path: link

python/dgl/graphbolt/base.py Outdated Show resolved Hide resolved
@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jul 1, 2024

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
Copy link
Collaborator

dgl-bot commented Jul 1, 2024

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

  • @dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jul 1, 2024

Commit ID: f915bb9

Build ID: 3

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

Report path: link

Full logs path: link

@frozenbugs
Copy link
Collaborator

@dgl-bot

@dgl-bot
Copy link
Collaborator

dgl-bot commented Jul 1, 2024

Commit ID: f915bb9

Build ID: 4

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link

@frozenbugs frozenbugs merged commit 6b222af into dmlc:master Jul 1, 2024
2 checks passed
@drivanov drivanov deleted the test_bfs branch July 1, 2024 16:06
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants