Skip to content

COMPAT: 32-bit build failures #18777

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

Closed
jreback opened this issue Dec 14, 2017 · 1 comment
Closed

COMPAT: 32-bit build failures #18777

jreback opened this issue Dec 14, 2017 · 1 comment
Labels
32bit 32-bit systems Compat pandas objects compatability with Numpy or Python functions Datetime Datetime data dtype Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Timezones Timezone data dtype
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Dec 14, 2017

started happening on dec 12-13 on 32-bit for 2.7/3.5
https://travis-ci.org/MacPython/pandas-wheels/jobs/316191146

________________ TestConcatenate.test_concat_tz_series_tzlocal _________________
self = <pandas.tests.reshape.test_concat.TestConcatenate object at 0xe28a96cc>
    def test_concat_tz_series_tzlocal(self):
        # see gh-13583
        x = [pd.Timestamp('2011-01-01', tz=dateutil.tz.tzlocal()),
             pd.Timestamp('2011-02-01', tz=dateutil.tz.tzlocal())]
        y = [pd.Timestamp('2012-01-01', tz=dateutil.tz.tzlocal()),
             pd.Timestamp('2012-02-01', tz=dateutil.tz.tzlocal())]
    
        result = concat([pd.Series(x), pd.Series(y)], ignore_index=True)
        tm.assert_series_equal(result, pd.Series(x + y))
>       assert result.dtype == 'datetime64[ns, tzlocal()]'
E       TypeError: Invalid datetime unit in metadata string "[ns, tzlocal()]"
/venv/lib/python3.6/site-packages/pandas/tests/reshape/test_concat.py:1796: TypeError
----------------------------- Captured stderr call -----------------------------
OverflowError: Python int too large to convert to C ssize_t
Exception ignored in: 'pandas._libs.tslibs.conversion._localize_tso'
OverflowError: Python int too large to convert to C ssize_t
OverflowError: Python int too large to convert to C ssize_t
Exception ignored in: 'pandas._libs.tslibs.conversion._localize_tso'
OverflowError: Python int too large to convert to C ssize_t
OverflowError: Python int too large to convert to C ssize_t
Exception ignored in: 'pandas._libs.tslibs.conversion._localize_tso'
OverflowError: Python int too large to convert to C ssize_t
OverflowError: Python int too large to convert to C ssize_t
Exception ignored in: 'pandas._libs.tslibs.conversion._localize_tso'
OverflowError: Python int too large to convert to C ssize_t
 1 failed, 16040 passed, 2464 skipped, 74 xfailed, 1 xpassed in 464.80 seconds =
@jreback jreback added 32bit 32-bit systems Compat pandas objects compatability with Numpy or Python functions labels Dec 14, 2017
@jreback jreback added this to the 0.22.0 milestone Dec 14, 2017
@jreback jreback added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Datetime Datetime data dtype Timezones Timezone data dtype labels Dec 14, 2017
@jreback
Copy link
Contributor Author

jreback commented Dec 14, 2017

cc @jschendel
cc @jbrockmendel

its possible the astype fixes triggered this, but the bug existed previously

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32bit 32-bit systems Compat pandas objects compatability with Numpy or Python functions Datetime Datetime data dtype Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Timezones Timezone data dtype
Projects
None yet
Development

No branches or pull requests

1 participant