It looks like python3-coverage is broken in rawhide. I got this traceback when trying to build a new release of python3-nose for rawhide in koji. ====================================================================== ERROR: Failure: NameError (name '__nonzero__' is not defined) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-nose-1.3.6-1.fc23/build/tests/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/builddir/build/BUILD/python3-python-nose-1.3.6-1.fc23/build/tests/nose/loader.py", line 420, in loadTestsFromName addr.filename, addr.module) File "/builddir/build/BUILD/python3-python-nose-1.3.6-1.fc23/build/tests/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/builddir/build/BUILD/python3-python-nose-1.3.6-1.fc23/build/tests/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib64/python3.4/imp.py", line 235, in load_module return load_source(name, filename, file) File "/usr/lib64/python3.4/imp.py", line 171, in load_source module = methods.load() File "<frozen importlib._bootstrap>", line 1220, in load File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked File "<frozen importlib._bootstrap>", line 1129, in _exec File "<frozen importlib._bootstrap>", line 1471, in exec_module File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed File "/builddir/build/BUILD/python3-python-nose-1.3.6-1.fc23/build/tests/functional_tests/test_coverage_plugin.py", line 14, in <module> import coverage File "/usr/lib64/python3.4/site-packages/coverage/__init__.py", line 10, in <module> from coverage.control import Coverage, process_startup File "/usr/lib64/python3.4/site-packages/coverage/control.py", line 1138, in <module> class Plugins(object): File "/usr/lib64/python3.4/site-packages/coverage/control.py", line 1176, in Plugins __bool__ = __nonzero__ NameError: name '__nonzero__' is not defined
Filed upstream here: https://bitbucket.org/ned/coveragepy/issue/364/__nonzero__-traceback-on-python3
Upon closer inspection, it might just be that we don't need to run 2to3 on the source anymore. Successful scratch build with that: http://koji.fedoraproject.org/koji/taskinfo?taskID=9414512
And... mockchain of python-nose and python-coverage works here after removing 2to3 usage. Confirmed.
Created attachment 1010857 [details] Patch removing usage of 2to3. This gets the test suite for python-nose working again.
python-coverage-4.0-0.6.a5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/python-coverage-4.0-0.6.a5.fc22
Package python-coverage-4.0-0.6.a5.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-coverage-4.0-0.6.a5.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5644/python-coverage-4.0-0.6.a5.fc22 then log in and leave karma (feedback).
python-coverage-4.0-0.6.a5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.