Attempting to build pki-core on Fedora 27 failed due to the following 'pylint' errors:
*** Module pki.authority E:365,14: Instance of 'ValueError' has no 'message' member (no-member)
probably an easy fix of changing print(e.message) to print(e)
*** Module pki.server E:861,69: Module 're' has no 'MULTILINE' member (no-member)
*** Module pki.server.deployment.pkihelper I:1032, 0: Locally disabling broad-except (W0703) (locally-disabled) I:2976, 0: Locally disabling broad-except (W0703) (locally-disabled) I:2997, 0: Locally disabling broad-except (W0703) (locally-disabled) E:2724,57: Module 're' has no 'MULTILINE' member (no-member)
google appears to show that this functionality may be broken in Python 3.6 https://github.com/PyCQA/pylint/issues/1282 SInce I do not know exactly how this should be fixed, I stopped looking at the other errors
*** Module pki.server.cli.kra E: 27, 0: Unable to import 'ldif' (import-error) E:381,30: Instance of 'GetoptError' has no 'message' member (no-member)
*** Module pki.server.cli.subsystem E:792,15: Module 'string' has no 'join' member (no-member) E:815,22: Module 'string' has no 'join' member (no-member)
*** Module pki.server.cli.tps E: 27, 0: Unable to import 'ldif' (import-error)
There is a scratch build that shows everyting:
https://koji.fedoraproject.org/koji/taskinfo?taskID=18690599
Metadata Update from @mharmsen: - Custom field component adjusted to General - Custom field feature adjusted to '' - Custom field origin adjusted to Community - Custom field proposedmilestone adjusted to '' - Custom field proposedpriority adjusted to '' - Custom field reviewer adjusted to '' - Custom field type adjusted to defect - Custom field version adjusted to '' - Issue priority set to: blocker - Issue set to the milestone: 10.4.1
Some changes: 269f7d62ab3c8d13f7746fccb69cb0b305c46fb9 671157f430eb6fa46ad2132758e3d06f602724f4
The following fixes were added by Christian Heimes:
commit 34fe01c204711f0ef02a43a9aba1bf5141465af9 Author: Christian Heimes <cheimes@redhat.com> Date: Fri Mar 31 10:57:06 2017 -0600 Fix for pylint when using Python 3.6 Added 'pylint: disable=no-member' whenever module 're' attempts to reference its 'MULTILINE' member. commit ed5886687164a5aea00602303fbc0581602da86f Author: Christian Heimes <cheimes@redhat.com> Date: Fri Mar 31 09:52:09 2017 -0600 Added python3-pyldap build dependency commit 3e80b04c1de37568d304b2d76f324c026830fd11 Author: Christian Heimes <cheimes@redhat.com> Date: Fri Mar 31 09:48:07 2017 -0600 Misc pylint, flake8 and tox fixes
Metadata Update from @mharmsen: - Custom field fixedinversion adjusted to pki-core-10.4.1-1.fc27 - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2747
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Login to comment on this ticket.