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 1724146
Summary: | python-pyside2 fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-pyside2 | Assignee: | Richard Shaw <hobbes1069> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | hobbes1069, laurent.rineau__fedora, tuju, twohot |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-16 10:00:18 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: | 1686977 |
Description
Miro Hrončok
2019-06-26 10:50:20 UTC
Trying a build with: diff --git a/build_scripts/config.py b/build_scripts/config.py index cad4e2f..c2e1e0e 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -93,6 +93,7 @@ class Config(object): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ] self.setup_script_dir = None (The check uses classifiers to check supported versions.) Would be nice to ask upstream nicely to provide a local override for this, like --allow-unsupported-python-version. The pull request is merged. No need to rebuild until Python 3.8 is merged, correct? Correct, we'll handle the rebuilds. Ok, rawhide was updated to 5.12.4 so I'm working on updating PySide2 to match, however there is a build error but I'm working with upstream on it. Now we get: [ 26%] Built target QtCore make[1]: Leaving directory '/builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/x86_64-linux' make[2]: Entering directory '/builddir/build/INFO:generate_pyi:Generated: /builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/x86_64-linux/sources/pyside2/PySide2/QtCore.pyi Traceback (most recent call last): File "/builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/x86_64-linux/sources/pyside2/PySide2/QtCore.pyi", line 135, in <module> class QAbstractEventDispatcher(PySide2.QtCore.QObject): TypeError: 'Shiboken.ObjectType' object is not iterable Traceback (most recent call last): File "/builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/sources/pyside2/PySide2/QtCore/../support/generate_pyi.py", line 380, in <module> generate_all_pyi(outpath, options=options) File "/builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/sources/pyside2/PySide2/QtCore/../support/generate_pyi.py", line 347, in generate_all_pyi step = generate_pyi(import_name, outpath, options) File "/builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/sources/pyside2/PySide2/QtCore/../support/generate_pyi.py", line 287, in generate_pyi subprocess.check_output([sys.executable, outfilepath]) File "/usr/lib64/python3.8/subprocess.py", line 395, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib64/python3.8/subprocess.py", line 487, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/python3', '/builddir/build/BUILD/pyside-setup-everywhere-src-5.12.3/x86_64-linux/sources/pyside2/PySide2/QtCore.pyi']' returned non-zero exit status 1. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00965043-python-pyside2/ Is that the error you were talking about? No, looks different... But my error is with 5.12.4... https://bugreports.qt.io/browse/PYSIDE-1042 Ok, I can confirm while the failure is different between 5.12.3 and 5.12.4 that the build did complete on F30 w/ Python 3.7. *** Bug 1737027 has been marked as a duplicate of this bug. *** Is any pyside2 supposed to be installable on f30 already? In my system none is visible with dnf. 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 I'm back to working on this... Is the COPR still available for test builds? Ok, I tried building but ran into the following in root.log: DEBUG util.py:585: BUILDSTDERR: Error: DEBUG util.py:585: BUILDSTDERR: Problem 1: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-sphinx-1:2.1.2-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinx-1:2.1.2-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 2: package qt5-qtwebengine-devel-5.12.4-8.fc31.x86_64 requires libQt5WebEngineWidgets.so.5()(64bit), but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package qt5-qtwebengine-devel-5.12.4-8.fc31.x86_64 requires libQt5WebEngineCore.so.5()(64bit), but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package qt5-qtwebengine-devel-5.12.4-8.fc31.x86_64 requires libQt5WebEngine.so.5()(64bit), but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package qt5-qtwebengine-devel-5.12.4-8.fc31.x86_64 requires qt5-qtwebengine(x86-64) = 5.12.4-8.fc31, but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides libre2.so.0()(64bit) needed by qt5-qtwebengine-5.12.4-8.fc31.x86_64 DEBUG util.py:585: BUILDSTDERR: Problem 3: package cups-devel-1:2.2.11-4.fc31.x86_64 requires gnutls-devel, but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package gnutls-devel-3.6.9-1.fc31.x86_64 requires libgnutls-dane.so.0()(64bit), but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package gnutls-devel-3.6.9-1.fc31.x86_64 requires gnutls-dane(x86-64) = 3.6.9-1.fc31, but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package qt5-qtbase-private-devel-5.12.4-6.fc31.x86_64 requires cups-devel, but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - package gnutls-dane-3.6.9-1.fc31.x86_64 requires libunbound.so.8()(64bit), but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides libpython3.7m.so.1.0()(64bit) needed by unbound-libs-1.8.3-6.fc31.x86_64 <SIGH> It looks like there is a long chain of packages that still need to be rebuilt before this one can be. I tried building sphinx but... DEBUG util.py:585: BUILDSTDERR: Error: DEBUG util.py:585: BUILDSTDERR: Problem 1: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-babel-2.7.0-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-babel-2.7.0-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 2: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-docutils-0.15.2-1.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 3: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-html5lib-1:1.0.1-4.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) >= 1.9 needed by python3-html5lib-1:1.0.1-4.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 4: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-imagesize-1.0.0-6.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 5: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-jinja2-2.10.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 6: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) needed by python3-packaging-19.0-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-packaging-19.0-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pyparsing) >= 2.0.2 needed by python3-packaging-19.0-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 7: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-pygments-2.4.2-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-pygments-2.4.2-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 8: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) >= 1.10 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(attrs) >= 17.4 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pluggy) >= 0.12 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pluggy) < 1 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(py) >= 1.5 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: Problem 9: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-requests-2.22.0-3.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(chardet) >= 3.0.2 needed by python3-requests-2.22.0-3.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(chardet) < 3.1 needed by python3-requests-2.22.0-3.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 10: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-snowballstemmer-1.9.0-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 11: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinx-theme-alabaster-0.7.12-5.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 12: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-applehelp-1.0.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 13: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-devhelp-1.0.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 14: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-htmlhelp-1.0.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 15: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-jsmath-1.0.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 16: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-qthelp-1.0.2-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 17: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-serializinghtml-1.1.3-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 18: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinxcontrib-websupport-1.1.2-2.fc31.noarch DEBUG util.py:587: (try to add '--skip-broken' to skip uninstallable packages) Deeper down the rabbit hole... babel: DEBUG util.py:585: BUILDSTDERR: Error: DEBUG util.py:585: BUILDSTDERR: Problem 1: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) needed by python3-freezegun-0.3.12-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-freezegun-0.3.12-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 2: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) >= 1.10 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(attrs) >= 17.4 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pluggy) >= 0.12 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pluggy) < 1 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(py) >= 1.5 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: Problem 3: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-pytz-2019.2-1.fc31.noarch DEBUG util.py:585: BUILDSTDERR: Problem 4: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-sphinx-1:2.1.2-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sphinx-1:2.1.2-2.fc31.noarch Ok, tried freezegun... DEBUG util.py:585: BUILDSTDERR: Error: DEBUG util.py:585: BUILDSTDERR: Problem 1: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-dateutil-1:2.8.0-1.fc30.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) >= 1.5 needed by python3-dateutil-1:2.8.0-1.fc30.noarch DEBUG util.py:585: BUILDSTDERR: Problem 2: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) >= 1.10 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(attrs) >= 17.4 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pluggy) >= 0.12 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(pluggy) < 1 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(py) >= 1.5 needed by python3-pytest-4.6.5-1.fc32.noarch DEBUG util.py:585: BUILDSTDERR: Problem 3: conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(six) needed by python3-sure-1.4.11-6.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(mock) needed by python3-sure-1.4.11-6.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-sure-1.4.11-6.fc31.noarch I think I'm giving up for now... Is this copr or Koji side tag? The Koji side tag is far from ready, https://github.com/hroncok/rpm-list-builder/blob/python38/python38.yaml <- I'm building python-decorator. For Copr, let me know if I need to update something. I'm realizing that now :) So this won't get fixed for a while... I did manage to get python-sure and python-atomicwrites built... Any other package where it failed but the bump-commit was pushed? So I can mark them and don't bump-commit again. pytest (optional BRs disabled) freezegun babel sphinx Noted. Please, let me finish the bootsrap sequence, it is easier if one person is doing it. I'll let you know. sorry if my comment before was confusing. Also, please don't remove any still dependent python 2 subpackages in the process, it can deadlock the rebuild later: https://src.fedoraproject.org/rpms/babel/c/9b56e7d12f3184948795e61a994b0c9c66b15460?branch=master (I will revert the with_python2 0 thing). pytest, dateutil, babel, sphinx are built. happy hacking. Thanks! Sorry didn't mean to step on your toes but I took the instructions to use the side tag as a "call to action" :) Whoohoo! All but the ARM builds have completed. I'll wait until they complete before closing the bug but so far so good! It built. Thanks. |