Wes McKinney created ARROW-3078:
-----------------------------------

             Summary: [Python] Docker integration tests should not contaminate 
the local Python development environment
                 Key: ARROW-3078
                 URL: https://issues.apache.org/jira/browse/ARROW-3078
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Wes McKinney
             Fix For: 0.11.0


I hit the following error when running run_docker_compose.sh hdfs_integration

{code}
_______________________ ERROR collecting pyarrow/tests/test_builder.py 
________________________
import file mismatch:
imported module 'pyarrow.tests.test_builder' has this __file__ attribute:
  /home/wesm/code/arrow/python/pyarrow/tests/test_builder.py
which is not the same as the test file we want to collect:
  /apache-arrow/arrow/python/pyarrow/tests/test_builder.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your 
test file modules
___________________ ERROR collecting pyarrow/tests/test_convert_builtin.py 
____________________
import file mismatch:
imported module 'pyarrow.tests.test_convert_builtin' has this __file__ 
attribute:
  /home/wesm/code/arrow/python/pyarrow/tests/test_convert_builtin.py
which is not the same as the test file we want to collect:
  /apache-arrow/arrow/python/pyarrow/tests/test_convert_builtin.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your 
test file modules
____________________ ERROR collecting pyarrow/tests/test_convert_pandas.py 
____________________
{code}

The Docker tests should ideally be isolated from the state of the local git 
clone



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to