Skip to content

BLD/CI: wheel building is failing #25867

Closed
@jreback

Description

@jreback

I think some PRs yesterday broke pandas-wheels: https://travis-ci.org/MacPython/pandas-wheels/jobs/510798584, likely all the same issues: https://travis-ci.org/MacPython/pandas-wheels/builds/510798582

if someone can you do a quick PR to update (not easy to test unfort).

______________________ TestFactorize.test_complex_sorting ______________________
[gw0] linux -- Python 3.6.6 /venv/bin/python
self = <pandas.tests.test_algos.TestFactorize object at 0x7f7cbf173710>
    def test_complex_sorting(self):
        # gh 12666 - check no segfault
        x17 = np.array([complex(i) for i in range(17)], dtype=object)
    
        msg = (r"unorderable types: {0} [<>] {0}".format(r"complex\(\)")
               if _np_version_under1p14 else
               r"'[<>]' not supported between instances of {0} and {0}".format(
                   "'complex'")
               )
        with pytest.raises(TypeError, match=msg):
>           algos.factorize(x17[::-1], sort=True)
E           AssertionError: Pattern 'unorderable types: complex\(\) [<>] complex\(\)' not found in ''>' not supported between instances of 'complex' and 'complex''
/venv/lib/python3.6/site-packages/pandas/tests/test_algos.py:237: AssertionError
_________________________ TestSafeSort.test_unsortable _________________________
[gw0] linux -- Python 3.6.6 /venv/bin/python
self = <pandas.tests.test_sorting.TestSafeSort object at 0x7f7cbecbce48>
    def test_unsortable(self):
        # GH 13714
        arr = np.array([1, 2, datetime.now(), 0, 3], dtype=object)
        msg = (r"unorderable types: ({0} [<>] {1}|{1} [<>] {0})".format(
                   r"int\(\)", r"datetime\.datetime\(\)")  # noqa: E126
               if _np_version_under1p14 else
               (r"'[<>]' not supported between instances of "
                r"({0} and {1}|{1} and {0})").format(
                    "'int'", r"'datetime\.datetime'")
               )
        with pytest.raises(TypeError, match=msg):
>           safe_sort(arr)
E           AssertionError: Pattern 'unorderable types: (int\(\) [<>] datetime\.datetime\(\)|datetime\.datetime\(\) [<>] int\(\))' not found in ''>' not supported between instances of 'int' and 'datetime.datetime''

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildLibrary building on various platformsCIContinuous Integration

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions