See https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-asynctest/ for actual logs. This report is automated and not very verbose, but feel free to ping me for help.
Some of the test failures are fixed on reverting https://bugs.python.org/issue36996 . I am not sure if it's a CPython regression or if asynctest test's have to be changed as per the changes over patch can now act on async functions.
====================================================================== ERROR: test_both_patch_and_patch_dict_with_scope_global (test.test_mock.Test_patch_and_patch_dict_scope) [patch and patch.dict] ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asynctest-0.12.2/asynctest/mock.py", line 1240, in _patch_dict self._original = self.in_dict.copy() AttributeError: 'str' object has no attribute 'copy' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/asynctest-0.12.2/asynctest/mock.py", line 914, in patched_factory arg = patching.__enter__() File "/usr/lib64/python3.8/unittest/mock.py", line 1726, in __enter__ self._patch_dict() File "/builddir/build/BUILD/asynctest-0.12.2/asynctest/mock.py", line 1246, in _patch_dict self._original[key] = self.in_dict[key] TypeError: string indices must be integers During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.8/unittest/mock.py", line 1782, in _clear_dict in_dict.clear() AttributeError: 'str' object has no attribute 'clear' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/asynctest-0.12.2/test/test_mock.py", line 1381, in test_both_patch_and_patch_dict_with_scope_global self.assertEqual((True, True), run_coroutine(a_coroutine())) File "/builddir/build/BUILD/asynctest-0.12.2/test/utils.py", line 9, in run_coroutine return loop.run_until_complete(coroutine) File "/usr/lib64/python3.8/asyncio/base_events.py", line 608, in run_until_complete return future.result() File "/builddir/build/BUILD/asynctest-0.12.2/asynctest/mock.py", line 958, in patched_generator return (yield from patched_factory(*args, **kwargs)) File "/builddir/build/BUILD/asynctest-0.12.2/asynctest/mock.py", line 948, in patched_factory patching.__exit__(*exc_info) File "/usr/lib64/python3.8/unittest/mock.py", line 1773, in __exit__ self._unpatch_dict() File "/builddir/build/BUILD/asynctest-0.12.2/asynctest/mock.py", line 1269, in _unpatch_dict _clear_dict(self.in_dict) File "/usr/lib64/python3.8/unittest/mock.py", line 1786, in _clear_dict del in_dict[key] TypeError: 'str' object does not support item deletion ... Ran 215 tests in 0.773s FAILED (failures=27, errors=18, unexpected successes=1)
Any updates on that?
*** Bug 1736476 has been marked as a duplicate of this bug. ***
Looks like 0.13.0 builds and its testsuite passes, so I'll just bump the version.
... but rawhide is still carrying python 3.7.4? Anyway, the bug title says FTBFS in F31, which is no longer true, so I'm closing this.
rawhide is still carrying python 3.7, yes. if it builds in rawhide, it's good. if it builds with 3.7 but not 3.8, I'll figure that out and open a separate bug if needed. Thanks.
And indeed it fails: bz1739895