[python-bugzilla] Remove dependency on logilab

Cole Robinson crobinso at redhat.com
Thu Oct 31 14:58:25 UTC 2013


On 10/29/2013 10:04 AM, Arun Neelicattu wrote:
> Hi,
> 
> Current implementation relies on logilab.optik_ext.ManHelpFormatter for man page generation. Can we remove this dependency by copying over what we need?
> 
> The main reason for asking this is because this stalls the completion of python3 porting work. The current version of logilab-common [1] does not seem to install cleanly when using python3.
> 
> I have attached the the code derived from [2], can we use this or something similar instead of relying on logilab being present in the build environment? Furthermore, should the man page generation be re-factored out of bin/bugzilla? It seems that this is only relevant only in the context of installation and/or rpm packaging. Am I missing something obvious here?
> 
> The other option is to skip generation all together if running under python3.
> 
> Regards,
> Arun
> 
> 
> [1] https://pypi.python.org/pypi/logilab-common
> [2] http://www.logilab.org/versionedfile/10738
> 

The --generate-man option should only be used by the maintainer before a
release, to generate the man page from help output. So the only person this
should affect is me, and I can just generate the release using python2, I'll
have pylint installed anyways :) I'd prefer not to bundle a file from another
project if it isn't strictly required.

Thanks,
Cole



More information about the python-bugzilla mailing list