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

BLD: wheel building failing #25630

Closed
jreback opened this issue Mar 10, 2019 · 0 comments · Fixed by #25631
Closed

BLD: wheel building failing #25630

jreback opened this issue Mar 10, 2019 · 0 comments · Fixed by #25631
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Mar 10, 2019

https://travis-ci.org/MacPython/pandas-wheels/jobs/504201466

just started happening. I guess we are not running 1.12 on the 2.7 build, so need to skip this test.

================================== FAILURES ===================================
_______ TestDataFrameConstructors.test_constructor_maskedrecarray_dtype ________
[gw1] linux2 -- Python 2.7.6 /venv/bin/python
self = <pandas.tests.frame.test_constructors.TestDataFrameConstructors object at 0xd9592c2c>
    def test_constructor_maskedrecarray_dtype(self):
        # Ensure constructor honors dtype
        data = np.ma.array(
            np.ma.zeros(5, dtype=[('date', '<f8'), ('price', '<f8')]),
            mask=[False] * 5)
>       data = data.view(ma.mrecords.mrecarray)
E       AttributeError: 'module' object has no attribute 'mrecords'
/venv/local/lib/python2.7/site-packages/pandas/tests/frame/test_constructors.py:797: AttributeError
_____________ TestDataFrameConstructors.test_constructor_mrecarray _____________
[gw1] linux2 -- Python 2.7.6 /venv/bin/python
self = <pandas.tests.frame.test_constructors.TestDataFrameConstructors object at 0xd95ba3cc>
    def test_constructor_mrecarray(self):
        # Ensure mrecarray produces frame identical to dict of masked arrays
        # from GH3479
    
        assert_fr_equal = functools.partial(tm.assert_frame_equal,
                                            check_index_type=True,
                                            check_column_type=True,
                                            check_frame_type=True)
        arrays = [
            ('float', np.array([1.5, 2.0])),
            ('int', np.array([1, 2])),
            ('str', np.array(['abc', 'def'])),
        ]
        for name, arr in arrays[:]:
            arrays.append(('masked1_' + name,
                           np.ma.masked_array(arr, mask=[False, True])))
        arrays.append(('masked_all', np.ma.masked_all((2,))))
        arrays.append(('masked_none',
                       np.ma.masked_array([1.0, 2.5], mask=False)))
    
        # call assert_frame_equal for all selections of 3 arrays
        for comb in itertools.combinations(arrays, 3):
            names, data = zip(*comb)
>           mrecs = ma.mrecords.fromarrays(data, names=names)
E           AttributeError: 'module' object has no attribute 'mrecords'
/venv/local/lib/python2.7/site-packages/pandas/tests/frame/test_constructors.py:826: AttributeError
=============================== warnings summary ===============================
@jreback jreback added this to the 0.24.2 milestone Mar 10, 2019
jreback added a commit to jreback/pandas that referenced this issue Mar 10, 2019
jreback added a commit to jreback/pandas that referenced this issue Mar 10, 2019
jreback added a commit to jreback/pandas that referenced this issue Mar 10, 2019
skip on PY2 & old numpy for masked arrays
jreback added a commit to jreback/pandas that referenced this issue Mar 10, 2019
skip on PY2 & old numpy for masked arrays
jreback added a commit that referenced this issue Mar 10, 2019
jreback added a commit to jreback/pandas that referenced this issue Mar 10, 2019
jreback added a commit that referenced this issue Mar 11, 2019
* TST: failing wheel building on PY2 and old numpy (#25631)

closes #25630

* TST: xref #25630 (#25643)

* TST: xref #25630

* add PY2 import
thoo added a commit to thoo/pandas that referenced this issue Mar 11, 2019
* upstream/master: (110 commits)
  DOC: hardcode contributors for 0.24.x releases (pandas-dev#25662)
  DOC: restore toctree maxdepth (pandas-dev#25134)
  BUG: Redefine IndexOpsMixin.size, fix pandas-dev#25580. (pandas-dev#25584)
  BUG: to_csv line endings with compression (pandas-dev#25625)
  DOC: file obj for to_csv must be newline='' (pandas-dev#25624)
  Suppress incorrect warning in nargsort for timezone-aware DatetimeIndex (pandas-dev#25629)
  TST: fix incorrect sparse test (now failing on scipy master) (pandas-dev#25653)
  CLN: Removed debugging code (pandas-dev#25647)
  DOC: require Return section only if return is not None nor commentary (pandas-dev#25008)
  DOC:Remove hard-coded examples from _flex_doc_SERIES (pandas-dev#24589) (pandas-dev#25524)
  TST: xref pandas-dev#25630 (pandas-dev#25643)
  BUG: Fix pandas-dev#25481 by fixing the error message in TypeError (pandas-dev#25540)
  Fixturize tests/frame/test_mutate_columns.py (pandas-dev#25642)
  Fixturize tests/frame/test_join.py (pandas-dev#25639)
  Fixturize tests/frame/test_combine_concat.py (pandas-dev#25634)
  Fixturize tests/frame/test_asof.py (pandas-dev#25628)
  BUG: Fix user-facing AssertionError with to_html (pandas-dev#25608) (pandas-dev#25620)
  DOC: resolve all GL03 docstring validation errors (pandas-dev#25525)
  TST: failing wheel building on PY2 and old numpy (pandas-dev#25631)
  DOC: Remove makePanel from docs (pandas-dev#25609) (pandas-dev#25612)
  ...
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

Successfully merging a pull request may close this issue.

1 participant