[
https://issues.apache.org/jira/browse/ARROW-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191233#comment-16191233
]
ASF GitHub Bot commented on ARROW-1584:
---------------------------------------
Github user wesm commented on the issue:
https://github.com/apache/arrow/pull/1155
Working on diagnosing this. So miniconda changed, so something is going on
with openssl. @ilanschnell or someone from the Anaconda team, could you comment
what might have changed?
Here's the default environment from 48h ago (passing build):
```
++bash miniconda.sh -b -p /home/travis/miniconda
PREFIX=/home/travis/miniconda
installing: python-3.6.1-2 ...
installing: asn1crypto-0.22.0-py36_0 ...
installing: cffi-1.10.0-py36_0 ...
installing: conda-env-2.6.0-0 ...
installing: cryptography-1.8.1-py36_0 ...
installing: idna-2.5-py36_0 ...
installing: libffi-3.2.1-1 ...
installing: openssl-1.0.2l-0 ...
installing: packaging-16.8-py36_0 ...
installing: pycosat-0.6.2-py36_0 ...
installing: pycparser-2.17-py36_0 ...
installing: pyopenssl-17.0.0-py36_0 ...
installing: pyparsing-2.1.4-py36_0 ...
installing: readline-6.2-2 ...
installing: requests-2.14.2-py36_0 ...
installing: ruamel_yaml-0.11.14-py36_1 ...
installing: setuptools-27.2.0-py36_0 ...
installing: six-1.10.0-py36_0 ...
installing: sqlite-3.13.0-0 ...
installing: tk-8.5.18-0 ...
installing: xz-5.2.2-1 ...
installing: yaml-0.1.6-0 ...
installing: zlib-1.2.8-3 ...
installing: conda-4.3.21-py36_0 ...
installing: pip-9.0.1-py36_1 ...
installing: wheel-0.29.0-py36_0 ...
Python 3.6.1 :: Continuum Analytics, Inc.
```
and the default env from a recent failing build:
```
++bash miniconda.sh -b -p /home/travis/miniconda
PREFIX=/home/travis/miniconda
installing: python-3.6.2-hdfe5801_15 ...
Python 3.6.2 :: Anaconda, Inc.
installing: ca-certificates-2017.08.26-h1d4fec5_0 ...
installing: conda-env-2.6.0-h36134e3_1 ...
installing: libgcc-ng-7.2.0-hcbc56d2_1 ...
installing: libstdcxx-ng-7.2.0-h24385c6_1 ...
installing: libffi-3.2.1-h4deb6c0_3 ...
installing: ncurses-6.0-h06874d7_1 ...
installing: openssl-1.0.2l-h9d1a558_3 ...
installing: tk-8.6.7-h5979e9b_1 ...
installing: xz-5.2.3-h2bcbf08_1 ...
installing: yaml-0.1.7-h96e3832_1 ...
installing: zlib-1.2.11-hfbfcf68_1 ...
installing: libedit-3.1-heed3624_0 ...
installing: readline-7.0-hac23ff0_3 ...
installing: sqlite-3.20.1-h6d8b0f3_1 ...
installing: asn1crypto-0.22.0-py36h265ca7c_1 ...
installing: certifi-2017.7.27.1-py36h8b7b77e_0 ...
installing: chardet-3.0.4-py36h0f667ec_1 ...
installing: idna-2.6-py36h82fb2a8_1 ...
installing: pycosat-0.6.2-py36h1a0ea17_1 ...
installing: pycparser-2.18-py36hf9f622e_1 ...
installing: pysocks-1.6.7-py36hd97a5b1_1 ...
installing: ruamel_yaml-0.11.14-py36ha2fb22d_2 ...
installing: six-1.10.0-py36hcac75e4_1 ...
installing: cffi-1.10.0-py36had8d393_1 ...
installing: setuptools-36.5.0-py36he42e2e1_0 ...
installing: cryptography-2.0.3-py36ha225213_1 ...
installing: wheel-0.29.0-py36he7f4e38_1 ...
installing: pip-9.0.1-py36h30f8307_2 ...
installing: pyopenssl-17.2.0-py36h5cc804b_0 ...
installing: urllib3-1.22-py36hbe7ace6_0 ...
installing: requests-2.18.4-py36he2e5f8d_1 ...
installing: conda-4.3.27-py36h2866c0b_0 ...
installation finished.
```
The openssl version is the same, but it looks like maybe the
ca-certificates from defaults is clashing with conda-forge
> [PYTHON] serialize_pandas on empty dataframe
> --------------------------------------------
>
> Key: ARROW-1584
> URL: https://issues.apache.org/jira/browse/ARROW-1584
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.7.0
> Reporter: Tom Augspurger
> Assignee: Wes McKinney
> Priority: Minor
> Labels: pull-request-available, python, serialization
> Fix For: 0.8.0
>
>
> This code
> {code:python}
> import pandas as pd
> import pyarrow as pa
> pa.serialize_pandas(pd.DataFrame())
> {code}
> Raises
> {code}
> ---------------------------------------------------------------------------
> ArrowNotImplementedError Traceback (most recent call last)
> <ipython-input-71-ad21add45f0d> in <module>()
> ----> 1 pa.serialize_pandas(pd.DataFrame())
> ~/Envs/dask-dev/lib/python3.6/site-packages/pyarrow/ipc.py in
> serialize_pandas(df)
> 158 sink = pa.BufferOutputStream()
> 159 writer = pa.RecordBatchStreamWriter(sink, batch.schema)
> --> 160 writer.write_batch(batch)
> 161 writer.close()
> 162 return sink.get_result()
> pyarrow/ipc.pxi in pyarrow.lib._RecordBatchWriter.write_batch
> (/Users/travis/build/apache/arrow-dist/arrow/python/build/temp.macosx-10.6-intel-3.6/lib.cxx:59238)()
> pyarrow/error.pxi in pyarrow.lib.check_status
> (/Users/travis/build/apache/arrow-dist/arrow/python/build/temp.macosx-10.6-intel-3.6/lib.cxx:8113)()
> ArrowNotImplementedError: Unable to convert type: null
> {code}
> Presumably {{pa.deserialize_pandas}} will need a fix as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)