Page MenuHomePhabricator

`flake8 --doctest` command on jenkins pywikibot-core-tox-docker raised an exception
Closed, ResolvedPublic


flake8 --doctest command in pywikibot jenkins raised an exception on . The jenkins log is available at

Here's the flake8 exception on the job:

07:43:32 flake8 runtests: commands[1] | flake8 --doctests
07:43:32   /src$ /src/.tox/flake8/bin/flake8 --doctests 
07:43:55 Traceback (most recent call last):
07:43:55   File "/src/.tox/flake8/bin/flake8", line 11, in <module>
07:43:55     sys.exit(main())
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/flake8/main/", line 16, in main
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/flake8/main/", line 396, in run
07:43:55     self._run(argv)
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/flake8/main/", line 384, in _run
07:43:55     self.run_checks()
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/flake8/main/", line 310, in run_checks
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/", line 32, in run
07:43:55     orig_run(self)
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/flake8/", line 319, in run
07:43:55     self.run_parallel()
07:43:55   File "/src/.tox/flake8/local/lib/python2.7/site-packages/flake8/", line 288, in run_parallel
07:43:55     for ret in pool_map:
07:43:55   File "/usr/lib/python2.7/multiprocessing/", line 287, in <genexpr>
07:43:55     return (item for chunk in result for item in chunk)
07:43:55   File "/usr/lib/python2.7/multiprocessing/", line 659, in next
07:43:55     raise value
07:43:55 TypeError: __init__() got an unexpected keyword argument 'code'
07:43:55 ERROR: InvocationError: '/src/.tox/flake8/bin/flake8 --doctests'

Event Timeline

Change 401908 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] Remove pydocstyle version restriction

Change 401908 merged by jenkins-bot:
[pywikibot/core@master] Remove pydocstyle version restriction