[ovirt-devel] vdsm to require newer pyflakes on el6
Sandro Bonazzola
sbonazzo at redhat.com
Wed Jan 7 07:05:33 UTC 2015
Il 06/01/2015 22:42, Dan Kenigsberg ha scritto:
> As mentioned on http://gerrit.ovirt.org/#/c/36434/ , vdsm's `make
> pyflakes` has been broken so that it gives a false sense of security, as
> it tests very few modules.
>
> During this period, we've acquired code that triggers
> pyflakes-0.4.0-2.el6.noarch.rpm
> of epel6.
Please open an EPEL bug asking for an update of pyflakes on epel6.
>
> ./vdsm/sos/vdsm.py.in:25: redefinition of unused 'RedHatPlugin' from line 22
> ./vdsm/sos/vdsm.py.in:25: redefinition of unused 'Plugin' from line 22
> ./vdsm/virt/guestagent.py:144: redefinition of function 'guestDiskMapping' from line 140
> vdsm/get-conf-item:11: redefinition of unused 'config' from line 8
> vdsm/set-conf-item:13: redefinition of unused 'config' from line 10
> make: *** [pyflakes] Error 1
>
> I suggest requiring Vdsm developers to use a newer version of pyflakes, even on
> el6, such as the one provided by
> http://danken.fedorapeople.org/pyflakes-0.8.1-3.el6.noarch.rpm
> as the alternative is to add silly code in order to quiesce an ancient pyflakes.
>
> This would server as a stop-gap until we live up to our plan of including pep8
> and pyflakes as git submodules, so that all vdsm developers use the same
> verification tool on all platforms.
>
> Dan.
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
More information about the Devel
mailing list