From owner-freebsd-ports@FreeBSD.ORG Mon May 17 12:54:49 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86FF9106566C for ; Mon, 17 May 2010 12:54:49 +0000 (UTC) (envelope-from chukharev@mail.ru) Received: from mx34.mail.ru (mx34.mail.ru [94.100.176.48]) by mx1.freebsd.org (Postfix) with ESMTP id 4216A8FC18 for ; Mon, 17 May 2010 12:54:49 +0000 (UTC) Received: from [130.230.40.229] (port=31409 helo=vova-vaio) by mx34.mail.ru with asmtp id 1ODzqJ-0000bz-00 for freebsd-ports@freebsd.org; Mon, 17 May 2010 16:54:47 +0400 Content-Type: text/plain; charset=koi8-r; format=flowed; delsp=yes To: "freebsd-ports@freebsd.org" Date: Mon, 17 May 2010 15:54:46 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: chukharev@mail.ru Message-ID: User-Agent: Opera Mail/10.10 (FreeBSD) X-Spam: Not detected X-Mras: Ok Subject: pylint entry in UPDATING? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 12:54:49 -0000 Hi, It seems than the new version of devel/pylint port is not compatible with the old config files in user's home. At least I was getting an error as in the following. $ pylint --version /usr/local/lib/python2.6/site-packages/logilab_common-0.50.1-py2.6.egg/logilab/common/configuration.py:716: DeprecationWarning: "_config_parser" attribute has been renamed to "cfgfile_parser" warn(msg, DeprecationWarning) Traceback (most recent call last): File "/usr/local/bin/pylint", line 5, in pkg_resources.run_script('pylint==0.20.0', 'pylint') File "build/bdist.freebsd-8.0-STABLE-i386/egg/pkg_resources.py", line 489, in run_script File "build/bdist.freebsd-8.0-STABLE-i386/egg/pkg_resources.py", line 1207, in run_script File "/usr/local/lib/python2.6/site-packages/pylint-0.20.0-py2.6.egg/EGG-INFO/scripts/pylint", line 4, in lint.Run(sys.argv[1:]) File "/usr/local/lib/python2.6/site-packages/pylint-0.20.0-py2.6.egg/pylint/lint.py", line 861, in __init__ linter.load_config_file() File "/usr/local/lib/python2.6/site-packages/logilab_common-0.50.1-py2.6.egg/logilab/common/configuration.py", line 637, in load_config_file provider.set_option(option, value, optdict=optdict) TypeError: set_option() got an unexpected keyword argument 'optdict' Everything work since renaming ~/.pylintrc and ~/.pylint.d. I think this is good to mention in ports/UPDATING. $ uname -a FreeBSD vova-vaio 8.0-STABLE FreeBSD 8.0-STABLE #2: Tue Apr 27 10:16:00 EEST 2010 root@vova-vaio:/usr/obj/usr/src/sys/VOVA i386 $ pkg_info -O devel/pylint The following installed package(s) has devel/pylint origin: pylint-py26-0.20.0 Vladimir Chukharev