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

Re: [Xen-users] pygrub is broken in Python 3.8


  • To: Pry Mar <pryorm09@xxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Sat, 14 Mar 2020 11:33:15 +0000
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@xxxxxxxxxx; spf=Pass smtp.mailfrom=anthony.perard@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 14 Mar 2020 11:35:00 +0000
  • Ironport-sdr: eNm+ted+ktqiKZ7FGzDZI7/EK5Dy6QFQMW0yEqUldbAg8sl7m6kTjLad6M48oZO/oe/3h9+gq1 NDHpP2Q/SDOXD67Apkl7dTwk8BvG3o2NNot7d44Fm6Mmv7f2+YqtMBzzDUBoxvsi/vp84W+2pq KM9AybCBblyozbEyUUZueo5RWrcElyjk6x8msI6kcMfTyjulr9fg5JWQgt4k8bpjB1HV/tkqvA AW5yTHI4TDr79tD6ikDs9L8BsLUZi97utrmWYrhxInwpYizaz7Tfs9zYSYh1Wh9iQML06AkXwD Y4Y=
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

On Fri, Mar 13, 2020 at 01:52:32PM -0700, Pry Mar wrote:
> Felipe,
> 
> thanks for posting your analysis and the link to the python bug.
> The bug came up recently for me on Focal 20.04 with xen-4.12.2 when
> Ubuntu went to python3.8.
> 
> I've come up with an attached patch that works in python3.8 on Ubuntu 20.04.
> 
> patch is also pasted here:
> https://paste.debian.net/plain/1134847
> 
> now object imports work in pygrub:
> import xen.lowlevel.xc
> 
> cheers,
> PryMar56
> ##xen-packaging on Freenode IRC

> From 0d2791b007436f83cc8cb922acb1849a3ff31f3a Mon Sep 17 00:00:00 2001
> From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Date: Fri, 15 Nov 2019 16:15:32 +0000
> Subject: [PATCH] lowlevel/xc: Fix function calls for python 3.8
> 
> https://bugs.python.org/msg348804
> 
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

I am NOT the author of this patch.

Please change the author, and fix the signed-off-by tag. Thank you.

Pry Mar, may I suggest that you read this wiki page
https://wiki.xenproject.org/wiki/Submitting_Xen_Project_Patches
and then fix the patch and send it upstream? The community will
appreciate.

-- 
Anthony PERARD

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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