Péter Gergő Barna created ATLAS-1515:
----------------------------------------

             Summary: Build (tests) fail with python3, only works with python2
                 Key: ATLAS-1515
                 URL: https://issues.apache.org/jira/browse/ATLAS-1515
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.6-incubating, 0.7-incubating
            Reporter: Péter Gergő Barna
            Priority: Trivial


Build (tests) fail with python3, only works with python2
Only atlas-distro module is affected.

{noformat}
[INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ atlas-distro ---
Traceback (most recent call last):
  File "unitTests.py", line 118, in <module>
    main()
  File "unitTests.py", line 87, in main
    suite = all_tests_suite()
  File "unitTests.py", line 78, in all_tests_suite
    suite = unittest.TestLoader().loadTestsFromNames(tests_list)
  File "/Users/pbarna/anaconda3/lib/python3.5/unittest/loader.py", line 219, in 
loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/Users/pbarna/anaconda3/lib/python3.5/unittest/loader.py", line 219, in 
<listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/Users/pbarna/anaconda3/lib/python3.5/unittest/loader.py", line 153, in 
loadTestsFromName
    module = __import__(module_name)
  File 
"/Users/pbarna/Desktop/apache-source/incubator-atlas/distro/src/test/python/scripts/TestMetadata.py",
 line 26, in <module>
    import atlas_config as mc
  File 
"/Users/pbarna/Desktop/apache-source/incubator-atlas/distro/src/bin/atlas_config.py",
 line 135
    except OSError, e:
                  ^
SyntaxError: invalid syntax
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to