From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by sourceware.org (Postfix) with ESMTPS id CCD6F38708A3 for ; Fri, 18 Sep 2020 19:20:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CCD6F38708A3 Received: by mail-il1-x142.google.com with SMTP id f82so7353286ilh.8 for ; Fri, 18 Sep 2020 12:20:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=9u/g/e52aFJcACinNiLHbw6RFkHrFRD4XfAVCgSCsEY=; b=EhP/dLwM2aBCtnCHD8tZYNGklSNIs+1AjrLfAKt5EwamcEOispj0RpF0wSD6DeZGIp pf2aPZt4C7vCoDMPsK/X84IV8lq64MpIWMDy0vpKqzDRTla0vut84B+XjrbxY7O3AL56 QfnJhWyOAtznfK7JyW869NMhPDEw2ASp28CH5fwJ4qvjg4doz4H6ZAYiejPWLATQRc/N vcD1EwIYek1dplignUc1g7B9X32GJWM7YEOWbaQwnJ480u0Ea+qxIEWI/Hmn7fhO/i8y q/DwH4FXW/2Hxk+oqDvQ3bUVmd18lFV48afC0Bcmv1juAxaFYlzPr2xZqUDlFx7mszyE 5OcA== X-Gm-Message-State: AOAM5332ccNVcO2fzqdQnip7VmdIb7UEo6BsRJFsKw73giTlA5tQh42C oWtQdBDdQVOQMx6yS/bZebM9LBQAFRtGARDyvy9ykp+UaWTOtw== X-Google-Smtp-Source: ABdhPJwUxM2Qe7gAbQ4dmpcV7AN/NISDtEdmFaawW9UfNdYmBJd94D58pHWBVKV1/lFsiqCWhdvPUpBoXfPSdlddrgc= X-Received: by 2002:a92:2411:: with SMTP id k17mr25565074ilk.55.1600456836165; Fri, 18 Sep 2020 12:20:36 -0700 (PDT) MIME-Version: 1.0 References: <87sgbiahur.fsf@tromey.com> <69983932-3cc8-a43e-f96a-98730e20ef59@redhat.com> <9cc41863810d45108985c68f57a3013c@x13pwdurdag1107.AMER.DELL.COM> <87pn6j58j9.fsf@tromey.com> In-Reply-To: <87pn6j58j9.fsf@tromey.com> Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Fri, 18 Sep 2020 15:20:14 -0400 Message-ID: Subject: Re: Proposal to remove Python 2 support To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 19:20:38 -0000 On Fri, Sep 18, 2020 at 12:56 PM Tom Tromey wrote: > > Pedro> Dropping Python 2 support is going to be an issue for us, given > Pedro> we will still have a couple years more of DTS releases for RHEL > Pedro> 7, which is Python 2.7 based. > > >> RHEL 7 comes with Python 3.6 as well. > > I think the issue must be that gdb is built against Python 2 on RHEL 7. > > Does anyone know if there are other distros with LTS releases that do > this? I guess it makes sense to hold off for those; at least major > distros anyway. Ubuntu 16.04 is LTS, and it is also ESM. ESM is Extended Security Maintenance. The ESM means it will probably be around for 2 or 3 years beyond the 5 years provided by LTS (i.e., 2023 or so). It looks like Ubuntu 16.04 provides both Python 2.7 and 3.5. https://packages.ubuntu.com/xenial/python/. It looks like Ubuntu 16's GDB is built against Python 3.5. https://packages.ubuntu.com/xenial/devel/gdb. Jeff