Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3078

[Python] Docker integration tests should not contaminate the local Python development environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Python
    • None

    Description

      I hit the following error when running run_docker_compose.sh hdfs_integration

      _______________________ 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 ____________________
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: