[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.14] golang/xenlight: fix code generation for python 2.6


  • To: "paul@xxxxxxx" <paul@xxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Date: Tue, 21 Jul 2020 09:53:32 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Wei Liu <wl@xxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxx>
  • Delivery-date: Tue, 21 Jul 2020 09:53:53 +0000
  • Ironport-sdr: w3SWYxVnWB/ovGzHsoPG1cMgsKDfPOV/gOPPmXs+oopOUJbfw39zVKsaOinZOygIC/C2+1VRiJ XP5tUmxIonhyA7z3oCpetJNJNxfpK9uOUaJf+YVRZCg9+F3mja1kQFUPjVAnXU3+XcMgXOrK8G nE45VCSu4DsUm39YWW50EVYYU8QV1v/zz1iTDtDHrQlIymUhIoJUQDLrVUN+xTdRFRq0ezfeE7 p8JSYb1Wt3FwnDySAGEASA4WCVEdtVgxH8yJtR81iu+Jf7rJttgXycs95SqrDR5ofFg2c9UvVw 7RQ=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWXvEozBxH2vl03UmqM8eBIsELzakRfXMAgAAjhQCAAADdgIAACFcA
  • Thread-topic: [PATCH for-4.14] golang/xenlight: fix code generation for python 2.6


> On Jul 21, 2020, at 10:23 AM, Paul Durrant <xadimgnik@xxxxxxxxx> wrote:
> 
>> -----Original Message-----
>> From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>> Sent: 21 July 2020 10:21
>> To: paul@xxxxxxx; 'Nick Rosbrook' <rosbrookn@xxxxxxxxx>; 
>> xen-devel@xxxxxxxxxxxxxxxxxxxx
>> Cc: 'Nick Rosbrook' <rosbrookn@xxxxxxxxxxxx>; 'Ian Jackson' 
>> <ian.jackson@xxxxxxxxxxxxx>; 'George
>> Dunlap' <george.dunlap@xxxxxxxxxx>; 'Wei Liu' <wl@xxxxxxx>
>> Subject: Re: [PATCH for-4.14] golang/xenlight: fix code generation for 
>> python 2.6
>> 
>> On 21/07/2020 08:13, Paul Durrant wrote:
>>>> -----Original Message-----
>>>> From: Nick Rosbrook <rosbrookn@xxxxxxxxx>
>>>> Sent: 21 July 2020 00:55
>>>> To: xen-devel@xxxxxxxxxxxxxxxxxxxx
>>>> Cc: paul@xxxxxxx; Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>; George Dunlap 
>>>> <george.dunlap@xxxxxxxxxx>;
>>>> Ian Jackson <ian.jackson@xxxxxxxxxxxxx>; Wei Liu <wl@xxxxxxx>
>>>> Subject: [PATCH for-4.14] golang/xenlight: fix code generation for python 
>>>> 2.6
>>>> 
>>>> Before python 2.7, str.format() calls required that the format fields
>>>> were explicitly enumerated, e.g.:
>>>> 
>>>>  '{0} {1}'.format(foo, bar)
>>>> 
>>>>  vs.
>>>> 
>>>>  '{} {}'.format(foo, bar)
>>>> 
>>>> Currently, gengotypes.py uses the latter pattern everywhere, which means
>>>> the Go bindings do not build on python 2.6. Use the 2.6 syntax for
>>>> format() in order to support python 2.6 for now.
>>>> 
>>>> Signed-off-by: Nick Rosbrook <rosbrookn@xxxxxxxxxxxx>
>>> I'm afraid this is too late for 4.14 now. We are in hard freeze, so only 
>>> minor docs changes or
>> critical bug fixes are being taken at
>>> this point.
>> 
>> This is Reported-by me, and breaking gitlab CI on the master and 4.14
>> branches (because apparently noone else cares to look at the results...)
>> 
>> The alternative is to pull support for CentOS 6 from the 4.14 release,
>> which would best be done by a commit taking out the C6 containers from CI.
>> 
> 
> At this late stage I'd rather we did that.

We should probably add a release note saying that there’s a known intermittent 
build issue on CentOS 6.

 -George

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.