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

0.11.0.dev-4b22372.win-amd64-py2.7: nosetests error #3094

Closed
bluefir opened this issue Mar 19, 2013 · 14 comments · Fixed by #3148

Comments

@bluefir
Copy link

commented Mar 19, 2013

ERROR: test_operators_timedelta64 (pandas.tests.test_series.TestSeries)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\tests\test_series.py", line 1752, i
n test_operators_timedelta64
result = resultb + df['A']
File "C:\Python27\lib\site-packages\pandas\core\series.py", line 144, in wrapp
er
lvalues = lvalues.values
AttributeError: 'numpy.ndarray' object has no attribute 'values'


Ran 3113 tests in 241.670s

FAILED (SKIP=94, errors=1)

@ghost

This comment has been minimized.

Copy link

commented Mar 19, 2013

I've run the full test suite several times today with no errros. can you
try it on the latest git master and tell us if there's still a problem?
I don't think any of the devs are on windows, we might be missing a problem.

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 19, 2013

I just ran on windows x64/python 2.7.3, with latest master, test_series/frame passes

maybe try a later binary (think they are generated 5pm?)

@bluefir

This comment has been minimized.

Copy link
Author

commented Mar 20, 2013

I usually grab binaries on http://pandas.pydata.org/pandas-build/dev/, and the latest is dated March 14. That's the one I used. If you guys say that the latest code works fine, I'll just wait for the new binary.

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 20, 2013

yep...i think the box those are built on is in the process of moving.....check back periodically...

@stephenwlin

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

hmm, i don't know what's up but i just got this exact error too (ubuntu, 32-bit...fresh installing on different machine than my normal one from master)...have not investigated yet

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@bluefir looks like the binaries are updated....can you give a test?

@stephenwlin

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@jreback replying here instead

yep, same exact error as above, on two different machines

pip freeze output:

Cython==0.18
Pygments==1.6
SQLAlchemy==0.8.0
argparse==1.2.1
ipython==0.13.1
logilab-astng==0.24.2
logilab-common==0.59.0
matplotlib==1.2.0
nose==1.2.1
numexpr==2.0.1
numpy==1.7.0
openpyxl==1.6.1
pandas==0.10.1
pylint==0.27.0
python-dateutil==1.5
pytz==2013b
pyzmq==13.0.0
scipy==0.11.0
six==1.3.0
statsmodels==0.4.3
vbench==0.1
wsgiref==0.1.2
xlrd==0.9.0
xlwt==0.7.4
yolk==0.4.3

some of that might be relevant

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@bluefir can you conform that you are on numpy 1.7.0?

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@y-p can you make that new build (for slow tests, which uses 2.7, also use numpy 1.7?),
I believe we test 1.6.2 on the main 2.7 one

@ghost

This comment has been minimized.

Copy link

commented Mar 23, 2013

pushed.

@bluefir

This comment has been minimized.

Copy link
Author

commented Mar 23, 2013

Yes, I am on numpy 1.7.0. Just ran the most recent binaries pandas-0.11.0.dev-eb07c5a.win-amd64-py2.7 and got this:

ERROR: test_operators_timedelta64 (pandas.tests.test_series.TestSeries)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\tests\test_series.py", line 1775, i
n test_operators_timedelta64
result = resultb + df['A']
File "C:\Python27\lib\site-packages\pandas\core\series.py", line 144, in wrapp
er
lvalues = lvalues.values
AttributeError: 'numpy.ndarray' object has no attribute 'values'


@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@stephenwlin ok....fixed up, will push in a few

basically numpy 1.7 does something even more weird with timedelta64 that p3k does, it coerces when you do np.array(s) when s has dtype timedelta64[ns] (timedelta64[ns] is an integer dtype), noting that neigher 1.6.2 or py3k do this (when on 1.7)...weird

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@bluefir thanks.....these were built JUST before we realized the change was because of 1.7. thanks for the report!

@jreback

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2013

@stephenwlin pls update to master and try ....should work

@jreback jreback closed this Mar 23, 2013

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