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 1717662
Summary: | pylint fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | pylint | Assignee: | Christian Dersch <lupinix.fedora> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jpazdziora, lupinix.fedora, mattias.ellert, orion, sergio, vtrefny |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/pylint/ | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-27 09:16:50 UTC | Type: | --- |
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, 1716534, 1717661 |
Description
Miro Hrončok
2019-06-05 21:44:40 UTC
E TypeError: object of type 'Uninferable' has no len() E KeyError: (<function infer_named_tuple at 0x7fd68dd2f820>, <Call l.195 at 0x7fd68b007370>) ... See also bz1717653 This issue is blocking the Python 3.8 rebuilds. If this package won't build with 3.8, it won't be installable, along with all its dependent packages, after the side tag is merged. Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well. The fix should be pushed on the master branch and no release bump is required. 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/ This issue needs to be resolved by next week, if other rebuilds of Python 3.8 beta 1 go well. If this is unrealistic for you, let us know how much time you need. If you don't have free cycles to dedicate fixing your package, notify us and we'll try to provide some pointers. Let us know if we can push a fix directly without a pull request, in the case we happen to have one before you do. We recommend always consulting with upstream, chances are this is already fixed there. 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 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.) also breaks opencv [1] [2] [1] https://koji.fedoraproject.org/koji/taskinfo?taskID=37227102 [2] https://kojipkgs.fedoraproject.org//work/tasks/7102/37227102/root.log BUILDSTDERR: Error: DEBUG util.py:585: BUILDSTDERR: Problem: package pylint-2.3.1-2.fc31.noarch requires python3-pylint = 2.3.1-2.fc31, but none of the providers can be installed DEBUG util.py:585: BUILDSTDERR: - conflicting requests DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(astroid) >= 2.2 needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(astroid) < 3 needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(isort) >= 4.2.5 needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(isort) < 5 needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(mccabe) >= 0.6 needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(mccabe) < 0.7 needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python3.7dist(setuptools) needed by python3-pylint-2.3.1-2.fc31.noarch DEBUG util.py:585: BUILDSTDERR: - nothing provides python(abi) = 3.7 needed by python3-pylint-2.3.1-2.fc31.noarch I've removed the dependency in opencv-3.4.6-7.fc32 to make it build: https://src.fedoraproject.org/rpms/opencv/c/1c92cba903877a8a3cd7022b7e9e250fe0a5b688?branch=master Is there a plan to get the pylint build fixed soon? While I don't have build dependency on it in Fedora, I have upstream tests of rpm2swidtag that run pylint on different versions of Fedora in Travis CI and this prevents me from reenabling rawhide there. define soon. nobody is actively fixing it now. Upstream seems to have something https://github.com/PyCQA/pylint/pull/2795 Looks like this -- https://github.com/PyCQA/pylint/commit/d14440fe280a25439c76e53455b4831e04c4bb17 -- is the only patch needed to build pylint with 3.8, at least my scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=37306903 was successful. PR in pagure: https://src.fedoraproject.org/rpms/pylint/pull-request/4 Thank You! (In reply to Miro Hrončok from comment #9) > I've removed the dependency in opencv-3.4.6-7.fc32 to make it build: > https://src.fedoraproject.org/rpms/opencv/c/ > 1c92cba903877a8a3cd7022b7e9e250fe0a5b688?branch=master Now we may revert this commit ! |