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

Re: [Libguestfs] [PATCH nbdkit] python: Drop support for Python 2.



On 9/11/19 2:42 PM, Richard W.M. Jones wrote:
> Starting with nbdkit 1.16, Python >= 3.3 will be required.
> 
> Python 2 reaches end of life on 2020-01-01:
> https://python3statement.org/
> https://pythonclock.org/
> 
> Debian oldoldstable and RHEL 7 have Python 3.4 and 3.6 respectively,
> so it seems pointless to try to support Python < 3.3 which lacked
> support for PyUnicode_AsUTF8.
> ---
>  README                  | 13 +++++++------
>  configure.ac            | 36 ++++++++++++++----------------------
>  plugins/python/python.c | 31 +------------------------------
>  3 files changed, 22 insertions(+), 58 deletions(-)

Progress!

Reminds me that I should revisit the patches I originally wrote around
Apr 2018 to bump the python plugin to v2 API (but at the time, I had not
tested it on python 3, because I was still on a machine using python 2).
 Those patches may be easier to revive now that my main dev machine is
on a newer Fedora version where python3 is now default, and where I
don't have to worry about testing the patches for python2 support.

ACK.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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