Learn more about these different git repos.
Other Git URLs
Example: https://jenkins-fedora-infra.apps.ci.centos.org/job/koji/679/ (from PR #1411)
====================================================================== ERROR: Failure: SyntaxError (invalid syntax (mock.py, line 107)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/jenkins/workspace/koji/label/EL6/kojienv/lib/python2.6/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/srv/jenkins/workspace/koji/label/EL6/kojienv/lib/python2.6/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/srv/jenkins/workspace/koji/label/EL6/kojienv/lib/python2.6/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/srv/jenkins/workspace/koji/label/EL6/tests/test_cli/test_move_build.py", line 2, in <module> import mock File "/srv/jenkins/workspace/koji/label/EL6/kojienv/lib/python2.6/site-packages/mock/__init__.py", line 2, in <module> import mock.mock as _mock File "/srv/jenkins/workspace/koji/label/EL6/kojienv/lib/python2.6/site-packages/mock/mock.py", line 107 _builtins = {name for name in dir(builtins) if not name.startswith('_')} ^ SyntaxError: invalid syntax
It looks like we are installing mock from pypy. Is the el6 python2-mock not sufficient?
Metadata Update from @mikem: - Issue assigned to tkopecek
No, el6 mock is not enough. I've added limit for mock version in #1414
Commit 7286877 fixes this issue
Commit ed7e665 fixes this issue
Metadata Update from @julian8628: - Issue set to the milestone: 1.18
Login to comment on this ticket.