-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Support networkx 3.1 #35584
Support networkx 3.1 #35584
Conversation
Lint failure is unrelated:
Is this a bug in 10.0.rc0 ? Or is this a case of workflow changing without making sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I support merging it in 10.0 to make downstream packaging easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's to comply with the coding style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The functions `number_of_cliques()` and `cliques_containing_node()` are deprecated in networkx 3.1. This commit reimplements both functions based on method `cliques_maximal()`.
The previous implementation was taken from the ones that are deprecated in networkx 3.1. We replace it by a better implementation suggested by David Coudert.
Rebased to 10.0.rc2 without any change (removes spurious "fix the linter commits") |
Documentation preview for this PR is ready! 🎉 |
<!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes #12345", use "Add a new method to multiply two integers" --> ### 📚 Description <!-- Describe your changes here in detail. --> https://networkx.org/documentation/stable/release/index.html; still supports Python >= 3.8 (see #35404) - https://networkx.org/documentation/stable/release/release_3.1.html - https://networkx.org/documentation/stable/release/release_3.0.html python_igraph still supports Python >= 3.7. - https://igraph.org/2023/01/27/igraph-0.10.4-c.html - https://igraph.org/2022/12/30/igraph-0.10.3-c.html <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> - Depends on #35584 <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #35671 Reported by: Matthias Köppe Reviewer(s): David Coudert
📚 Description
The functions
number_of_cliques()
andcliques_containing_node()
are deprecated in networkx 3.1.This commit reimplements both functions based on method
cliques_maximal()
.This PR is critical to upgrade networkx to 3.1 in void linux.
📝 Checklist