From 3abfaa5754197823d2d7a1e841e3929b035e7769 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 12 Nov 2018 10:16:55 +0100 Subject: [PATCH] Require pylint 2.1.1-2 pylint 2.1.1-2 contains a backport of pylint's fix for RHBZ#1648299: is_subclass_of fails with AttributeError: 'NoneType' object has no attribute 'name' pylint 2.1.1-2 is in @freeipa/freeipa-master COPR. See: https://github.com/PyCQA/pylint/pull/2429 See: https://bugzilla.redhat.com/show_bug.cgi?id=1648299 Signed-off-by: Christian Heimes Reviewed-By: Alexander Bokovoy --- freeipa.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index c42a78941..a391d08ba 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -215,7 +215,12 @@ BuildRequires: python3-polib BuildRequires: python3-pyasn1 BuildRequires: python3-pyasn1-modules BuildRequires: python3-pycodestyle +%if 0%{?fedora} >= 29 +# https://bugzilla.redhat.com/show_bug.cgi?id=1648299 +BuildRequires: python3-pylint >= 2.1.1-2 +%else BuildRequires: python3-pylint >= 1.7 +%endif BuildRequires: python3-pytest-multihost BuildRequires: python3-pytest-sourceorder BuildRequires: python3-qrcode-core >= 5.0.0