Skip to content

TST: NumPy 1.12 test for 0.8.x branch - #3427

Closed
bashtage wants to merge 1 commit into
statsmodels:maintenance/0.8.xfrom
bashtage:test-numpy-112-0.8.x
Closed

bashtage wants to merge 1 commit into
statsmodels:maintenance/0.8.xfrom
bashtage:test-numpy-112-0.8.x

Conversation

@bashtage

@bashtage bashtage commented Feb 4, 2017

Copy link
Copy Markdown
Member

DO NOT MERGE

@josef-pkt

@ChadFulton

Copy link
Copy Markdown
Member

Looks good in the state space area. Some warnings, but nothing representing an actual problem.

@josef-pkt

Copy link
Copy Markdown
Member

There is one pandas deprecation warning
statsmodels.tsa.statespace.tests.test_mlemodel.test_pandas_endog ... /home/travis/miniconda2/envs/statsmodels-test/lib/python3.5/site-packages/statsmodels-0.8.0rc1-py3.5-linux-x86_64.egg/statsmodels/tsa/base/tsa_model.py:44: DeprecationWarning: pandas.core.common.is_numeric_dtype is deprecated. import from the public API: pandas.api.types.is_numeric_dtype instead

and the recarray warnings from numpy that I thought were fixed.

@ChadFulton

Copy link
Copy Markdown
Member

There is one pandas deprecation warning
statsmodels.tsa.statespace.tests.test_mlemodel.test_pandas_endog ... /home/travis/miniconda2/envs/statsmodels-test/lib/python3.5/site-packages/statsmodels-0.8.0rc1-py3.5-linux-x86_64.egg/statsmodels/tsa/base/tsa_model.py:44: DeprecationWarning: pandas.core.common.is_numeric_dtype is deprecated. import from the public API: pandas.api.types.is_numeric_dtype instead

This is fixed in master from when I did date refactoring, but I'll make a backport PR for just that part so that we don't have to worry about it later.

@ChadFulton

Copy link
Copy Markdown
Member

Well I have a PR that should fix the problem by importing the correct dtype, but I can't even replicate the deprecation error. e.g. when I do: ipython and then from pandas.core.common import is_numeric_dtype I feel like I should get a deprecation warning, but I don't.

@ChadFulton

Copy link
Copy Markdown
Member

And I do have pandas 0.19.2:

In [7]: pd.__version__
Out[7]: u'0.19.2'

@bashtage
bashtage force-pushed the test-numpy-112-0.8.x branch 2 times, most recently from 476ea62 to f26c7fb Compare February 6, 2017 10:27
@bashtage

bashtage commented Feb 6, 2017

Copy link
Copy Markdown
Member Author

@josef-pkt

Copy link
Copy Markdown
Member

@bashtage Can you rebase this so we get another numpy 1.12 check for 0.8?

The maintenance branch should now be the release version if we didn't miss anything.

@bashtage
bashtage force-pushed the test-numpy-112-0.8.x branch 2 times, most recently from c4962bb to e891cca Compare February 7, 2017 08:09
DO NOT MERGE

[skip appveyor]
@bashtage
bashtage force-pushed the test-numpy-112-0.8.x branch from e891cca to 30cdb5a Compare February 7, 2017 15:23
@bashtage

bashtage commented Feb 7, 2017

Copy link
Copy Markdown
Member Author

Closing since this works as expected.

@bashtage bashtage closed this Feb 7, 2017
@bashtage
bashtage deleted the test-numpy-112-0.8.x branch February 7, 2017 23:07
@bashtage bashtage added the rejected Used for PRs with changes that are not acceptable label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rejected Used for PRs with changes that are not acceptable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants