python-daemon fails to build with Python 3.8.0b3. The failure happens with Python 2 tests. + /usr/bin/python2 -m unittest discover .........................................................................................................EEEEE.................................................................................s....................s............................................................................................................................................... ====================================================================== ERROR: test_returns_expected_result (test_version.get_changelog_path_TestCase) test_version.get_changelog_path_TestCase.test_returns_expected_result (simple) ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "test_version.py", line 1149, in test_returns_expected_result result = version.get_changelog_path(**args) File "version.py", line 564, in get_changelog_path build_py_command = distutils.command.build_py.build_py(distribution) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 163, in __init__ _Command.__init__(self, dist) File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__ raise TypeError, "dist must be a Distribution instance" TypeError: dist must be a Distribution instance ====================================================================== ERROR: test_returns_expected_result (test_version.get_changelog_path_TestCase) test_version.get_changelog_path_TestCase.test_returns_expected_result (unusual script name) ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "test_version.py", line 1149, in test_returns_expected_result result = version.get_changelog_path(**args) File "version.py", line 564, in get_changelog_path build_py_command = distutils.command.build_py.build_py(distribution) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 163, in __init__ _Command.__init__(self, dist) File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__ raise TypeError, "dist must be a Distribution instance" TypeError: dist must be a Distribution instance ====================================================================== ERROR: test_returns_expected_result (test_version.get_changelog_path_TestCase) test_version.get_changelog_path_TestCase.test_returns_expected_result (relative script path) ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "test_version.py", line 1149, in test_returns_expected_result result = version.get_changelog_path(**args) File "version.py", line 564, in get_changelog_path build_py_command = distutils.command.build_py.build_py(distribution) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 163, in __init__ _Command.__init__(self, dist) File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__ raise TypeError, "dist must be a Distribution instance" TypeError: dist must be a Distribution instance ====================================================================== ERROR: test_returns_expected_result (test_version.get_changelog_path_TestCase) test_version.get_changelog_path_TestCase.test_returns_expected_result (absolute script path) ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "test_version.py", line 1149, in test_returns_expected_result result = version.get_changelog_path(**args) File "version.py", line 564, in get_changelog_path build_py_command = distutils.command.build_py.build_py(distribution) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 163, in __init__ _Command.__init__(self, dist) File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__ raise TypeError, "dist must be a Distribution instance" TypeError: dist must be a Distribution instance ====================================================================== ERROR: test_returns_expected_result (test_version.get_changelog_path_TestCase) test_version.get_changelog_path_TestCase.test_returns_expected_result (specify filename) ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "test_version.py", line 1149, in test_returns_expected_result result = version.get_changelog_path(**args) File "version.py", line 564, in get_changelog_path build_py_command = distutils.command.build_py.build_py(distribution) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 163, in __init__ _Command.__init__(self, dist) File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__ raise TypeError, "dist must be a Distribution instance" TypeError: dist must be a Distribution instance ---------------------------------------------------------------------- Ran 356 tests in 2.400s FAILED (errors=5, skipped=2) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00989686-python-daemon/ For all our attempts to build python-daemon with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-daemon/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.
A rawhide scratchbuild to see if this happens in Fedora 31 as well: https://koji.fedoraproject.org/koji/taskinfo?taskID=36703980
We'd like to start the Python 3.8 rebuild right after branching and this package is important, because it blocks python3-moksha-hub, python3-fedmsg...
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.
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 following packages are impacted by the failure: $ repoquery --repo=rawhide{,-source} --whatrequires python3-daemon copr-backend-0:1.124-1.fc31.noarch copr-backend-0:1.124-1.fc31.src hddfancontrol-0:1.2.10-2.fc31.noarch hddfancontrol-0:1.2.10-2.fc31.src nodepool-0:3.0.0-5.fc31.noarch nodepool-0:3.0.0-5.fc31.src python-ansible-runner-0:1.3.4-2.fc31.src python-moksha-hub-0:1.5.17-4.fc31.src python3-ansible-runner-0:1.3.4-2.fc31.noarch python3-gear-0:0.14.0-1.fc32.noarch python3-moksha-hub-0:1.5.17-4.fc31.noarch So CCing all the impacted maintainers.
Reported upstream at: https://pagure.io/python-daemon/issue/41
Okido, I've got it to build successfully on the regular rawhide (via a scratch build) as well as in the f32-python side tag (regular build). I guess we can close this one :)
Thank You!