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

BUG test failure with tsa_plots #1408

Closed
josef-pkt opened this issue Feb 21, 2014 · 9 comments

Comments

Projects
None yet
2 participants
@josef-pkt
Copy link
Member

commented Feb 21, 2014

test errors from
http://nipy.bic.berkeley.edu/builders/statsmodels-py2.x-wheezy-sparc/builds/96/steps/shell_4/logs/stdio

they look different from the error messages that I got.
#1388 (comment)

======================================================================
ERROR: statsmodels.graphics.tests.test_tsaplots.test_plot_month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/graphics/tests/test_tsaplots.py", line 38, in test_plot_month
    dta.index.values)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/graphics/tests/test_tsaplots.py", line 37, in <lambda>
    dates = map(lambda x : pd.datetools.parse('1 '+' '.join(x)),
AttributeError: 'module' object has no attribute 'parse'

======================================================================
ERROR: statsmodels.graphics.tests.test_tsaplots.test_plot_quarter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/graphics/tests/test_tsaplots.py", line 76, in test_plot_quarter
    freq='QS-Oct'),
  File "/usr/lib/pymodules/python2.7/pandas/tseries/index.py", line 235, in __new__
    raise ValueError('Dates do not conform to passed '
ValueError: Dates do not conform to passed frequency
@jseabold

This comment has been minimized.

Copy link
Member

commented Feb 21, 2014

Module parse error must be old pandas, but I thought this was handled in the code. Must be handled elsewhere and missed one. The latter will take some checking.

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented Feb 21, 2014

might be pandas: 0.8.0 in that Debian machine,
http://nipy.bic.berkeley.edu/builders/statsmodels-py2.x-wheezy-sparc/builds/96/steps/shell_5/logs/stdio

we never decided on a minimum pandas version, after dropping 0.7

@jseabold

This comment has been minimized.

Copy link
Member

commented Feb 21, 2014

I thought we decided 0.8.1, which could explain this I think.

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented Feb 21, 2014

We haven't updated setup.py yet.

pandas 0.8.1 sounds pretty old for statsmodels 0.6, given that pandas is now at 0.13
I'm asking on the mailing list again

@jseabold

This comment has been minimized.

Copy link
Member

commented Feb 21, 2014

I'm just trying to remember when the parse issue got sorted out.

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented Feb 21, 2014

my failures in #1388 (comment)
are with pandas 12.0, so I guess those need to be fixed

@jseabold

This comment has been minimized.

Copy link
Member

commented Feb 21, 2014

Yes, they do. There has been one bug-fix in the frequency stuff that I know about, but I need to see what's going on. Maybe have time later today.

@jseabold

This comment has been minimized.

Copy link
Member

commented Apr 23, 2014

(One of?) these boxes look like they're out of disk space? This may be closed.

@jseabold

This comment has been minimized.

Copy link
Member

commented Sep 21, 2014

Looks fine now.

@jseabold jseabold closed this Sep 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.