graspologic-org / graspologic

Python package for graph statistics

Home Page:https://graspologic-org.github.io/graspologic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Scipy deprecations causing importerrors in gensim

j1c opened this issue · comments

Expected Behavior

scipy function triu used in gensim was deprecated in scipy==1.13.0. Limit scipy version

Example Code

import graspologic

Full Traceback

ImportError: cannot import name 'triu' from 'scipy.linalg'

Your Environment

  • Python version:
  • graspologic version:

Additional Details

Any other contextual information you might feel is important.

i noticed piskvorky/gensim#3524 - if they get a fix out soon, would be nice to use that instead of banning future scipy releases

i noticed piskvorky/gensim#3524 - if they get a fix out soon, would be nice to use that instead of banning future scipy releases

Neat. This will probably mean we have to set a minimum to gensim instead then.

agreed. thinking about it more, if you want to ban scipy 1.13 in the meantime like in your PR, i have no problem with that. who knows how long they will take to get a fix out.

covered in #1067