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

hard capped networkx version to avoid incompatability #1016

Merged
merged 3 commits into from Jan 9, 2023

Conversation

alyakin314
Copy link
Contributor

@alyakin314 alyakin314 commented Jan 8, 2023

  • Does this PR have a descriptive title that could go in our release notes?
    seems so
  • Does this PR add any new dependencies?
    nope
  • Does this PR modify any existing APIs?
    nope
    • Is the change to the API backwards compatible?
      irrelevant
  • Have you built the documentation (reference and/or tutorial) and verified the generated documentation is appropriate?
    unapplicable?

Reference Issues/PRs

Fixes #1015.

What does this implement/fix? Briefly explain your changes.

Quick-patches the incompatibility by avoiding the netoworkx v.3.0.

Any other comments?

Probably need a better long term fix. Unsure if removing the orderedgraph arguments is sufficient and/or backward compatible.

@bdpedigo bdpedigo self-requested a review January 9, 2023 16:30
Copy link
Collaborator

@bdpedigo bdpedigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the quick catch on this @alyakin314! only change was making this <= in case new releases come out

@bdpedigo bdpedigo merged commit 349cc77 into graspologic-org:dev Jan 9, 2023
@alyakin314
Copy link
Contributor Author

@bdpedigo sure. only reason i did it this way was because all other packages seemed to have !=. thought there must be special about it.

https://github.com/microsoft/graspologic/blob/349cc77dfa9f06aa41b6837836ce809ee5acbd4c/setup.cfg#L31-L35

bdpedigo added a commit that referenced this pull request Mar 23, 2023
* hard capped networkx version to avoid incompatability

* set networkx to <= 3.0

* Update setup.cfg

Co-authored-by: alyakin314 <antonalyakin@Antons-MacBook-Pro-4.local>
Co-authored-by: Benjamin Pedigo <benjamindpedigo@gmail.com>
bdpedigo added a commit that referenced this pull request Mar 24, 2023
* hard capped networkx version to avoid incompatability

* set networkx to <= 3.0

* Update setup.cfg

Co-authored-by: alyakin314 <antonalyakin@Antons-MacBook-Pro-4.local>
Co-authored-by: Benjamin Pedigo <benjamindpedigo@gmail.com>
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.

[BUG] graspologic v.2.0.1 and networkx 3.0 incompatibility leads to a crash
2 participants