Skip to content

ARROW-3914: [C++/Python/Packaging] Docker-compose setup for Alpine linux - #3059

Closed
kszucs wants to merge 10 commits into
apache:masterfrom
kszucs:ARROW-3914
Closed

ARROW-3914: [C++/Python/Packaging] Docker-compose setup for Alpine linux#3059
kszucs wants to merge 10 commits into
apache:masterfrom
kszucs:ARROW-3914

Conversation

@kszucs

Copy link
Copy Markdown
Member

No description provided.

Comment threadcpp/Dockerfile.alpine Outdated
@wesm

wesm commented Nov 30, 2018

Copy link
Copy Markdown
Member

I tried this out, it errored when importing pyarrow

===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.6.6, pytest-4.0.1, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python3.6
cachedir: .pytest_cache
rootdir: /, inifile:
collected 0 items / 1 errors =========================================================================================== ERRORS ============================================================================================
______________________________________________________________________________________ ERROR collecting ______________________________________________________________________________________
usr/lib/python3.6/site-packages/_pytest/config/__init__.py:430: in _importconftest
return self._conftestpath2mod[conftestpath]
E KeyError: local('/usr/lib/python3.6/site-packages/pyarrow-0.11.1.dev318+g1be15219f-py3.6-linux-x86_64.egg/pyarrow/tests/conftest.py')
During handling of the above exception, another exception occurred:
usr/lib/python3.6/site-packages/_pytest/config/__init__.py:436: in _importconftest
mod = conftestpath.pyimport()
usr/lib/python3.6/site-packages/py/_path/local.py:668: in pyimport
__import__(modname)
usr/lib/python3.6/site-packages/pyarrow-0.11.1.dev318+g1be15219f-py3.6-linux-x86_64.egg/pyarrow/__init__.py:54: in <module>
from pyarrow.lib import cpu_count, set_cpu_count
E ImportError: Error loading shared library libarrow.so.12: No such file or directory (needed by /usr/lib/python3.6/site-packages/pyarrow-0.11.1.dev318+g1be15219f-py3.6-linux-x86_64.egg/pyarrow/lib.cpython-36m-x86_64-linux-gnu.so)
During handling of the above exception, another exception occurred:
usr/lib/python3.6/site-packages/py/_path/common.py:377: in visit
for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
usr/lib/python3.6/site-packages/py/_path/common.py:418: in gen
dirs = self.optsort([p for p in entries
usr/lib/python3.6/site-packages/py/_path/common.py:419: in <listcomp>
if p.check(dir=1) and (rec is None or rec(p))])
usr/lib/python3.6/site-packages/_pytest/main.py:617: in _recurse
ihook = self.gethookproxy(dirpath)
usr/lib/python3.6/site-packages/_pytest/main.py:434: in gethookproxy
my_conftestmodules = pm._getconftestmodules(fspath)
usr/lib/python3.6/site-packages/_pytest/config/__init__.py:414: in _getconftestmodules
mod = self._importconftest(conftestpath)
usr/lib/python3.6/site-packages/_pytest/config/__init__.py:453: in _importconftest
raise ConftestImportFailure(conftestpath, sys.exc_info())
E _pytest.config.ConftestImportFailure: (local('/usr/lib/python3.6/site-packages/pyarrow-0.11.1.dev318+g1be15219f-py3.6-linux-x86_64.egg/pyarrow/tests/conftest.py'), (<class 'ImportError'>, ImportError('Error loading shared library libarrow.so.12: No such file or directory 

@kszucskszucs removed the WIP PR is work in progress label Dec 2, 2018
@kszucs

kszucs commented Dec 2, 2018

Copy link
Copy Markdown
MemberAuthor

@wesm docker crossbow tests here,

expect the JSON integration tests to segfault, see: ARROW-3927 (indeed failed)

wesm
wesm approved these changes Dec 2, 2018

@wesmwesm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thank you! Figure we can address the test failure in a follow up PR

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@kszucs@wesm