python-django-appconf fails to build:
ERROR: test (unittest.loader._FailedTest)
ImportError: Failed to import test module: test
Traceback (most recent call last):
File "/usr/lib64/python3.8/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
ModuleNotFoundError: No module named 'test'
This is related to https://fedoraproject.org/wiki/Changes/Move_test.support_module_to_python3-test_subpackage and blocks rebuild for https://fedoraproject.org/wiki/Changes/Python3.8
I've tried to prepare a simple PR which would just add python3-test as a build require but it seems that there is a different problem. I've tried to do two scratch builds and both of them failed in the %check phase:
> BUILDSTDERR: test_signals (test.test_threadsignals.ThreadSignals) ... /var/tmp/rpm-tmp.I79Aig: line 35: 3051 User defined signal 1 coverage3 run /usr/bin/python3-django-admin test -v2 test
> BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.I79Aig (%check)
> BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.I79Aig (%check)
Build log 1: https://kojipkgs.fedoraproject.org//work/tasks/3348/36803348/build.log
Build log 2: https://kojipkgs.fedoraproject.org//work/tasks/1388/36801388/build.log
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.
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:
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>
$ koji tag-build f32-pending libreoffice-220.127.116.11-3.fc32
(This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.)
(Python 3.8 has landed in the rawhide buildroot.)
FEDORA-2019-d231cdd4fc has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d231cdd4fc
python-django-appconf-1.0.3-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d231cdd4fc
python-django-appconf-1.0.3-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.