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

Use of deprecated scipy.misc.comb should be replaced by scipy.special.comb #6

Open
monocongo opened this issue Jun 2, 2019 · 1 comment

Comments

@monocongo
Copy link
Contributor

I get an error when building my project that depends upon lmoments3 on TravisCI:

AttributeError: module 'scipy.misc' has no attribute 'comb'

This appears to be related to this warning I see when I run my tests locally:

  /home/james/miniconda3/envs/climate/lib/python3.7/site-packages/lmoments3/__init__.py:177: DeprecationWarning: `comb` is deprecated!
  Importing `comb` from scipy.misc is deprecated in scipy 1.0.0. Use `scipy.special.comb` instead.
    coefl3 = 1.0 / 3.0 / sm.comb(n, 3, exact=True)

This is a recent issue for me, perhaps caused by an updated version of scipy in my project and/or one of its dependencies?

@Zeitsperre
Copy link

Hi,

I just want to let you know that lmoments3 development has switched hands and migrated to https://github.com/Ouranosinc/lmoments3. This repository is essentially obsolete. If you are still having issues or would like to see changes to lmoments3, please feel free to re-open this issue at the new location.

All the best,

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

No branches or pull requests

2 participants