Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5044

backports.tempfile not supported in python 2.6

    XMLWordPrintableJSON

Details

    Description

      lv Can you take a look?

      ==================================== ERRORS ====================================
      ______________ ERROR collecting query_test/test_insert_parquet.py ______________
      ../infra/python/env/lib/python2.6/site-packages/_pytest/python.py:611: in _importtestmodule
          mod = self.fspath.pyimport(ensuresyspath=importmode)
      ../infra/python/env/lib/python2.6/site-packages/py/_path/local.py:662: in pyimport
          __import__(modname)
      ../infra/python/env/lib/python2.6/site-packages/_pytest/assertion/rewrite.py:171: in load_module
          py.builtin.exec_(co, mod.__dict__)
      query_test/test_insert_parquet.py:26: in <module>
          from backports.tempfile import TemporaryDirectory
      E     File "/data/jenkins/workspace/impala-asf-master-exhaustive-integration/repos/Impala/infra/python/env/lib/python2.6/site-packages/backports/tempfile.py", line 26
      E       kwargs = {k: v for (k, v) in
      E                        ^
      E   SyntaxError: invalid syntax
      

      Attachments

        Activity

          People

            mikeb Michael Brown
            mikeb Michael Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: