Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1739895
Summary: | python-asynctest fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-asynctest | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dominik, fedora, tir.karthi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-asynctest-0.13.0-3.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-12-03 10:34:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1750908, 1750909, 1686977, 1773371 |
Description
Miro Hrončok
2019-08-11 20:12:07 UTC
Upstream report : https://github.com/Martiusweb/asynctest/issues/132 . Seems someone is working on a patch as I can see from GitHub UI referencing the issue in commits. Thanks, I found that one, too. However, I'm getting this traceback with the two patches (50225b83c0c5803b06584b173a5df837361cad3b and b6eb76626dd3eb94b43e582fdf66c3d25560f8e6) applied: + python3 -m unittest test Traceback (most recent call last): File "/usr/lib64/python3.8/runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib64/python3.8/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib64/python3.8/unittest/__main__.py", line 18, in <module> main(module=None) File "/usr/lib64/python3.8/unittest/main.py", line 100, in __init__ self.parseArgs(argv) File "/usr/lib64/python3.8/unittest/main.py", line 147, in parseArgs self.createTests() File "/usr/lib64/python3.8/unittest/main.py", line 158, in createTests self.test = self.testLoader.loadTestsFromNames(self.testNames, File "/usr/lib64/python3.8/unittest/loader.py", line 220, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib64/python3.8/unittest/loader.py", line 220, in <listcomp> suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib64/python3.8/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/build/BUILD/asynctest-0.13.0/test/__init__.py", line 3, in <module> from .test_mock import * File "/builddir/build/BUILD/asynctest-0.13.0/test/test_mock.py", line 499, in <module> class Test_CoroutineMock(unittest.TestCase, _Test_called_coroutine, TypeError: Cannot create a consistent method resolution order (MRO) for bases TestCase, _Test_called_coroutine, _Test_Spec_Spec_Set_Returns_Coroutine_Mock error: Bad exit status from /var/tmp/rpm-tmp.XUAggv (%check) Bad exit status from /var/tmp/rpm-tmp.XUAggv (%check) This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. Python 3.8 will happen in Fedora 32, changing back to rawhide. The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag. If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead: on branch master: $ fedpkg build --target=f32-python To wait for a build to show up in the side tag, do: $ koji wait-repo f32-python --build=<nvr> Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32. An updated mock config is posted at: http://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away. Thanks. Let us know if you need up to date info, or if you have any questions. PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual: on branch f31: $ fedpkg build The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged: $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32 If your built already started in f32-python, after it is finished, please tag it to rawhide with: $ koji tag-build f32-pending <nvr> For example: $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32 Thanks! (This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.) (Python 3.8 has landed in the rawhide buildroot.) Dominik, any news on a resolution or a workaround? Do we keep the package or not? it fails to install. Let's keep it for now. I'll ping upstream (unless you happen to have a patch for the failure). There is a number of issues with asynctest under python 3.8, the largest of which is the fact that a subset of asynctest was merged[1] into the standard library. This is way beyond my python knowledge, so I'm going to defer to upstream on this unless someone else has a better idea. [1] https://github.com/python/cpython/pull/9296 OK, I made it build by skipping the failing tests, but the code is basically broken under python 3.8 according to upstream: https://github.com/Martiusweb/asynctest/pull/134#issuecomment-511527234 . |