pylint entry in UPDATING?

chukharev at chukharev at
Mon May 17 12:54:49 UTC 2010


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/ 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 <module>
     pkg_resources.run_script('pylint==0.20.0', 'pylint')
   File "build/bdist.freebsd-8.0-STABLE-i386/egg/", line 489, in run_script
   File "build/bdist.freebsd-8.0-STABLE-i386/egg/", 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 <module>
   File "/usr/local/lib/python2.6/site-packages/pylint-0.20.0-py2.6.egg/pylint/", line 861, in __init__
   File "/usr/local/lib/python2.6/site-packages/logilab_common-0.50.1-py2.6.egg/logilab/common/", 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 at vova-vaio:/usr/obj/usr/src/sys/VOVA  i386
  $ pkg_info -O devel/pylint
The following installed package(s) has devel/pylint origin:

Vladimir Chukharev

More information about the freebsd-ports mailing list