Skip to content

deprecation bug in statsmodels-0.9.0 when testing scipy-1.3.0rc #5619

Closed

Description

@stonebig

Describe the bug

scipy-1.3.0rc has removed a lot of old links in "scipy.misc".

example of no more supported code:

\statsmodels\distributions\edgeworth.py in <module>
      5 import numpy as np
      6 from numpy.polynomial.hermite_e import HermiteE
----> 7 from scipy.misc import factorial
      8 from scipy.stats import rv_continuous
      9 import scipy.special as special

ImportError: cannot import name 'factorial' from 'scipy.misc' (.....\python-3.7.3.amd64\lib\site-packages\scipy\misc\__init__.py)

It's solved in trunk since june 2018 7e60df8#diff-80ca192493d5984b20fa9ad4e733185e

==> Could we have a new official release before scipy-1.3.0 is final ?

Activity

  1. changed the title [-]deprecation bugn in statsmodels-0.9.0 when testin scipy-1.3.0rc[/-] [+]deprecation bug in statsmodels-0.9.0 when testing scipy-1.3.0rc[/+] on May 5, 2019
  2. bashtage commented on May 5, 2019

    @bashtage
    Member

    This is fixed in master, and yes, a new release is far overdue. In the meantime, you can use master if you need to upgrade to 1. 3.0.

  3. bashtage commented on May 5, 2019

    @bashtage
    Member

    The new release schedule needs an dedicated issue that isn't reporting a bug that has been fixed. You comment in #5406 to make the case for a new release.

  4. stonebig commented on May 5, 2019

    @stonebig
    Author

    is "python setup.py bdist_wheel" enough on master ? do I need something to trigger a cython compilation ?

  5. bashtage commented on May 5, 2019

    @bashtage
    Member

    Yes, that build extensions and then packages them. You might need to ensure that cython, numpy, and scipy are installed before running this, although I think I fixed that in master too (so that you can install into an empty venv now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions