[virt-tools-list] [PATCH virt-manager 00/14] Various changes
Cole Robinson
crobinso at redhat.com
Tue Jan 8 15:56:11 UTC 2019
On 01/08/2019 10:37 AM, Marc Hartmayer wrote:
> On Tue, Jan 08, 2019 at 12:17 AM +0100, Cole Robinson <crobinso at redhat.com> wrote:
>> On 01/07/2019 03:44 PM, Cole Robinson wrote:
>>> On 12/18/2018 08:44 AM, Marc Hartmayer wrote:
>>>> Marc Hartmayer (14):
>>>> xmlapi: refactor node_is_text function
>>>> test_urls: simplify the sorting
>>>> cli: register a parser class only once
>>>> cli: add register classmethod to each parser
>>>> cli: rename ParseMemdev to ParserMemdev
>>>> cli: use Python3 conventions: super()
>>>> cli: don't use monkey patching
>>>> cli: refactor noset_cb
>>>> netlist: use NamedTuple for storing a network device
>>>> domain: os: use decorator syntax for declaring properties
>>>> domain: convert _change_boot_order to a instance method
>>>> domain: remove indirection
>>>> domain: use else/elif since the conditions are mutually exclusive
>>>> domain: add docstring for _convert_old_boot_order
>>>>
>>
>> Looks like some of the cli bits upset ci. Maybe some newer python3 dep
>> slipped in there:
>>
>> https://ci.centos.org/job/virt-manager-check/systems=libvirt-debian-9/309/console
>>
>> I don't have time to check now but I will look at it tomorrow
>
> Hmmm… It seems that with Python < 3.6 it’s not possible for a metaclass
> to call a method in the defined class before it’s done with its
> __new__. See https://stackoverflow.com/a/28605694 for more information
> about that topic.
>
> As a workaround we can use hard coded values here instead of
> super().__init_subclass__(**kwargs).
>
> e.g.
>
> VirtCLIParser.__init_class__(**kwargs) instead of
> super().__init_class__(**kwargs) for the ParserHostdev. I can post a v2
> of this patch if you want to.
>
Patch will help, thanks. I was just setting up a debian host to test...
- Cole
More information about the virt-tools-list
mailing list