New issue 729: py.test fails with version conflict with python 3.4
https://bitbucket.org/pytest-dev/pytest/issue/729/pytest-fails-with-version-conflict-with

Venkatesh-Prasad Ranganath:

I am trying to build pytest with python 3.4 on Mac OSX and I encounter the 
following error when I execute "python2.7 setup.py test". Any idea what might 
be wrong?

```
running test
Traceback (most recent call last):
  File "pytest.py", line 10, in <module>
    raise SystemExit(pytest.main())
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 32, in main
    config = _prepareconfig(args, plugins)
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 85, in _prepareconfig
    pluginmanager=pluginmanager, args=args)
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 521, in __call__
    return self._docall(self.methods, kwargs)
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 528, in _docall
    firstresult=self.firstresult).execute()
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 393, in execute
    return wrapped_call(method(*args), self.execute)
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 109, in wrapped_call
    wrap_controller.send(call_outcome)
  File "/Users/temp/pytest-2.7.0/_pytest/helpconfig.py", line 28, in 
pytest_cmdline_parse
    config = outcome.get_result()
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 137, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 123, in __init__
    self.result = func()
  File "/Users/temp/pytest-2.7.0/_pytest/core.py", line 394, in execute
    res = method(*args)
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 636, in 
pytest_cmdline_parse
    self.parse(args)
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 746, in parse
    self._preparse(args)
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 715, in _preparse
    self.known_args_namespace = ns = self._parser.parse_known_args(args)
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 198, in 
parse_known_args
    optparser = self._getparser()
  File "/Users/temp/pytest-2.7.0/_pytest/config.py", line 186, in _getparser
    arggroup.add_argument(*n, **a)
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/argparse.py", 
line 1349, in add_argument
    return self._add_action(action)
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/argparse.py", 
line 1553, in _add_action
    action = super(_ArgumentGroup, self)._add_action(action)
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/argparse.py", 
line 1363, in _add_action
    self._check_conflict(action)
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/argparse.py", 
line 1502, in _check_conflict
    conflict_handler(action, confl_optionals)
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/argparse.py", 
line 1511, in _handle_conflict_error
    raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --log-format: conflicting option string: 
--log-format
```


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to